You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Five "otel_*" options appear twice in the "Configuration Reference" #43366
In ccf1202 five configuration options have been moved from the "metrics" section to the "traces" section. Unfortunately, they have also been left in "metrics" untouched, and now they are effectively duplicated in the documentation. This is unfortunate, because users cannot easily tell what's the difference between them and which option should they prefer to use.
The problem can be solved by removing the [metrics] otel_* options from the airflow/config_templates/config.yml file (and keeping the [traces] otel_* options intact).
Anything else
The newer options also have descriptions that do not render as nicely as the old ones in the documentation (the markdown highlights are gone). It may be a good moment to fix this.
Hi, I am eager to work on this issue, can you please assign this issue to me, i will start working on it asap, and can you do me a favour by adding the "hacktoberfest" label to this issue.
Hi, @bart113 , @potiuk , can you please review the PR, and if possible, can you please add the "Hacktoberfest" label on this issue, that will be great.
Also, please let me know if there are any concerns regarding the PR.
Here is the summary of the changes done:
Removed Duplicated Options: The following otel_* options were removed from the [metrics] section in config.yml:
otel_debugging_on
otel_host
otel_on
otel_port
otel_ssl_active
Formatting Update in Traces Section: Improved markdown consistency in the [traces] section for better documentation clarity.
Deprecated Options Added: Added otel_* options to the deprecated list in configuration.py, directing users to the correct [traces] section options.
They weren't moved, there is a set of options for the metrics and a set for traces, they are two separate features which CAN both handled by otel but are not necessarily. A user could use statsd for metrics and otel for traces, or use otel for metrics and not want to enable traces at all, or have metrics and traces sent to two different frontend clients, etc. Some change may be suitable, but simply removing the metrics settings is not the right answer.
This issue has been automatically marked as stale because it has been open for 365 days without any activity. There has been several Airflow releases since last activity on this issue. Kindly asking to recheck the report against latest Airflow version and let us know if the issue is reproducible. The issue will be closed in next 30 days if no further activity occurs from the issue author.
This is not meant to discourage your contribution — quite the opposite! You are still very welcome to work on this issue and submit a PR for it. Simply comment that you are working on it and open a PR when ready.
We found that formal assignments were not working well, as they often prevented others from contributing when the assignee was not actively working on the issue.
Given @ferruzzi's point that metrics and traces are separate features each needing their own otel_* options, would a PR that keeps both sections but rewrites the descriptions to clearly distinguish them (and fixes the markdown rendering in [traces]) be the accepted resolution here? Happy to pick it up on that basis — also curious why #67081 didn't land, in case there's context I should know.
Thanks! I'll rephrase the descriptions so the [metrics] and [traces] otel_* options clearly state which signal each configures, and fix the markdown rendering in [traces]. Will open a PR shortly.
Picking this up following @ferruzzi's guidance (keep both [metrics]\ and [traces]\ \otel_*\ options; clarify which signal each configures) and the approach in closed #70837.\n\nPlan:\n- Fix incorrect cross-signal wording in [metrics]\ (\otel_host, \otel_interval_milliseconds, \otel_service)\n- Add explicit metrics-vs-traces notes on \otel_on\ in both sections\n- Restore literal markup in [traces]\ (\True\, \config.yml\, etc.)\n\nOpening a PR shortly.
Your messsages are automated on this and previous issue - and asking for assignment means that you have not read the contribution guidelines (we do not assign issues) - you are free to work on it as you wish though - but part of the contribution is working out a good way of implementing it - without necessarily AI involved in discussing it, present YOUR (not your AI) understanding of the issue and Airflow in the PR .. Start from that.
Activity
potiuk commentedon Oct 24, 2024
Can you please fix it maybe and make a PR for that ? Better fix should be to add them to deprecated options here: https://github.com/apache/airflow/blob/main/airflow/configuration.py#L347 - otherwise I marked it as "good first issue" and it will have to wait for someone to pick it up.
InderParmar commentedon Oct 25, 2024
Hi, I am eager to work on this issue, can you please assign this issue to me, i will start working on it asap, and can you do me a favour by adding the "hacktoberfest" label to this issue.
potiuk commentedon Oct 25, 2024
Absolutely - feel free !
InderParmar commentedon Oct 25, 2024
Hi, @bart113 , @potiuk , can you please review the PR, and if possible, can you please add the "Hacktoberfest" label on this issue, that will be great.
Also, please let me know if there are any concerns regarding the PR.
Here is the summary of the changes done:
Removed Duplicated Options: The following otel_* options were removed from the [metrics] section in config.yml:
Formatting Update in Traces Section: Improved markdown consistency in the [traces] section for better documentation clarity.
Deprecated Options Added: Added otel_* options to the deprecated list in configuration.py, directing users to the correct [traces] section options.
ferruzzi commentedon Feb 6, 2025
They weren't moved, there is a set of options for the metrics and a set for traces, they are two separate features which CAN both handled by otel but are not necessarily. A user could use statsd for metrics and otel for traces, or use otel for metrics and not want to enable traces at all, or have metrics and traces sent to two different frontend clients, etc. Some change may be suitable, but simply removing the metrics settings is not the right answer.
github-actions commentedon Feb 7, 2026
This issue has been automatically marked as stale because it has been open for 365 days without any activity. There has been several Airflow releases since last activity on this issue. Kindly asking to recheck the report against latest Airflow version and let us know if the issue is reproducible. The issue will be closed in next 30 days if no further activity occurs from the issue author.
potiuk commentedon Mar 2, 2026
@InderParmar We are unassigning you from this issue as part of our updated assignment policy.
This is not meant to discourage your contribution — quite the opposite! You are still very welcome to work on this issue and submit a PR for it. Simply comment that you are working on it and open a PR when ready.
We found that formal assignments were not working well, as they often prevented others from contributing when the assignee was not actively working on the issue.
GirishRGowda commentedon Jul 19, 2026
Given @ferruzzi's point that metrics and traces are separate features each needing their own otel_* options, would a PR that keeps both sections but rewrites the descriptions to clearly distinguish them (and fixes the markdown rendering in [traces]) be the accepted resolution here? Happy to pick it up on that basis — also curious why #67081 didn't land, in case there's context I should know.
ferruzzi commentedon Jul 20, 2026
Yeah, if you want to rephrase the docs for a bit more clarity I think that could be helpful. It looks to me like 67081 was just abandoned?
GirishRGowda commentedon Jul 21, 2026
Thanks! I'll rephrase the descriptions so the [metrics] and [traces] otel_* options clearly state which signal each configures, and fix the markdown rendering in [traces]. Will open a PR shortly.
br413 commentedon Aug 5, 2026
Picking this up following @ferruzzi's guidance (keep both [metrics]\ and [traces]\ \otel_*\ options; clarify which signal each configures) and the approach in closed #70837.\n\nPlan:\n- Fix incorrect cross-signal wording in [metrics]\ (\otel_host, \otel_interval_milliseconds, \otel_service)\n- Add explicit metrics-vs-traces notes on \otel_on\ in both sections\n- Restore literal markup in [traces]\ (\True\, \config.yml\, etc.)\n\nOpening a PR shortly.
potiuk commentedon Aug 14, 2026
Your messsages are automated on this and previous issue - and asking for assignment means that you have not read the contribution guidelines (we do not assign issues) - you are free to work on it as you wish though - but part of the contribution is working out a good way of implementing it - without necessarily AI involved in discussing it, present YOUR (not your AI) understanding of the issue and Airflow in the PR .. Start from that.
docs: clarify otel_* options for metrics vs traces (#71158)