2020-03-31 11:51:09 +02:00
|
|
|
{
|
|
|
|
"name": "empty-label-match",
|
|
|
|
"issue": "https://github.com/VictoriaMetrics/VictoriaMetrics/issues/395",
|
|
|
|
"data": [
|
|
|
|
"empty_label_match 1 {TIME_S-1m}",
|
|
|
|
"empty_label_match;foo=bar 2 {TIME_S-1m}",
|
|
|
|
"empty_label_match;foo=baz 3 {TIME_S-1m}"],
|
2020-07-14 11:45:42 +02:00
|
|
|
"query": ["/api/v1/query_range?query=empty_label_match{foo=~'bar|'}&start={TIME_S-1m}&end={TIME_S}&step=60"],
|
2024-01-17 09:51:10 +01:00
|
|
|
"result_query": {
|
2020-03-31 11:51:09 +02:00
|
|
|
"status":"success",
|
|
|
|
"data":{"resultType":"matrix",
|
|
|
|
"result":[
|
2020-07-14 11:45:42 +02:00
|
|
|
{"metric":{"__name__":"empty_label_match"},"values":[["{TIME_S-1m}","1"],["{TIME_S}","1"]]},
|
|
|
|
{"metric":{"__name__":"empty_label_match","foo":"bar"},"values":[["{TIME_S-1m}","2"],["{TIME_S}","2"]]}
|
2020-03-31 11:51:09 +02:00
|
|
|
]}}
|
|
|
|
}
|