bundles/grafana: fix derivative for wireguard last handshake time
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
36de4f0c58
commit
c14bb43993
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ def dashboard_row_wireguard(panel_id, node):
|
||||||
_value: r._value / 1000000000
|
_value: r._value / 1000000000
|
||||||
}})
|
}})
|
||||||
)
|
)
|
||||||
|> derivative(unit: 1s)
|
|> derivative(unit: 1s, nonNegative: true)
|
||||||
|> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)
|
|> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)
|
||||||
|> yield(name: "last_handshake_time_ns")""",
|
|> yield(name: "last_handshake_time_ns")""",
|
||||||
'resultFormat': 'time_series',
|
'resultFormat': 'time_series',
|
||||||
|
|
Loading…
Reference in a new issue