Prechádzať zdrojové kódy

fix(tsdb): broken build :(

bergquist 9 rokov pred
rodič
commit
2d7bb4a9f3
1 zmenil súbory, kde vykonal 3 pridanie a 2 odobranie
  1. 3 2
      pkg/tsdb/prometheus/prometheus_test.go

+ 3 - 2
pkg/tsdb/prometheus/prometheus_test.go

@@ -25,8 +25,9 @@ func TestPrometheus(t *testing.T) {
 
 		Convey("build full serie name", func() {
 			metric := map[p.LabelName]p.LabelValue{
-				p.LabelName("app"):    p.LabelValue("backend"),
-				p.LabelName("device"): p.LabelValue("mobile"),
+				p.LabelName(p.MetricNameLabel): p.LabelValue("http_request_total"),
+				p.LabelName("app"):             p.LabelValue("backend"),
+				p.LabelName("device"):          p.LabelValue("mobile"),
 			}
 
 			query := &PrometheusQuery{