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

Changes from Upstream #1

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Changes from Upstream #1

wants to merge 5 commits into from

Conversation

parsonsmatt
Copy link

No description provided.

lf- and others added 5 commits August 8, 2022 15:40
When the process exited, the sending of metrics to OTLP was rudely
interrupted by `cancel`. This meant that the root span would often go
missing if you instrumented some kind of command line application with
the root span created at process creation.

This patch changes the shutdown logic to first ask the exporter to send
what it has and shut down, then forcibly kill it if that takes too long.
It would be useful to have instrumentation of test suites. My
original use case for this is to validate a change in Persistent
instrumentation, for which hitting it really hard with the Mercury test
suite seems like a reasonable strategy.
I needed these for debugging, but they are generally useful.

There's an unfortunate amount of trailing whitespace deletion in this
diff. Sorry :(
lf- pushed a commit that referenced this pull request Sep 7, 2022
Updated docs to use makeTracer instead of deprecated getTracer
wavewave pushed a commit that referenced this pull request Aug 2, 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.

2 participants