This commit is contained in:
Sergey Cherepanov 2022-10-11 12:36:05 +03:00
parent bc9ffc1a79
commit 8970730ec9
No known key found for this signature in database
GPG Key ID: 87F8EDE8FBDF637C
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,