We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 157a790 commit cb87e55Copy full SHA for cb87e55
pkg/metrics/summary.go
@@ -7,8 +7,8 @@ import (
7
"sync"
8
"time"
9
10
- // Import prometheus through the promauto package instead
11
- "github.com/prometheus/client_golang/prometheus/promauto"
+ // Import only what's needed for this file
+ _ "github.com/prometheus/client_golang/prometheus" // blank import for side effects
12
"github.com/rs/zerolog/log"
13
)
14
0 commit comments