Document OTel metrics shutdown - #39515
Draft
bm1549 wants to merge 4 commits into
Draft
Conversation
Contributor
Preview links (active after the
|
mabdinur
force-pushed
the
brian.marks/otel-metrics-lifecycle
branch
from
September 1, 2026 22:08
c0b50bc to
8e58cc5
Compare
mabdinur
approved these changes
Sep 2, 2026
mabdinur
left a comment
Contributor
There was a problem hiding this comment.
Reviewed for consistency with the SDK lifecycle APIs. CI is green.
mabdinur
approved these changes
Sep 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do? What is the motivation?
Documents how short-lived Python, Java, and Node.js processes shut down OTel custom metrics after recording is complete.
The examples use the provider returned by the global OpenTelemetry API. Python uses the OpenTelemetry SDK method; Java and Node.js use Datadog provider extensions.
Merge readiness
The companion Java, Node.js, and system-tests PRs must land before this documentation is merged.
For Datadog employees:
AI assistance
Used Codex to align the examples with the SDK contracts and run documentation checks.
Additional notes
Vale reports no errors or findings on changed lines.
Companion PRs: system-tests #7606, Java #12317, and Node.js #10023.