Re Match problem with Legend

I use follow label_replace() promql when i create a Query(It is dicplaycorrectly when I run it in Prometheus ), but the legend can’t display correctly inGrafana.
Promql:
label_replace(container_memory_rss{container_label_com_docker_stack_namespace=“uat_app”}, “test”, “$1”, “name”, “(.*)\.[0-9a-z]{25,}”)

  • What Grafana version and what operating system are you using?
    Grafana v8.0.3 (cae5c5e46b)

  • What are you trying to achieve?
    I run it in Prometheus ,it display correctly

  • What happened?
    legend can’t display correctly

  • What did you expect to happen?
    legend can’t display correctly


This topic was automatically closed after 365 days. New replies are no longer allowed.