rename newly added functions (#16325)
rename functions
Costa Tsaousis committed
Nov 2, 2023 at 14:47 UTC
2cf3a648da48a800acd84abb619e8d34c98bc53f
2 files changed
+3
-3
collectors/cgroups.plugin/sys_fs_cgroup.c
+2
-2
@@ -1638,8 +1638,8 @@ void *cgroups_main(void *ptr) {
1638
// for the other nodes, the origin server should register it
1639
rrd_collector_started(); // this creates a collector that runs for as long as netdata runs
1640
cgroup_netdev_link_init();
1641
- rrd_function_add(localhost, NULL, "TopCgroups", 10, RRDFUNCTIONS_CGTOP_HELP, true, cgroup_function_cgroup_top, NULL);
1642
- rrd_function_add(localhost, NULL, "TopSystemd", 10, RRDFUNCTIONS_CGTOP_HELP, true, cgroup_function_systemd_top, NULL);
1641
+ rrd_function_add(localhost, NULL, "containers-vms", 10, RRDFUNCTIONS_CGTOP_HELP, true, cgroup_function_cgroup_top, NULL);
1642
+ rrd_function_add(localhost, NULL, "systemd-services", 10, RRDFUNCTIONS_CGTOP_HELP, true, cgroup_function_systemd_top, NULL);
1643
1644
heartbeat_t hb;
1645
heartbeat_init(&hb);
collectors/systemd-journal.plugin/systemd-internals.h
+1
-1
@@ -15,7 +15,7 @@
15
#define SYSTEMD_JOURNAL_DEFAULT_TIMEOUT 60
16
17
#define SYSTEMD_UNITS_FUNCTION_DESCRIPTION "View the status of systemd units"
18
-#define SYSTEMD_UNITS_FUNCTION_NAME "systemd-units"
18
+#define SYSTEMD_UNITS_FUNCTION_NAME "systemd-list-units"
19
#define SYSTEMD_UNITS_DEFAULT_TIMEOUT 30
20
21
extern __thread size_t fstat_thread_calls;