Hi guys,
Hopefully you can help me out on that.
-
What Grafana version and what operating system are you using?
Grafana v8.0.3 (cae5c5e46b) -
What are you trying to achieve?
Regex/Wildcard Filter in query (prometheus-datasource)
I’ve tried with a query like that →
hass_temperature_c{entity=~"sensor.zigbee_xiaomi_aquara_temperature_01_${room}_temperature"}
how can I regex the number? - I want to filter all entities which has a starting “0” and a number from 1-6 following. For example
sensor.zigbee_xiaomi_aquara_temperature_02_${room}_temperature
sensor.zigbee_xiaomi_aquara_temperature_03_${room}_temperature
etc …
Is this possible?
Thx in advance!
Florian