Hello
I’m running Grafana v12.2.0 on OpenBSD 7.8.
I want to display metrics from my VictoriaMetrics database using the compatible Prometheus data source. Before upgrading from OpenBSD 7.7 and Grafana 11.5.2, everything worked ok. I’m using a Prometheus data source because VictoriaMetrics is only available on Linux/Windows/Darwin.
From the dashboard visualization query builder, I select a metric using the Metric field, for example collectd.cpu.count. The generated query is {"collectd.cpu.count", plugin="cpu"} which causes an error:
labelFilterExpr: unexpected token "\"collectd.cpu.count\""; want "ident"; unparsed data: "\"collectd.cpu.count\", plugin=\"cpu\"}"
If I switch to “Code” and enter collectd.cpu.count{plugin="cpu"}, the query works and everything is displayed properly.
I have tried restarting Grafana, refreshing my Librewolf cache and use a private navigation but none solve my issue. I also tried various Prometheus versions in the data source configuration but that doesn’t change anything either.
All my dashboards still work. But if I try to select a new metric using the builder, it just fails because the generated query is something like {"collectd.cpu.count", plugin="cpu"}rather than collectd.cpu.count{plugin="cpu"}.
Any idea how to solve this?
Thanks.