Hi, good afternoon. I noticed that after upgrading Grafana from v12 to v13, many Mimir metrics changed their names, and my panels started showing ‘No data’. For example, metrics like jvm_memory_used_bytes changed to jvm_memory_used. Is there a way to preserve the old metric names so I don’t have to manually fix multiple dashboards?
What Grafana version and what operating system are you using?
-
Grafana Version: v13.0.1 (upgraded from v12)
-
Operating System: Linux (Kubernetes / Rancher environment)
What are you trying to achieve? I want to maintain the legacy Mimir metric names (such as jvm_memory_used_bytes) after upgrading Grafana to v13, so I don’t have to manually update and fix dozens of existing dashboards.
How are you trying to achieve it? By upgrading my Grafana instance from v12 to v13 to leverage the latest features, assuming standard Prometheus/Mimir data source compatibility would remain seamless or backward compatible for my Java/JVM application dashboards.
What happened? After the upgrade, many Mimir metrics automatically changed their naming convention. For instance, jvm_memory_used_bytes became jvm_memory_used (dropping the _bytes suffix). Because of this, my existing panel queries broke, and the charts are now showing “No data”.
What did you expect to happen? I expected the metrics to either keep their original names or have a backward compatibility layer/setting available so that my legacy dashboards wouldn’t break immediately upon upgrading.
Can you copy/paste the configuration(s) that you are having problems with? Here is an example of a PromQL query inside a broken panel:
Snippet de código
# Old query that now returns "No data"
sum(jvm_memory_used_bytes{area="heap"}) by (application)
It only works now if I manually change it to:
Snippet de código
sum(jvm_memory_used{area="heap"}) by (application)
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were. No explicit system errors or crashes in the logs. The Grafana UI simply displays the standard "No data" visual warning on all panels using the old metric naming format.
Did you follow any online instructions? If so, what is the URL? I followed the standard Grafana v13 upgrade documentation, but I didn’t find a direct guide or toggle to force metric name backward compatibility for Mimir data sources.





