소스 검색

fix(tsdb): broken build :(

bergquist 9 년 전
부모
커밋
2d7bb4a9f3
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  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{