Skip to content

[airflow_otel] add new content pack#17786

Merged
jakubgalecki0 merged 14 commits intoelastic:mainfrom
jakubgalecki0:airflow_otel_cp
Apr 8, 2026
Merged

[airflow_otel] add new content pack#17786
jakubgalecki0 merged 14 commits intoelastic:mainfrom
jakubgalecki0:airflow_otel_cp

Conversation

@jakubgalecki0
Copy link
Copy Markdown
Contributor

Proposed commit message

Generated Kibana content for Apache Airflow monitoring via the OTel Airflow receiver: 4 dashboards (overview, tasks, DAG processing, scheduler capacity), 11 alert rules (heartbeat, executor saturation, task failures, scheduling delays, DAG import errors, etc.) and 3 SLO templates (task success rate, scheduler loop duration, DAG import error rate).

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.
  • I have verified that any added dashboard complies with Kibana's Dashboard good practices

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Screenshots

@jakubgalecki0 jakubgalecki0 requested a review from a team as a code owner March 12, 2026 16:24
@jakubgalecki0 jakubgalecki0 changed the title Airflow otel cp [airflow_otel] add new content pack Mar 12, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Vale Linting Results

Summary: 2 warnings found

⚠️ Warnings (2)
File Line Rule Message
packages/airflow_otel/docs/README.md 3 Elastic.Latinisms Latin terms and abbreviations are a common source of confusion. Use 'using' instead of 'via'.
packages/airflow_otel/docs/README.md 21 Elastic.Latinisms Latin terms and abbreviations are a common source of confusion. Use 'using' instead of 'via'.

The Vale linter checks documentation changes against the Elastic Docs style guide.

To use Vale locally or report issues, refer to Elastic style guide for Vale.

@andrewkroh andrewkroh added New Integration Issue or pull request for creating a new integration package. dashboard Relates to a Kibana dashboard bug, enhancement, or modification. documentation Improvements or additions to documentation. Applied to PRs that modify *.md files. labels Mar 15, 2026
@strawgate
Copy link
Copy Markdown
Contributor

I ran kb-dashboard 0.4.0 upgrade validation on this PR in an isolated worktree.

Results

  • packages/airflow_otel/_dev/shared
    • upgrade --fail-on-change exit: 1
    • upgrade --write exit: 0
    • post-upgrade compile --format elastic-integrations exit: 0

Upgrade and post-upgrade compile succeeded with 0.4.0.
Please apply these commands in your branch and commit both YAML + regenerated JSON artifacts.

Suggested commands:

uvx --from kb-dashboard-cli==0.4.0 kb-dashboard upgrade --input-dir packages/airflow_otel/_dev/shared --write
uvx --from kb-dashboard-cli==0.4.0 kb-dashboard compile --input-dir packages/airflow_otel/_dev/shared --output-dir packages/airflow_otel/kibana/dashboard --format elastic-integrations

Copy link
Copy Markdown
Contributor

@mykola-elastic mykola-elastic Apr 6, 2026

Choose a reason for hiding this comment

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

Is it possible to load (or even stress test) the airflow a bit with some DAGs so that dashboard has some data, not just "0" and "N/A"? Maybe with the help of Claude/Cursor/...

changes:
- description: initial release
type: enhancement
link: ""
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
link: ""
link: "https://github.com/elastic/integrations/pull/17786"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

please address this one.

Comment on lines +53 to +71
```yaml
receivers:
statsd:
endpoint: 0.0.0.0:8125
transport: udp

exporters:
elasticsearch/otel:
endpoints: [<ES_ENDPOINT>]
api_key: ${env:ELASTICSEARCH_API_KEY}
mapping:
mode: otel

service:
pipelines:
metrics:
receivers: [statsd]
exporters: [elasticsearch/otel]
```
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

not sure if that's an improvement here, but it is possible to change the dataset data stream name like in this example: https://github.com/elastic/integrations/pull/17757/changes#diff-cef028242d40a61d0afab7399295d79d745fc777b027ca8f8227ae94ff2cf930R51-R56

So that we can have something like airflow.otel instead of statsdreceiver.otel which is generic

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We should have the service specific data stream name. Please add it via a processor in the config of OTel and also update it to the README.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Updated dataset. Thanks!

@muthu-mps
Copy link
Copy Markdown
Contributor

  • The data_stream.dataset filter is applied only on the Overview dashboard but appears to be missing from the remaining dashboards. Could you verify?
  • Tasks & Errors dashboards. Task Duration**(Example DAG)**. Does this require Example? When the panel axis display precise values which goes up to hours. Is it okay to remove the mentions of (ms). WDYT?

@elasticmachine
Copy link
Copy Markdown

💚 Build Succeeded

History

@jakubgalecki0 jakubgalecki0 merged commit ccd2400 into elastic:main Apr 8, 2026
11 checks passed
@elastic-vault-github-plugin-prod
Copy link
Copy Markdown

Package airflow_otel - 0.1.0 containing this change is available at https://epr.elastic.co/package/airflow_otel/0.1.0/

@andrewkroh andrewkroh added the Integration:airflow_otel Airflow OpenTelemetry label Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dashboard Relates to a Kibana dashboard bug, enhancement, or modification. documentation Improvements or additions to documentation. Applied to PRs that modify *.md files. Integration:airflow_otel Airflow OpenTelemetry New Integration Issue or pull request for creating a new integration package.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants