Skip to content

Conversation

@mx-psi
Copy link
Member

@mx-psi mx-psi commented Nov 5, 2025

Updates #4344

Changes

Clarifies that environment variable guidance regarding boolean values is not applicable to other configuration interfaces. This does not explicitly state what the guidance should be in other cases.

…uidance is not applicable to other configuration interfaces
@mx-psi mx-psi force-pushed the mx-psi/not-applicable branch from a7872e5 to 2e2811e Compare November 5, 2025 13:08
Copy link
Contributor

@dashpole dashpole left a comment

Choose a reason for hiding this comment

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

I agree with the intent of the change, but it seems like it will create more confusion to me, as it implies (but doesn't specify) that the rest of the document applies to declarative configuration. I would prefer splitting the env var spec into a "common" config spec (excluding the boolean spec), and the env var spec with the current bool spec + anything else that only applies to env vars.

@mx-psi
Copy link
Member Author

mx-psi commented Nov 6, 2025

Makes sense, I will wait for a few more days and apply the suggested change if there is no dissent :)

github-merge-queue bot pushed a commit to open-telemetry/opentelemetry-collector that referenced this pull request Nov 7, 2025
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

<!-- Issue number if applicable -->

Marks `configoptional.AddEnabledField` as beta. I have verified that it
would work correctly for cookies configuration and made a PoC for
keepalives (I will push a PR for it after this PR has been merged).

I spent some time updating
open-telemetry/opentelemetry-specification/issues/4344 and filed
open-telemetry/opentelemetry-specification/pull/4723 as a way to
explicitly state that the guidance only applies to environment
variables. The issue remains unresolved, but given the current usages of
`enabled` (see
open-telemetry/opentelemetry-specification#4344 (comment))
I don't see a reason to not go forward with this.

#### Link to tracking issue
Updates #14021
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