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

Trace SDK: trace itself by default #595

Merged
merged 5 commits into from
Jan 4, 2024
Merged

Conversation

jmacd
Copy link
Contributor

@jmacd jmacd commented Jan 4, 2024

Description: Follows similar work from #590 on the metrics exporter released in 1.23. This will create a span covering the export, not metrics (for reasons explained within).

Pipelines: the trace SDK was still using the otel-go trace exporter, while the otelcol-based trace exporter here was still experimental. Lightstep has been using this exporter internally since its original release, and now considers it production ready. This switches the pipelines to always use the new exporter.

Fixes a typo: the MaxInFlightSizeMiB setting was set too large by a factor of 1Mi in two places.

Testing:

Manual. The examples/traces function has to be modified to block in order to see the new span come through, since the span called during shut down will never export. I added select{} to the end of that main and checked the span came through.

@jmacd jmacd requested a review from moh-osman3 January 4, 2024 21:52
@jmacd jmacd merged commit 3b55ac7 into main Jan 4, 2024
1 check passed
@jmacd jmacd deleted the jmacd/trace_exporter_self_spans branch January 4, 2024 22:54
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