GoogleCloudPlatform / cloud-logging-data-source-plugin

https://grafana.com/grafana/plugins/googlecloud-logging-datasource/
Apache License 2.0
17 stars 13 forks source link

Unable to query multiple label values using PromQL and variables #59

Closed f0o closed 11 months ago

f0o commented 11 months ago

When I create a variable that allows multiple selections and attempt to include it in a PromQL query such as foo{label~="$values"} it becomes:

foo{label~="{bar,baz}"}

This is not valid PromQL and the query returns empty.

The correct way would be to use foo{label~="bar|baz"} but I have no idea how to instruct the plugin to construct this type of multivalue representation.

f0o commented 11 months ago

Nvmd wrong plugin