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

Test telemetry from the Collector #10596

Open
jpkrohling opened this issue Jul 11, 2024 · 0 comments
Open

Test telemetry from the Collector #10596

jpkrohling opened this issue Jul 11, 2024 · 0 comments

Comments

@jpkrohling
Copy link
Member

As part of #10490, I faced difficulties in testing the telemetry that was generated to ensure the change was doing what's supposed to do. I did some manual tests, but unit tests would be better here.

One possible alternative: implement a mock OTLP server (receiver), like https://github.com/open-telemetry/opentelemetry-collector/blob/main/exporter/otlpexporter/otlp_test.go

Another alternative: align with the regular testing helpers from the Go SDK. This might involve changes to the config spec, and not all SDKs might have in-memory exporters for all signals.

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

1 participant