Describe the bug
Query metric_name{foo~="bar|"} doesn't return metrics with no label at all (notice | in regex)
To Reproduce
metric_name 1.2345
metric_name{foo="bar"} 2.345
metric_name{foo="baz"} 3.456
metric_name{foo~="bar|"Expected behavior
Should return:
metric_name
metric_name{foo="bar"}
but not
metric_name{foo="baz"}
Confirmed the bug. It will be fixed soon
The bug should be fixed in the following commits:
These commits will be included into the next release.
The bugfix is available starting from v1.34.5
Most helpful comment
The bugfix is available starting from v1.34.5