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"
)
var (
Version = app.Version()
)
var log = logger.NewNamed("main")
var (

View File

@ -60,7 +60,7 @@ func (s *drpcServer) Run(ctx context.Context) (err error) {
histVec := prometheus.NewSummaryVec(prometheus.SummaryOpts{
Namespace: "drpc",
Subsystem: "server",
Name: "duration",
Name: "duration_seconds",
Objectives: map[float64]float64{
0.5: 0.5,
0.85: 0.01,