summaryrefslogtreecommitdiffstats
path: root/collectors/proc.plugin
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2023-04-09 11:46:15 +0300
committerGitHub <noreply@github.com>2023-04-09 11:46:15 +0300
commit61c641e468c741a63681b2ee82aae89503f72574 (patch)
treea8e450db30579703161da9a09d1a4319f6487c91 /collectors/proc.plugin
parent5b7aaaefdb85a846057f21e5114a09eeebc49a8b (diff)
cgroups.plugin: add image label (#14872)
Diffstat (limited to 'collectors/proc.plugin')
-rw-r--r--collectors/proc.plugin/proc_net_dev.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/collectors/proc.plugin/proc_net_dev.c b/collectors/proc.plugin/proc_net_dev.c
index 22cd24dd2c..9e8127cb67 100644
--- a/collectors/proc.plugin/proc_net_dev.c
+++ b/collectors/proc.plugin/proc_net_dev.c
@@ -519,9 +519,6 @@ static inline void netdev_rename_cgroup(struct netdev *d, struct netdev_rename *
d->chart_family = strdupz("net");
rrdlabels_copy(d->chart_labels, r->chart_labels);
- if (strncmp(r->ctx_prefix, "k8s", 3)) {
- rrdlabels_add(d->chart_labels, "cgroup_name", r->container_name, RRDLABEL_SRC_AUTO);
- }
d->priority = NETDATA_CHART_PRIO_CGROUP_NET_IFACE;
d->flipped = 1;