diff --git a/examples/example_dashboards.yaml b/examples/example_dashboards.yaml index ff8da83..75728af 100644 --- a/examples/example_dashboards.yaml +++ b/examples/example_dashboards.yaml @@ -37,8 +37,9 @@ tickformat: "~%" plots: - source: http://heimdall:9001 + # You can use the FILTERS placeholder to indicate where user selected filters should be placed. query: | - sum by (instance)(irate(node_cpu_seconds_total{mode="system",job="nodestats"}[5m])) / sum by (instance)(irate(node_cpu_seconds_total{job="nodestats"}[5m])) + sum by (instance)(irate(node_cpu_seconds_total{FILTERS mode="system",job="nodestats"}[5m])) / sum by (instance)(irate(node_cpu_seconds_total{FILTERS job="nodestats"}[5m])) meta: name_format: "`${labels.instance} system`" yaxis: "y"