Skip to content

Commit

Permalink
chore: add objectives to gotsrpc buckets
Browse files Browse the repository at this point in the history
  • Loading branch information
smartinov committed May 26, 2022
1 parent 5b48a49 commit 89f2849
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions integration/gotsrpc/net/middleware/telemetry.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ const (

var (
gotsrpcRequestDurationSummary = promauto.NewSummaryVec(prometheus.SummaryOpts{
Name: "gotsrpc_request_duration_seconds",
Help: "Specifies the duration of gotsrpc request in seconds",
Name: "gotsrpc_request_duration_seconds",
Objectives: map[float64]float64{0.5: 0.05, 0.9: 0.01, 0.99: 0.001},
Help: "Specifies the duration of gotsrpc request in seconds",
}, []string{defaultGOTSRPCFunctionLabel, defaultGOTSRPCServiceLabel, defaultGOTSRPCPackageLabel, defaultGOTSRPCPackageOperation})
)

Expand Down

0 comments on commit 89f2849

Please sign in to comment.