Add support for k8s labels such as app.kubernetes.io/name #3112
Labels
area:auto-instrumentation
Issues for auto-instrumentation
enhancement
New feature or request
needs triage
Component(s)
auto-instrumentation
Is your feature request related to a problem? Please describe.
k8s labels such as app.kubernetes.io/name are recommended to set the app name and similar
See https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/
this should be supported by the otel operator
Describe the solution you'd like
This mapping should work for the following labels:
app.kubernetes.io/name
-service.name
app.kubernetes.io/instance
-service.instance.id
app.kubernetes.io/version
-service.version
app.kubernetes.io/part-of
-service.namespace
And for the following annotations:
opentelemetry.io/resource.foo
-foo
(for any key) - note that the k8sattributes processor can also process those annotations, see Copy multiple attributes/labels in k8sattributes opentelemetry-collector-contrib#34040Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: