pressure stall grafana

This commit is contained in:
mwiegand 2022-08-11 13:18:30 +02:00
parent e05d987036
commit d8de90fa5d
2 changed files with 84 additions and 0 deletions

View file

@ -80,6 +80,7 @@ defaults = {
'proc_cpu', 'proc_cpu',
'proc_ram', 'proc_ram',
'proc_io', 'proc_io',
'pressure_stall',
}, },
'sudoers': { 'sudoers': {
'telegraf': {'/usr/local/share/telegraf/procio'}, 'telegraf': {'/usr/local/share/telegraf/procio'},

View file

@ -0,0 +1,83 @@
{
'avg10 some': {
'queries': {
'io': {
'filters': {
'_measurement': 'pressure_stall',
'ressource': [
'io',
],
'type': [
'some',
],
'_field': [
'avg10',
],
},
},
'memory': {
'filters': {
'_measurement': 'pressure_stall',
'ressource': [
'memory',
],
'type': [
'some',
],
'_field': [
'avg10',
],
},
},
'cpu': {
'filters': {
'_measurement': 'pressure_stall',
'ressource': [
'cpu',
],
'type': [
'some',
],
'_field': [
'avg10',
],
},
},
},
'display_name': '__field.labels.ressource',
'unit': 'percent',
},
'avg10 full': {
'queries': {
'io': {
'filters': {
'_measurement': 'pressure_stall',
'ressource': [
'io',
],
'type': [
'full',
],
'_field': [
'avg10',
],
},
},
'memory': {
'filters': {
'_measurement': 'pressure_stall',
'ressource': [
'memory',
],
'type': [
'full',
],
'_field': [
'avg10',
],
},
},
},
'display_name': '__field.labels.ressource',
'unit': 'percent',
},}