Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions pkg/appolly/meta/meta_node_cloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()})
Expand Down
Loading