mirror of
https://github.com/zaphar/Heracles.git
synced 2025-07-22 20:19:50 -04:00
dev: Example of the FILTERS placeholder
This commit is contained in:
parent
a620cd2b1b
commit
0a2bde6990
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user