Skip to content

opentelemetry-sdk: add validation for export_timeout_millis <= 0 - #5693

Closed
dajiaohuang wants to merge 2 commits into
open-telemetry:mainfrom
dajiaohuang:fix/export-timeout-validation
Closed

dajiaohuang wants to merge 2 commits into
open-telemetry:mainfrom
dajiaohuang:fix/export-timeout-validation

Conversation

@dajiaohuang

Copy link
Copy Markdown

Fixes #5655 and #5648.

This PR adds validation to ensure that is a positive value for:

Previously, passing a zero or negative value would not raise an error and could lead to unexpected behavior.

@dajiaohuang
dajiaohuang requested a review from a team as a code owner September 25, 2026 15:31
@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

Pull request dashboard status

Closed · refreshed 2026-09-25 18:57 UTC

Status above doesn't look right?
  • Anything look wrong? Report it with what you expected; it helps us improve the dashboard.

@herin049

herin049 commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

We already have a PR open for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[bug] PeriodicExportingMetricReader missing validation for export_timeout_millis <= 0

2 participants