This commit is contained in:
Sergey Cherepanov 2022-10-11 12:36:05 +03:00 committed by Mikhail Iudin
parent 4cbede57b1
commit 76bf8d14bc
No known key found for this signature in database
GPG Key ID: FAAAA8BAABDFF1C0
2 changed files with 1 additions and 5 deletions

View File

@ -23,10 +23,6 @@ import (
"time" "time"
) )
var (
Version = app.Version()
)
var log = logger.NewNamed("main") var log = logger.NewNamed("main")
var ( var (

View File

@ -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,