datasource.ts
14.9 KB
-
Prometheus: fix rules expansion · e3e8be16
Rules expansion (available via query hints in explore) was broken for expressions that contained selectors. - fix replacing regexp to recognize `{` and `[` as the end of a rule name - moved logic to language utils - added tests
David Kaltschmidt committed