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

Enable user defined trace exporters #426

Merged
merged 20 commits into from
Oct 30, 2023
Merged

Conversation

MrAlias
Copy link
Contributor

@MrAlias MrAlias commented Oct 26, 2023

Allow users to pass a trace exporter as an option to NewInstrumentation or specify it via the OTEL_TRACES_EXPORTER environment variable.

Resolve #234
Resolve #427

@MrAlias MrAlias marked this pull request as ready for review October 27, 2023 02:18
@MrAlias MrAlias requested a review from a team as a code owner October 27, 2023 02:18
instrumentation.go Outdated Show resolved Hide resolved
instrumentation.go Outdated Show resolved Hide resolved
instrumentation.go Outdated Show resolved Hide resolved
MrAlias and others added 4 commits October 27, 2023 08:32
- Use the OTLP http-protobuf exporter by default
- Set runtime info in the resource, not the user agent
CHANGELOG.md Show resolved Hide resolved
Copy link

@codeboten codeboten left a comment

Choose a reason for hiding this comment

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

Should the change to the default OTLP output protocol be separated from allowing user defined exporters?

@MrAlias
Copy link
Contributor Author

MrAlias commented Oct 29, 2023

Should the change to the default OTLP output protocol be separated from allowing user defined exporters?

This was requested in #426 (comment) to be included here.

examples/rolldice/docker-compose.yaml Outdated Show resolved Hide resolved
examples/httpPlusdb/docker-compose.yaml Outdated Show resolved Hide resolved
@MrAlias MrAlias merged commit a36c791 into open-telemetry:main Oct 30, 2023
13 checks passed
@MrAlias MrAlias deleted the user-def-exp branch October 30, 2023 14:59
@MrAlias MrAlias added this to the v0.8.0-alpha milestone Nov 14, 2023
@MrAlias MrAlias mentioned this pull request Nov 14, 2023
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.

Use OTLP over HTTP/protobuf by default stdouttrace exporter
4 participants