Skip to content

Clarify boundaries of numeric env vars#4331

Merged
jack-berg merged 15 commits intoopen-telemetry:mainfrom
jack-berg:clarify-number-env-var-bounds
Jan 15, 2025
Merged

Clarify boundaries of numeric env vars#4331
jack-berg merged 15 commits intoopen-telemetry:mainfrom
jack-berg:clarify-number-env-var-bounds

Conversation

@jack-berg
Copy link
Copy Markdown
Member

@jack-berg jack-berg commented Dec 9, 2024

Resolves #4283.

  • Adds new guidance indicates that for timeout variables, "implementations SHOULD interpret timeout values of zero as indefinite".
  • Clarifies range of acceptable values for OTEL_ATTRIBUTE_* / OTEL_SPAN_ATTRIBUTE_* / OTEL_LOGRECORD_ATTRIBUTE_*, OTEL_BSP_MAX_QUEUE_SIZE, OTEL_BLRP_MAX_QUEUE_SIZE.

Related PR to opentelemetry-configuration: open-telemetry/opentelemetry-configuration#151

@jack-berg jack-berg requested review from a team December 9, 2024 23:57
@reyang
Copy link
Copy Markdown
Member

reyang commented Dec 10, 2024

Need a changelog entry.

carlosalberto added a commit that referenced this pull request Dec 21, 2024
Related to #4283.

A
[comment](#4331 (comment))
adding a "type" column to each env var, but didn't feel appropriate to
extend scope of #4331.

---------

Co-authored-by: Carlos Alberto Cortez <calberto.cortez@gmail.com>
Co-authored-by: Reiley Yang <reyang@microsoft.com>
@github-actions
Copy link
Copy Markdown

This PR was marked stale due to lack of activity. It will be closed in 7 days.

Copy link
Copy Markdown
Member

@trask trask left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of non-blocking comments above

@jack-berg
Copy link
Copy Markdown
Member Author

I pushed a small re-org per @trask's comment, and thus will plan on keeping this open until Wednesday 1/15 in case there are further comments.

@jack-berg jack-berg merged commit d46ad22 into open-telemetry:main Jan 15, 2025
@carlosalberto carlosalberto mentioned this pull request Jan 22, 2025
carlosalberto added a commit that referenced this pull request Jan 22, 2025
### Logs

- Remove the deprecated Events API and SDK in favor of having Events
support in the Logs API and SDK.

([#4353](#4353))
- Remove `Logger`'s Log Instrumentation operations.

([#4352](#4352))
- Make all `Logger` operations user-facing.

([#4352](#4352))

### SDK Configuration

- Clarify that implementations should interpret timeout environment
variable values of zero as no limit (infinity).

([#4331](#4331))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clarify that exporter timeout settings must be positive

8 participants