diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2022-12-23 15:11:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-23 15:11:05 +0200 |
commit | 40f512f8541693243e2031c8496cb7caab233e1c (patch) | |
tree | a08554df29bb9300b56b931848973b9d1ea222f5 | |
parent | 1a326fc1ce9ecbcce5ca4b4b72a3bea8f8da0f3b (diff) |
remove interface name from cgroup net family (#14174)
Fixes https://github.com/netdata/netdata/issues/14170
-rw-r--r-- | collectors/proc.plugin/proc_net_dev.c | 3 |
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); |