Skip to content

Add helper functions/conventions/documentation to help contrib components add support to custom telemetry #9277

@rapphil

Description

@rapphil

Is your feature request related to a problem? Please describe.

Some components in the contrib repository need to add additional telemetry besides the one provided by the {exporter,processor}helper packages.

I'd like that the collector core provided helper functions that simplify process of adding custom telemetry in contrib components. One good example is the BuildCustomMetricName function in the processorhelper package. There is no equivalent of this function for the exporterhelper package.

Describe the solution you'd like
Helper functions and documentation about how to add custom telemetry to contrib modules.

Optionally add helper functions/framework for testing custom telemetry, similar to what we have in this package:

func SetupTelemetry(id component.ID) (TestTelemetry, error) {

Additional context
open-telemetry/opentelemetry-collector-contrib#29729

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions