Skip to content

Metadata type field is mapped to receiver instrumentation scope metadata and factory id #21382

@atoulme

Description

@atoulme

We need to understand how to move forward with the use of the type metadata field. We now are trying to use it for 2 incompatible purposes:

  • the type string used to register the factory

  • the instrumentation library name in scope instrumentation library

            This is interesting. Is this the way we agreed to go? Maybe we should update the template to `otelcol/{{ .Class }}/{{ .Type }}` so we get `otelcol/receiver/apache`. Or `io.opentelemetry.collector.receiver.apache`, which is closer to examples defined in https://github.com/open-telemetry/opentelemetry-specification/blob/f9c26af89dcb2857772e2b75fb1318a521aa05c8/specification/glossary.md#instrumentation-library
    

cc @open-telemetry/collector-contrib-approvers

Originally posted by @dmitryax in #21272 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions