After updating the opentelemetry-collector helm chart from version 0.144.0 -> 0.146.1, the service.name calculation as outlined here is not being honored. Using the k8sAttirbutes processor with default settings. Only additional log processor is batch.
Example pod config:
Labels:
app.kubernetes.io/name=envoy
Annotations:
resource.opentelemetry.io/service.name: qa-app-gw
Expected results:
service.name is derived from annotation resource.opentelemetry.io/service.name and equals "qa-app-gw"
Actual results:
service.name is derived from label app.kubernetes.io/name and equals "envoy"
After updating the opentelemetry-collector helm chart from version 0.144.0 -> 0.146.1, the service.name calculation as outlined here is not being honored. Using the k8sAttirbutes processor with default settings. Only additional log processor is batch.
Example pod config:
Labels:
app.kubernetes.io/name=envoy
Annotations:
resource.opentelemetry.io/service.name: qa-app-gw
Expected results:
service.name is derived from annotation resource.opentelemetry.io/service.name and equals "qa-app-gw"
Actual results:
service.name is derived from label app.kubernetes.io/name and equals "envoy"