fix
This commit is contained in:
parent
4cbede57b1
commit
76bf8d14bc
@ -23,10 +23,6 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
|
||||||
Version = app.Version()
|
|
||||||
)
|
|
||||||
|
|
||||||
var log = logger.NewNamed("main")
|
var log = logger.NewNamed("main")
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|||||||
@ -60,7 +60,7 @@ func (s *drpcServer) Run(ctx context.Context) (err error) {
|
|||||||
histVec := prometheus.NewSummaryVec(prometheus.SummaryOpts{
|
histVec := prometheus.NewSummaryVec(prometheus.SummaryOpts{
|
||||||
Namespace: "drpc",
|
Namespace: "drpc",
|
||||||
Subsystem: "server",
|
Subsystem: "server",
|
||||||
Name: "duration",
|
Name: "duration_seconds",
|
||||||
Objectives: map[float64]float64{
|
Objectives: map[float64]float64{
|
||||||
0.5: 0.5,
|
0.5: 0.5,
|
||||||
0.85: 0.01,
|
0.85: 0.01,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user