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

[PoC] Switch to pdata as data-model #1177

Closed
wants to merge 4 commits into from

Conversation

MrAlias
Copy link
Contributor

@MrAlias MrAlias commented Oct 8, 2024

No description provided.

Co-authored-by: Ron Federman <73110295+RonFed@users.noreply.github.com>
//
// If OTEL_TRACES_EXPORTER is defined, this option will conflict with
// [WithEnv]. If both are used, the last one provided to an [Instrumentation]
// will be used.
func WithTraceExporter(exp trace.SpanExporter) InstrumentationOption {
func WithTraceHandler(handler TraceHandler) InstrumentationOption {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should keep having a way of just configuring the exporter without having to configure a complete handler.

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

Successfully merging this pull request may close these issues.

2 participants