From 94cbc387b203c2d371c8891ec9670692ca9b8cb8 Mon Sep 17 00:00:00 2001 From: David Choi Date: Wed, 6 Dec 2023 17:27:17 -0800 Subject: [PATCH] Rename gmetric descriptions. --- service/tfmodel/batcher/service.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/service/tfmodel/batcher/service.go b/service/tfmodel/batcher/service.go index b77c8e5..3f0cb13 100644 --- a/service/tfmodel/batcher/service.go +++ b/service/tfmodel/batcher/service.go @@ -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)"), } }