Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Airflow version to determine health endpoint #16646

Merged
merged 4 commits into from
Jan 25, 2024

Conversation

Kyle-Neale
Copy link
Contributor

@Kyle-Neale Kyle-Neale commented Jan 17, 2024

What does this PR do?

Uses Airflow's stable API to get version and determines which health endpoint needs to be hit for our service check.

Motivation

https://datadoghq.atlassian.net/browse/FRAGENT-2003

Additional Notes

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Changelog entries must be created for modifications to shipped code
  • Add the qa/skip-qa label if the PR doesn't need to be tested during QA.

@ghost ghost added the integration/airflow label Jan 17, 2024
Copy link

codecov bot commented Jan 17, 2024

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (a1380e9) 90.33% compared to head (3b71722) 90.54%.
Report is 54 commits behind head on master.

❗ Current head 3b71722 differs from pull request most recent head 6fab204. Consider uploading reports for the commit 6fab204 to get more accurate results

Additional details and impacted files
Flag Coverage Δ
activemq ?
airflow 90.00% <97.05%> (+0.42%) ⬆️
cassandra ?
hive ?
hivemq ?
ignite ?
jboss_wildfly ?
presto ?
solr ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Copy link

github-actions bot commented Jan 17, 2024

Test Results

 8 files   8 suites   7m 12s ⏱️
10 tests  9 ✅ 1 💤 0 ❌
44 runs  36 ✅ 8 💤 0 ❌

Results for commit 6fab204.

♻️ This comment has been updated with latest results.

@Kyle-Neale Kyle-Neale changed the title use version to determine health endpoint Use Airflow version to determine health endpoint Jan 17, 2024
@Kyle-Neale Kyle-Neale marked this pull request as ready for review January 22, 2024 15:31
@Kyle-Neale Kyle-Neale requested a review from a team as a code owner January 22, 2024 15:31
Copy link
Contributor

@iliakur iliakur left a comment

Choose a reason for hiding this comment

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

Thanks! A couple things we wanna fix and then we good to go!

airflow/datadog_checks/airflow/airflow.py Outdated Show resolved Hide resolved
airflow/datadog_checks/airflow/airflow.py Outdated Show resolved Hide resolved
airflow/tests/test_unit.py Outdated Show resolved Hide resolved
airflow/datadog_checks/airflow/airflow.py Outdated Show resolved Hide resolved
airflow/datadog_checks/airflow/airflow.py Outdated Show resolved Hide resolved
airflow/datadog_checks/airflow/airflow.py Outdated Show resolved Hide resolved
airflow/tests/test_unit.py Outdated Show resolved Hide resolved
@Kyle-Neale Kyle-Neale merged commit fa22660 into master Jan 25, 2024
34 checks passed
@Kyle-Neale Kyle-Neale deleted the kyleneale/remove_inaccurate_warn_message branch January 25, 2024 20:22
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.

None yet

3 participants