File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import (
14
14
"github.com/go-kit/kit/log"
15
15
"github.com/go-kit/kit/log/level"
16
16
"github.com/prometheus/client_golang/prometheus"
17
- promTU "github.com/prometheus/client_golang/prometheus/testutil"
17
+ prom_testutil "github.com/prometheus/client_golang/prometheus/testutil"
18
18
"github.com/prometheus/prometheus/notifier"
19
19
"github.com/prometheus/prometheus/pkg/labels"
20
20
"github.com/prometheus/prometheus/promql"
@@ -140,7 +140,7 @@ func TestNotifierSendsUserIDHeader(t *testing.T) {
140
140
wg .Wait ()
141
141
142
142
// Ensure we have metrics in the notifier.
143
- assert .NoError (t , promTU .GatherAndCompare (r .registry .(* prometheus.Registry ), strings .NewReader (`
143
+ assert .NoError (t , prom_testutil .GatherAndCompare (r .registry .(* prometheus.Registry ), strings .NewReader (`
144
144
# HELP cortex_prometheus_notifications_dropped_total Total number of alerts dropped due to errors when sending to Alertmanager.
145
145
# TYPE cortex_prometheus_notifications_dropped_total counter
146
146
cortex_prometheus_notifications_dropped_total{user="1"} 0
You can’t perform that action at this time.
0 commit comments