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

Support custom exporting directly with pdata structures #1398

Open
MrAlias opened this issue Dec 10, 2024 · 1 comment
Open

Support custom exporting directly with pdata structures #1398

MrAlias opened this issue Dec 10, 2024 · 1 comment

Comments

@MrAlias
Copy link
Contributor

MrAlias commented Dec 10, 2024

Currently the controller converts telemetry data into OTel data using the go.opentelemetry.io/otel/sdk/trace package. This is inefficient given we transport this data as ptrace.Traces and rigid (it does not allow user customization).

Instead, we should allow customization of the data handling. The Instrumentation type can accept implementations of a Handler interface that is designed to handle telemetry data.

This should include useful default handlers. We should provide ways for users to easily export directly with pdata (i.e. a collector).

Proof of concept

@MrAlias
Copy link
Contributor Author

MrAlias commented Dec 10, 2024

cc @RonFed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant