Compare commits

..

No commits in common. "6b1674c93aa7c74e60af3958e0671dc00e903a5b" and "d7e5483d7421ca8addc6115edb49f0a799c936b6" have entirely different histories.

2 changed files with 1 additions and 2 deletions

View file

@ -7,8 +7,8 @@ from(bucket: "${bucket}")
% if function == 'derivative':
|> derivative(nonNegative: true)
% endif
|> aggregateWindow(every: duration(v: int(v: v.windowPeriod)*${resolution}), fn: mean, createEmpty: false)
% if negative:
|> map(fn: (r) => ({r with _value: r._value * - 1.0}))
% endif
|> aggregateWindow(every: duration(v: int(v: v.windowPeriod)*${resolution}), fn: mean, createEmpty: false)
|> yield(name: "mean")

View file

@ -1,5 +1,4 @@
{
'dummy': True,
'hostname': '159.69.93.165',
'groups': [
'backup',