@cryptotaxi247 / netdata-1 / commits / 722319991

cgroups: fix throttle_duration chart context (#16367)

Ilya Mashchenko committed Nov 9, 2023 at 15:09 UTC 72231999175d985f16f076ac8e3997813b9fd788
1 file changed +1 -1
collectors/cgroups.plugin/cgroup-charts.c
+1 -1
@@ -142,7 +142,7 @@ void update_cpu_throttled_duration_chart(struct cgroup *cg) {
142
143 if (unlikely(!cg->st_cpu_throttled_time)) {
144 char *title = "CPU Throttled Time Duration";
145 - char *context = k8s_is_kubepod(cg) ? "k8s.cgroup.throttled" : "cgroup.throttled";
145 + char *context = k8s_is_kubepod(cg) ? "k8s.cgroup.throttled_duration" : "cgroup.throttled_duration";
146 int prio = cgroup_containers_chart_priority + 15;
147
148 char buff[RRD_ID_LENGTH_MAX + 1];