diff --git a/pkg/appolly/meta/meta_node_cloud.go b/pkg/appolly/meta/meta_node_cloud.go index 4e0efcfc5c..0ec80d3142 100644 --- a/pkg/appolly/meta/meta_node_cloud.go +++ b/pkg/appolly/meta/meta_node_cloud.go @@ -67,9 +67,10 @@ func otelNodeFetcher(detector resource.Detector) fetcher { switch at.Key { case semconv.HostIDKey: store.HostID = at.Value.Emit() - case semconv.OSTypeKey: + case semconv.OSTypeKey, semconv.K8SClusterNameKey, semconv.K8SNodeNameKey: // we ignore some values that are explicitly added in the - // exporters and would cause attribute duplication (panic) + // exporters, or already added by the K8s informer, and would cause attribute + // duplication (panic) default: store.Metadata = append(store.Metadata, Entry{Key: attr.Name(at.Key), Value: at.Value.Emit()})