paregupt/ucs_traffic_monitor

When using variables in regex searches in dashboards, use ${varname:regex}

Opened this issue · 0 comments

For influxql queries, grafana automatically makes a result set called by variable name in regex searches, regex compatible. For example, when a list of values is returned, grafana automatically makes the set like this and escapes regex meta characters: (result_1|result_2|port_1\/2)

Grafana doesn't automatically do this for flux queries. In order to tell grafana to do this for flux queries, the variables must be called like this ${varname:regex} in regex searches
Source: https://grafana.com/docs/grafana/latest/variables/advanced-variable-format-options/#regex

Please update the variable usage in the dashboard files to be influxql or flux compatible in order to make the transition to flux easier.