Skip to content

Clarify OpenTelemetry Metrics & Traces Configuration - #67081

Closed
everetch wants to merge 1 commit into
apache:mainfrom
everetch:fix-otel-documentation
Closed

everetch wants to merge 1 commit into
apache:mainfrom
everetch:fix-otel-documentation

Conversation

@everetch

@everetch everetch commented May 18, 2026 •

Copy link
Copy Markdown

It add explanatory comments to reduce confusion of the use of otel_* in the OpenTelemetry metrics vs OpenTelemetry traces configuration.

Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

Note

🛠️ Maintainer triage note for @everetch · by @potiuk · 2026-06-18 21:56 UTC

Closing to keep the review queue clean — this draft was triaged ~9 days ago and there's been no update since:

Automated triage — may be imperfect; a maintainer takes the next look.

@boring-cyborg

boring-cyborg Bot commented May 18, 2026

Copy link
Copy Markdown

Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contributors' Guide
Here are some useful points:

  • Pay attention to the quality of your code (ruff, mypy and type annotations). Our prek-hooks will help you with that.
  • In case of a new feature add useful documentation (in docstrings or in docs/ directory). Adding a new operator? Check this short guide Consider adding an example Dag that shows how users should use it.
  • Consider using Breeze environment for testing locally, it's a heavy docker but it ships with a working Airflow and a lot of integrations.
  • Be patient and persistent. It might take some time to get a review or get the final approval from Committers.
  • Please follow ASF Code of Conduct for all communication including (but not limited to) comments on Pull Requests, Mailing list and Slack.
  • Be sure to read the Airflow Coding style.
  • Always keep your Pull Requests rebased, otherwise your build might fail due to changes not related to your commits.
    Apache Airflow is a community-driven project and together we are making it better 🚀.
    In case of doubts contact the developers at:
    Mailing List: [email protected]
    Slack: https://s.apache.org/airflow-slack

@potiuk

potiuk commented May 18, 2026

Copy link
Copy Markdown
Member

@everetch A few things need addressing before review — see our Pull Request quality criteria.

  • ❌ Pre-commit / static checks — Failing: CI image checks / Static checks. See docs.

No rush.


Note: This comment was drafted by an AI-assisted triage tool and may contain mistakes. Once you have addressed the points above, an Apache Airflow maintainer — a real person — will take the next look at your PR. We use this two-stage triage process so that our maintainers' limited time is spent where it matters most: the conversation with you.


Drafted-by: Claude Code (Opus 4.7); reviewed by @potiuk before posting

@bobu-putheeckal

Copy link
Copy Markdown

Thanks for working on this. I took a quick look at #43366 and tried a local patch against current main to understand where the confusion comes from.

One thing I noticed: this PR currently adds YAML comments above the [metrics] section, but the generated Configuration Reference appears to render the section and option descriptions from config.yml, not plain YAML comments. So I don't think the added comments will show up on the docs page that #43366 is about.

A slightly different fix may be more effective:

  • keep both [metrics] otel_* and [traces] otel_* options, since they configure separate features
  • update the rendered metrics.description and traces.description to explicitly say metrics OpenTelemetry settings configure metric export only, and traces settings configure trace export only
  • adjust the metrics OpenTelemetry option descriptions that currently mention traces, for example [metrics] otel_host, otel_interval_milliseconds, and otel_service

That seems to preserve the point raised in #43366 without repeating the earlier #43389 approach of removing metrics options. Happy to help with a patch if that direction sounds useful.

@potiuk

potiuk commented May 24, 2026

Copy link
Copy Markdown
Member

@everetch A few things need addressing before review — see our Pull Request quality criteria.

  • ❌ Static checks fail: CI image checks / Static checks. See the Checks tab.

No rush.


Note: This comment was drafted by an AI-assisted triage tool and may contain mistakes. Once you have addressed the points above, an Apache Airflow maintainer — a real person — will take the next look at your PR. We use this two-stage triage process so that our maintainers' limited time is spent where it matters most: the conversation with you.


Drafted-by: Claude Code (Opus 4.7); reviewed by @potiuk before posting

@potiuk

potiuk commented May 26, 2026

Copy link
Copy Markdown
Member

@everetch A few things need addressing before review — see our Pull Request quality criteria.

  • ❌ Pre-commit / static checks. See docs.

No rush.


Note: This comment was drafted by an AI-assisted triage tool and may contain mistakes. Once you have addressed the points above, an Apache Airflow maintainer — a real person — will take the next look at your PR. We use this two-stage triage process so that our maintainers' limited time is spent where it matters most: the conversation with you.


Drafted-by: Claude Code (Opus 4.7); reviewed by @potiuk before posting

@potiuk

potiuk commented Jun 9, 2026

Copy link
Copy Markdown
Member

@everetch Converting to draft — this PR does not yet meet our Pull Request quality criteria.

  • ❌ Pre-commit / static checks. See docs.

See the linked criteria for how to fix each item, then mark the PR "Ready for review". This is not a rejection — just an invitation to bring the PR up to standard. No rush.

Note: This comment was drafted by an AI-assisted triage tool and may contain mistakes. Once you have addressed the points above, an Apache Airflow maintainer — a real person — will take the next look at your PR. We use this two-stage triage process so that our maintainers' limited time is spent where it matters most: the conversation with you.

@potiuk
potiuk marked this pull request as draft June 9, 2026 08:27
@potiuk

potiuk commented Jun 18, 2026

Copy link
Copy Markdown
Member

Closing as a stale triaged draft — no update in ~9 days since the triage note. No worries: reopen this or open a fresh PR whenever you're ready to continue. Thanks for the contribution!

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.

3 participants