mirror of
https://github.com/foomo/keel.git
synced 2025-10-16 12:35:34 +00:00
fix: label num
This commit is contained in:
parent
f3ad71470d
commit
de72176a05
@ -2,6 +2,7 @@ package keelgotsrpcmiddleware
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"github.com/foomo/gotsrpc/v2"
|
||||
@ -57,6 +58,7 @@ func Telemetry() middleware.Middleware {
|
||||
stats.Service,
|
||||
stats.Package,
|
||||
operation,
|
||||
strconv.FormatBool(stats.ErrorCode != 0),
|
||||
).Observe(duration.Seconds())
|
||||
}
|
||||
observe("marshalling", stats.Marshalling)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user