test: cover OTel metrics ForceFlush and Shutdown - #7606
Draft
bm1549 wants to merge 2 commits into
Draft
Conversation
Contributor
|
|
|
✅ All CI checks and tests passed. 🎉 All green!🧪 All tests passed 🔗 Commit SHA: 4282625 | Docs | View more details | Give us feedback! |
mabdinur
force-pushed
the
brian.marks/otel-metrics-lifecycle
branch
5 times, most recently
from
September 1, 2026 21:47
cdc4d02 to
b2e03aa
Compare
mabdinur
force-pushed
the
brian.marks/otel-metrics-lifecycle
branch
from
September 1, 2026 22:08
b2e03aa to
4282625
Compare
mabdinur
approved these changes
Sep 2, 2026
mabdinur
left a comment
Contributor
There was a problem hiding this comment.
Reviewed the deterministic lifecycle validation and SDK adapters. CI is green.
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.
Motivation
Datadog's OTel metrics lifecycle support needs shared provider-level coverage without relying on process-exit hooks.
Changes
force_flushandshutdownexport one exact pending DELTA metric before returning.v1.66.0and Node.js fromv7.0.0for their Datadog lifecycle extensions.Live runs passed 2/2 on Python 4.14.0, Go 2.10.1, Ruby 2.42.0, and Rust 0.5.2. Java 1.65.1 and Node.js 6.13.0 confirmed their release gates.
Companion PRs: Java #12317, Node.js #10023, and documentation #39515.
Workflow
Reviewer checklist
tests/ormanifests/is modified: R&P approval is required.