Remove duplicate otel_* options from [metrics] section - #71351
Open
armorbreak001 wants to merge 1 commit into
Open
Remove duplicate otel_* options from [metrics] section#71351armorbreak001 wants to merge 1 commit into
armorbreak001 wants to merge 1 commit into
Conversation
Fixes apache#43366 The otel_on, otel_host, otel_port, otel_debugging_on, and otel_ssl_active options were moved to [traces] in ccf1202 but the copies in [metrics] were not removed, causing them to appear twice in the Configuration Reference documentation. This removes the duplicate entries from [metrics], keeping only the [traces] versions which are the canonical location.
uros-b
approved these changes
Aug 10, 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.
Summary
Fixes #43366 — Five
otel_*configuration options (otel_on,otel_host,otel_port,otel_debugging_on,otel_ssl_active) appear twice in the Configuration Reference documentation: once under[metrics]and once under[traces].These options were moved from
[metrics]to[traces]in commit ccf1202, but the original copies in[metrics]were not removed.Changes
File:
airflow-core/src/airflow/config_templates/config.ymlRemoved the 5 duplicate option blocks (79 lines) from the
[metrics]section. The canonical versions remain intact in the[traces]section.The following options were kept in
[metrics](not duplicated in traces):otel_prefix— metrics-specific prefixotel_interval_milliseconds— send interval for metricsotel_service— also present in both sections (left as-is since not mentioned in the issue)Verification
After this change, searching for each of the 5 removed options in config.yml returns exactly 1 result (the
[traces]version) instead of 2.