Skip to content

Five "otel_*" options appear twice in the "Configuration Reference" #43366

Closed

Description

@bart113

What do you see as an issue?

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.

Here's a list of the duplicated options:

  • otel_debugging_on
  • otel_host
  • otel_on
  • otel_port
  • otel_ssl_active

If you search for them on this page: https://airflow.apache.org/docs/apache-airflow/2.10.2/configurations-ref.html, you'll see that each of them occurs twice.

Solving the problem

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.

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. added
    kind:bug
    needs-triage
    on Oct 24, 2024
  2. added and removed
    needs-triage
    on Oct 24, 2024
  3. potiuk commented on Oct 24, 2024

    @potiuk
    Member

    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.

  4. InderParmar commented on Oct 25, 2024

    @InderParmar

    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.

  5. potiuk commented on Oct 25, 2024

    @potiuk
    Member

    Absolutely - feel free !

  6. InderParmar commented on Oct 25, 2024

    @InderParmar

    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.

  7. ferruzzi commented on Feb 6, 2025

    @ferruzzi
    Contributor

    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.

  8. github-actions commented on Feb 7, 2026

    @github-actions
    Contributor

    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.

  9. potiuk commented on Mar 2, 2026

    @potiuk
    Member

    @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.

  10. added
    needs-triage
    and removed on Mar 3, 2026
  11. GirishRGowda commented on Jul 19, 2026

    @GirishRGowda

    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.

  12. ferruzzi commented on Jul 20, 2026

    @ferruzzi
    Contributor

    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?

  13. GirishRGowda commented on Jul 21, 2026

    @GirishRGowda

    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.

  14. br413 commented on Aug 5, 2026

    @br413
    Contributor

    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.

  15. potiuk commented on Aug 14, 2026

    @potiuk
    Member

    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.

  16. added a commit that references this issue on Aug 25, 2026
    37dd6c8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issuekind:bugkind:documentationneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions