admin管理员组

文章数量:1356846

In Grafana v11.4.0, I enable Variable in Query Options using PromQL and I get the following response. Query Type: Label Values

All
Apple, Orange, Grape
Onion, Apple, Grape, Strawberry

But I wanted to display the values by splitting it with comma and display all unique values like following.

All
Apple
Orange
Grape
Onion
Strawberry

Could you suggest what Regex I have to use it to perform this or any other alternative way to perform this in Grafana Variable.

本文标签: prometheusGrafana VariableSplit by comma and display all unique valuesStack Overflow