-
Notifications
You must be signed in to change notification settings - Fork 282
Open
Labels
area:k8sk8s-stabilityIssues/PRs that are required for stabilizing k8s areaIssues/PRs that are required for stabilizing k8s areatriage:accepted:ready-with-sig
Description
Part of #3119.
This issue suggests that we stabilise all resource/entity attributes that are used by the following Collector components:
- k8sattributes processor (from metadata.yaml and extract::metadata)
- resourcedetection processor
- filelog receiver
Related to open-telemetry/opentelemetry-collector-contrib#44130.
Suggested Semantic Conventions
'✅' indicates that the Collector component makes use of this attribute
'🚫 ' indicates that the Collector component does not make use of this attribute
| Attribute | k8sattributes | resourcedetection | filelog | completion status | semconv link | PR |
|---|---|---|---|---|---|---|
| k8s.pod.name | ✅ | 🚫 | ✅ | link | ||
| container.id | ✅ | 🚫 | 🚫 | link | ||
| container.image.name | ✅ | 🚫 | 🚫 | link | ||
| container.image.repo_digests | ✅ | 🚫 | 🚫 | link | ||
| container.image.tag | ✅ | 🚫 | 🚫 | link | ||
| k8s.cluster.uid | ✅ | ✅ | 🚫 | link | ||
| k8s.cluster.name | 🚫 | ✅ | 🚫 | link | ||
| k8s.container.name | ✅ | 🚫 | ✅ | link | ||
| k8s.cronjob.name | ✅ | 🚫 | 🚫 | link | ||
| k8s.cronjob.uid | ✅ | 🚫 | 🚫 | link | ||
| k8s.daemonset.name | ✅ | 🚫 | 🚫 | link | ||
| k8s.daemonset.uid | ✅ | 🚫 | 🚫 | link | ||
| k8s.deployment.name | ✅ | 🚫 | 🚫 | link | ||
| k8s.deployment.uid | ✅ | 🚫 | 🚫 | link | ||
| k8s.job.name | ✅ | 🚫 | 🚫 | link | ||
| k8s.job.uid | ✅ | 🚫 | 🚫 | link | ||
| k8s.namespace.name | ✅ | 🚫 | ✅ | link | ||
| k8s.node.name | ✅ | 🚫 | 🚫 | link | ||
| k8s.node.uid | ✅ | 🚫 | 🚫 | link | ||
| k8s.pod.hostname | ✅ | 🚫 | 🚫 | link | ||
| k8s.pod.ip | ✅ | 🚫 | 🚫 | link | ||
| k8s.pod.start_time | ✅ | 🚫 | 🚫 | link | ||
| k8s.pod.uid | ✅ | 🚫 | ✅ | link | ||
| k8s.replicaset.name | ✅ | 🚫 | 🚫 | link | ||
| k8s.replicaset.uid | ✅ | 🚫 | 🚫 | link | ||
| k8s.statefulset.name | ✅ | 🚫 | 🚫 | link | ||
| k8s.statefulset.uid | ✅ | 🚫 | 🚫 | link | ||
| k8s.container.restart_count | 🚫 | 🚫 | ✅ | link | ||
| service.instance.id | ✅ | ✅ | 🚫 | done | link | |
| service.name | ✅ | ✅ | 🚫 | done | link | |
| service.namespace | ✅ | 🚫 | 🚫 | done | link | |
| service.version | ✅ | ✅ | 🚫 | done | link | |
| k8s.pod.label.* | ✅ | 🚫 | 🚫 | link | ||
| k8s.pod.annotation.* | ✅ | 🚫 | 🚫 | link | ||
| k8s.node.label.* | ✅ | 🚫 | 🚫 | link | ||
| k8s.node.annotation.* | ✅ | 🚫 | 🚫 | link | ||
| k8s.namespace.label.* | ✅ | 🚫 | 🚫 | link | ||
| k8s.namespace.annotation.* | ✅ | 🚫 | 🚫 | link | ||
| k8s.deployment.label.* | ✅ | 🚫 | 🚫 | link | ||
| k8s.deployment.annotation.* | ✅ | 🚫 | 🚫 | link | ||
| k8s.statefulset.label.* | ✅ | 🚫 | 🚫 | link | ||
| k8s.statefulset.annotation.* | ✅ | 🚫 | 🚫 | link | ||
| k8s.daemonset.label.* | ✅ | 🚫 | 🚫 | link | ||
| k8s.daemonset.annotation.* | ✅ | 🚫 | 🚫 | link | ||
| k8s.job.label.* | ✅ | 🚫 | 🚫 | link | ||
| k8s.job.annotation.* | ✅ | 🚫 | 🚫 | link |
/cc @open-telemetry/semconv-k8s-approvers @dashpole
Related issues
- Define rules for Kubernetes name and uid resource attributes #430 that asks how custom resources should be covered should be addressed too.
Metadata
Metadata
Assignees
Labels
area:k8sk8s-stabilityIssues/PRs that are required for stabilizing k8s areaIssues/PRs that are required for stabilizing k8s areatriage:accepted:ready-with-sig
Type
Projects
Status
No status
Status
Accepted