Compare commits
No commits in common. "ef461fec1cae3b2878d6be1080c10cba1443c304" and "bbef19a73df3800f70e8d5cb2601e9c77ddccb40" have entirely different histories.
ef461fec1c
...
bbef19a73d
3 changed files with 2 additions and 45 deletions
|
@ -46,12 +46,7 @@ defaults = {
|
|||
'memory_rss',
|
||||
],
|
||||
}],
|
||||
'diskio': [{
|
||||
'fieldpass': [
|
||||
'read_bytes',
|
||||
'write_bytes',
|
||||
],
|
||||
}],
|
||||
'diskio': [{}],
|
||||
'kernel': [{}],
|
||||
'mem': [{}],
|
||||
'processes': [{}],
|
||||
|
@ -65,7 +60,6 @@ defaults = {
|
|||
'cpu',
|
||||
'mem',
|
||||
'disk_io',
|
||||
'disk_usage',
|
||||
'net_io',
|
||||
'proc_cpu',
|
||||
'proc_ram',
|
||||
|
|
|
@ -5,7 +5,7 @@ from(bucket: "${bucket}")
|
|||
|> filter(fn: (r) => ${' or '.join(f'r["{key}"] == "{value}"' for value in values)})
|
||||
% endfor
|
||||
% if function == 'derivative':
|
||||
|> derivative(nonNegative: true)
|
||||
|> derivative()
|
||||
% endif
|
||||
% if negative:
|
||||
|> map(fn: (r) => ({r with _value: r._value * - 1.0}))
|
||||
|
|
|
@ -1,37 +0,0 @@
|
|||
{
|
||||
'root_usage': {
|
||||
'stacked': True,
|
||||
'queries': {
|
||||
'usage': {
|
||||
'filters': {
|
||||
'_measurement': 'disk',
|
||||
'path': '/',
|
||||
'_field': [
|
||||
'used',
|
||||
'free',
|
||||
],
|
||||
},
|
||||
'function': 'mean',
|
||||
},
|
||||
},
|
||||
'min': 0,
|
||||
'unit': 'bytes',
|
||||
},
|
||||
'root_inodes': {
|
||||
'stacked': True,
|
||||
'queries': {
|
||||
'inodes': {
|
||||
'filters': {
|
||||
'_measurement': 'disk',
|
||||
'path': '/',
|
||||
'_field': [
|
||||
'inodes_used',
|
||||
'inodes_free',
|
||||
],
|
||||
},
|
||||
'function': 'mean',
|
||||
},
|
||||
},
|
||||
'min': 0,
|
||||
},
|
||||
}
|
Loading…
Reference in a new issue