Skip to content
This repository was archived by the owner on Jan 16, 2023. It is now read-only.

Commit 0594df7

Browse files
committed
dev-vk: re
1 parent 9d9bc24 commit 0594df7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pkg/metrics/util.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import (
44
"time"
55

66
"github.com/prometheus/client_golang/prometheus"
7-
"github.com/sirupsen/logrus"
87
)
98

109
// StartGaugeTime track
@@ -15,7 +14,6 @@ func StartGaugeTime(gauge prometheus.Gauge) (prometheus.Gauge, time.Time) {
1514
// SetGauge duration
1615
func SetGauge(gauge prometheus.Gauge, start time.Time) {
1716
gauge.Set(float64(time.Since(start).Nanoseconds()))
18-
logrus.Infof("trace duration: %v: %v", gauge.Desc(), time.Since(start).Seconds())
1917
}
2018

2119
// StartTimeObserver track observer

0 commit comments

Comments
 (0)