You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The existing Kubernetes resource attributes list specific groups, but it is not an exhaustive list. The way the semantic convention is written for k8s resource attributes today means that only the following object types are supported:
cluster
node
namespace
pod
container
replicaset
deployment
statefulset
daemonset
job
cronjob
There are other k8s object kinds, such as HorizontalPodAutoscaler or ConfigMap, as well as custom objects like the Instrumentation and OpenTelemetryCollector objects created by the OpenTelemetry Operator.
It would be good for the Semantic Convention for Kubernetes resource attributes to support a few "generic" rules that would apply to any Kubernetes object. A rule like k8s.{regarding.kind}.name and k8s.{regarding.kind}.uid would help.
Background Context: we want to extract some Kubernetes Events fields into meaningful resource attributes, but sometimes the objects associated with those events will not align with a defined semantic convention: open-telemetry/opentelemetry-collector-contrib#24242
The text was updated successfully, but these errors were encountered:
The existing Kubernetes resource attributes list specific groups, but it is not an exhaustive list. The way the semantic convention is written for k8s resource attributes today means that only the following object types are supported:
There are other k8s object kinds, such as
HorizontalPodAutoscaler
orConfigMap
, as well as custom objects like theInstrumentation
andOpenTelemetryCollector
objects created by the OpenTelemetry Operator.It would be good for the Semantic Convention for Kubernetes resource attributes to support a few "generic" rules that would apply to any Kubernetes object. A rule like
k8s.{regarding.kind}.name
andk8s.{regarding.kind}.uid
would help.Background Context: we want to extract some Kubernetes Events fields into meaningful resource attributes, but sometimes the objects associated with those events will not align with a defined semantic convention: open-telemetry/opentelemetry-collector-contrib#24242
The text was updated successfully, but these errors were encountered: