summaryrefslogtreecommitdiffstats
path: root/collectors/checks.plugin/plugin_checks.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--collectors/checks.plugin/plugin_checks.c (renamed from src/plugin_checks.c)22
1 files changed, 12 insertions, 10 deletions
diff --git a/src/plugin_checks.c b/collectors/checks.plugin/plugin_checks.c
index b99b97d40..f8a2008a8 100644
--- a/src/plugin_checks.c
+++ b/collectors/checks.plugin/plugin_checks.c
@@ -1,4 +1,6 @@
-#include "common.h"
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#include "plugin_checks.h"
#ifdef NETDATA_INTERNAL_CHECKS
@@ -27,9 +29,9 @@ void *checks_main(void *ptr) {
, NULL
, "Caller gives microseconds"
, "a million !"
- , "netdata"
- , "checks"
- , 99999
+ , "checks.plugin"
+ , ""
+ , NETDATA_CHART_PRIO_CHECKS
, localhost->rrd_update_every
, RRDSET_TYPE_LINE
);
@@ -45,9 +47,9 @@ void *checks_main(void *ptr) {
, NULL
, "Netdata calcs microseconds"
, "a million !"
- , "netdata"
- , "checks"
- , 99999
+ , "checks.plugin"
+ , ""
+ , NETDATA_CHART_PRIO_CHECKS
, localhost->rrd_update_every
, RRDSET_TYPE_LINE
);
@@ -62,9 +64,9 @@ void *checks_main(void *ptr) {
, NULL
, "Clock difference"
, "microseconds diff"
- , "netdata"
- , "checks"
- , 99999
+ , "checks.plugin"
+ , ""
+ , NETDATA_CHART_PRIO_CHECKS
, localhost->rrd_update_every
, RRDSET_TYPE_LINE
);