summaryrefslogtreecommitdiffstats
path: root/collectors/all.h
diff options
context:
space:
mode:
authorVladimir Kobal <vlad@prokk.net>2018-12-13 18:48:26 +0200
committerGitHub <noreply@github.com>2018-12-13 18:48:26 +0200
commit2e6d26bafd5ce00b47d098a045a1d9c4f2d84936 (patch)
tree82483fca470ee7a6c18f1f16a89c040fc6ecff6b /collectors/all.h
parenteef866e721486ebb21b7650f6c73b9ffa16f8383 (diff)
Move power supply python module to proc plugin (#4960)
* Add power supply module * Use linked list * Add charts for all properties * Organize charts menu * Fix line endings * Keep files open * Add options for chart disabling * Final cleanup * Add documentation, disable python module * Fix file attributes * Mark python module as obsolete * Allow symbolic links to power source directories
Diffstat (limited to 'collectors/all.h')
-rw-r--r--collectors/all.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/collectors/all.h b/collectors/all.h
index a469c3efe7..0e55965229 100644
--- a/collectors/all.h
+++ b/collectors/all.h
@@ -307,6 +307,12 @@
#define NETDATA_CHART_PRIO_MDSTAT_FINISH 9004
#define NETDATA_CHART_PRIO_MDSTAT_SPEED 9005
+// Linux Power Supply
+#define NETDATA_CHART_PRIO_POWER_SUPPLY_CAPACITY 9500 // 4 charts per power supply
+#define NETDATA_CHART_PRIO_POWER_SUPPLY_CHARGE 9501
+#define NETDATA_CHART_PRIO_POWER_SUPPLY_ENERGY 9502
+#define NETDATA_CHART_PRIO_POWER_SUPPLY_VOLTAGE 9503
+
// CGROUPS
#define NETDATA_CHART_PRIO_CGROUPS_SYSTEMD 19000 // many charts