|
|
|
|
@ -1213,7 +1213,7 @@ func Test_getOperation(t *testing.T) { |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
name: "range_query_prom", |
|
|
|
|
path: "/prom/query", |
|
|
|
|
path: "/api/prom/query", |
|
|
|
|
expectedOp: QueryRangeOp, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
@ -1228,7 +1228,7 @@ func Test_getOperation(t *testing.T) { |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
name: "series_query_prom", |
|
|
|
|
path: "/prom/series", |
|
|
|
|
path: "/api/prom/series", |
|
|
|
|
expectedOp: SeriesOp, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
@ -1238,7 +1238,7 @@ func Test_getOperation(t *testing.T) { |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
name: "labels_query_prom", |
|
|
|
|
path: "/prom/labels", |
|
|
|
|
path: "/api/prom/labels", |
|
|
|
|
expectedOp: LabelNamesOp, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
@ -1248,7 +1248,7 @@ func Test_getOperation(t *testing.T) { |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
name: "labels_query_prom", |
|
|
|
|
path: "/prom/label", |
|
|
|
|
path: "/api/prom/label", |
|
|
|
|
expectedOp: LabelNamesOp, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
@ -1258,7 +1258,7 @@ func Test_getOperation(t *testing.T) { |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
name: "label_values_query_prom", |
|
|
|
|
path: "/prom/label/__name__/values", |
|
|
|
|
path: "/api/prom/label/__name__/values", |
|
|
|
|
expectedOp: LabelNamesOp, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
|