Skip to content

Bogus service.name used for internal telemetry #10644

@yurishkuro

Description

@yurishkuro

Describe the bug

When initializing TracerProvider the BuildInfo.Version is used as a service name.

string(semconv.ServiceNameKey): set.BuildInfo.Version,

What did you expect to see?
Assuming that BuildInfo is the right thing to use in the first place, the reasonable mapping would be

  • Command -> service.name
  • Version -> service.version

Command: "otelcol",
Description: "OpenTelemetry Collector",
Version: "latest",

What version did you use?
Version: v0.105.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions