Skip to content

service.name calculation not honored after installing latest collector via helm #2102

@jhayde-crate

Description

@jhayde-crate

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingchart:collectorIssue related to opentelemetry-collector helm chart

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions