diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2023-11-09 15:09:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-09 15:09:03 +0200 |
commit | 72231999175d985f16f076ac8e3997813b9fd788 (patch) | |
tree | 3a870a53a98487a39cb3ec9fd0a31d6e997894ef | |
parent | 593026cb136cf4b3e4b6b0b5a5e9f94b9a77aa47 (diff) |
cgroups: fix throttle_duration chart context (#16367)
-rw-r--r-- | collectors/cgroups.plugin/cgroup-charts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/collectors/cgroups.plugin/cgroup-charts.c b/collectors/cgroups.plugin/cgroup-charts.c index 796c8ba844..fa2657c536 100644 --- a/collectors/cgroups.plugin/cgroup-charts.c +++ b/collectors/cgroups.plugin/cgroup-charts.c @@ -142,7 +142,7 @@ void update_cpu_throttled_duration_chart(struct cgroup *cg) { if (unlikely(!cg->st_cpu_throttled_time)) { char *title = "CPU Throttled Time Duration"; - char *context = k8s_is_kubepod(cg) ? "k8s.cgroup.throttled" : "cgroup.throttled"; + char *context = k8s_is_kubepod(cg) ? "k8s.cgroup.throttled_duration" : "cgroup.throttled_duration"; int prio = cgroup_containers_chart_priority + 15; char buff[RRD_ID_LENGTH_MAX + 1]; |