bundles/grafana: add "traffic per interface" graphs, fix naming of values
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
0f387102b3
commit
fe668fd5d4
4 changed files with 616 additions and 292 deletions
|
@ -24,6 +24,11 @@ def dashboard_row_cpu(panel_id, node):
|
|||
r["_field"] == "usage_{measurement}" and
|
||||
r["host"] == "{node.name}"
|
||||
)
|
||||
|> map(fn: (r) => ({{
|
||||
r with
|
||||
_field: "{measurement}"
|
||||
}})
|
||||
)
|
||||
|> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)
|
||||
|> yield(name: "{measurement}")""",
|
||||
'resultFormat': 'time_series',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue