Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rapphil opened this issue Jan 12, 2024 · 0 comments

Comments

@rapphil
Copy link
Contributor

rapphil commented Jan 12, 2024

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

@mx-psi mx-psi added this to the Self observability milestone May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants