Skip to content

Commit

Permalink
Rename gmetric descriptions.
Browse files Browse the repository at this point in the history
  • Loading branch information
dchoi-viant committed Dec 7, 2023
1 parent 185c315 commit 94cbc38
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions service/tfmodel/batcher/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@ type ServiceMeta struct {
func NewServiceMeta(m *stat.GMeter, id string) ServiceMeta {
batcherLocation := reflect.TypeOf(ServiceMeta{}).PkgPath()
return ServiceMeta{
queueMetric: m.Op(batcherLocation, id+"BatcherQueue", id+" Batcher queue performance"),
dispatcherMetric: m.MOp(batcherLocation, id+"Dispatcher", id+" Dispatcher performance", NewDispatcherP()),
dispatcherLoop: m.Op(batcherLocation, id+"DispatcherLoop", id+" Dispatcher loop performance"),
blockQDelay: m.Op(batcherLocation, id+"BSBQWait", id+" Batcher service block queue wait"),
inputQDelay: m.Op(batcherLocation, id+"BSIQWait", id+" Batcher service input queue wait"),
queueMetric: m.Op(batcherLocation, id+"BatcherQueue", "batch enters dispatcher queue"),
dispatcherMetric: m.MOp(batcherLocation, id+"Dispatcher", "batch exists in dispatcher", NewDispatcherP()),
dispatcherLoop: m.Op(batcherLocation, id+"DispatcherLoop", "dispatch loop"),
blockQDelay: m.Op(batcherLocation, id+"BSBQWait", "wait until dispatcher accepts input (verbose)"),
inputQDelay: m.Op(batcherLocation, id+"BSIQWait", "wait until dispatcher receives input (verbose)"),
}
}

Expand Down

0 comments on commit 94cbc38

Please sign in to comment.