summaryrefslogtreecommitdiffstats
path: root/collectors
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2022-12-23 15:11:05 +0200
committerGitHub <noreply@github.com>2022-12-23 15:11:05 +0200
commit40f512f8541693243e2031c8496cb7caab233e1c (patch)
treea08554df29bb9300b56b931848973b9d1ea222f5 /collectors
parent1a326fc1ce9ecbcce5ca4b4b72a3bea8f8da0f3b (diff)
remove interface name from cgroup net family (#14174)
Fixes https://github.com/netdata/netdata/issues/14170
Diffstat (limited to 'collectors')
-rw-r--r--collectors/proc.plugin/proc_net_dev.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/collectors/proc.plugin/proc_net_dev.c b/collectors/proc.plugin/proc_net_dev.c
index e124f631fb..4f8a86cb9f 100644
--- a/collectors/proc.plugin/proc_net_dev.c
+++ b/collectors/proc.plugin/proc_net_dev.c
@@ -516,8 +516,7 @@ static inline void netdev_rename_cgroup(struct netdev *d, struct netdev_rename *
snprintfz(buffer, RRD_ID_LENGTH_MAX, "%scgroup.net_mtu", r->ctx_prefix);
d->chart_ctx_net_mtu = strdupz(buffer);
- snprintfz(buffer, RRD_ID_LENGTH_MAX, "net %s", r->container_device);
- d->chart_family = strdupz(buffer);
+ d->chart_family = strdupz("net");
rrdlabels_copy(d->chart_labels, r->chart_labels);