Multi value variables with prometheus + sperator value

I am trying to draw >1 time series in a graph using promethues and query variables in grafana.
I want something like this(this is an OR seperator):
("host1" OR "host2" OR "host3")
but grafana is giving me something like this
("host1" + "host2" + "host3")

Can I control this seperator using the prometheus source?

reading the docs here

  • What Grafana version and what operating system are you using?
    7.5.7

  • What are you trying to achieve?
    above

  • How are you trying to achieve it?
    above

  • What happened?
    n/a

  • What did you expect to happen?
    above

  • Can you copy/paste the configuration(s) that you are having problems with?
    n/a

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    n/a

  • Did you follow any online instructions? If so, what is the URL?
    no

i think this is what I want

servers = ['test1', 'test2']
String to interpolate: '${servers:lucene}'
Interpolation result: '("test1" OR "test2")'

but that format does not work for prometheus.

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