Open shuvaevv opened 1 year ago
Hello,
This PR looks helpful, but unfortunately the CI pipeline for this project was canned by security during an incident related to Azure. I'll have to rewrite it in GitHub Actions before we can merge anything. I'll get back to this as soon as we have a new CI in place.
As of right now we don't have plans to finish fixing the CI, so this is unlikely to be merged or released. We're in talks of archiving this project as it's nowhere near as stable as the builtin OpenTelemetry offering.
If you'd like to give that a try, I'd highly recommend it over the current state of this plugin.
I put up a new documentation page about it here
@TimPansino I can confirm that this works in Airflow 2.9.3, can we please merge this?
Otherwise, people won't be able to use the newrelic-airflow-plugin
with Airflow 2.6+
@TimPansino I also want to highlight that Airflow has a critical issue in its OpenTelemetry integrations, which will cause tasks to fail if the OpenTelemetry endpoint is down:
The NewRelic needs to fix this issue in airflow if you don't intend to support this plugin anymore.
Closes: #40
Fix the
DummyStatsLogger
import. This bug appeared because DummyStatsLogger was renamed to NoStatsLogger in Airflow v2.6.0. The import of theDummyStatsLogger
is try-excepted, so theDummyStatsLogger
class is None. It leads to theAttributeError: 'NoneType' object has no attribute 'incr'
.Fix the
unexpected keyword argument
error after the "tag" argument was added to StatsLogger in Airflow v2.6.0