Skip to content

Commit 157a790

Browse files
committed
Fix unused import in pkg/metrics/summary.go
1 parent 7279727 commit 157a790

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/metrics/summary.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ import (
77
"sync"
88
"time"
99

10-
"github.com/prometheus/client_golang/prometheus"
10+
// Import prometheus through the promauto package instead
11+
"github.com/prometheus/client_golang/prometheus/promauto"
1112
"github.com/rs/zerolog/log"
1213
)
1314

0 commit comments

Comments
 (0)