Open ferruzzi opened 1 year ago
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.
not stale
Apache Airflow version
2.6.2
What happened
There is an issue with the
airflow_ti.start.<dag_id>.<task_id>.<state>
andairflow_ti.finish.<dag_id>.<task_id>.<state>
metrics when running Airflow with OpenTelemetry. Both of those get emitted when run with StatsD but are flaky under OTel.I am submitting this as an Issue since I will be a little distracted for the next bit and figured someone may be able to have a look in the meantime. Please do not assign it to me, I'll get it when I can is nobody else does.
What you think should happen instead
Behavior should be consistent.
How to reproduce
To reproduce, you can run Breeze with the statsd or the otel integration (for example
breeze start-airflow --integration otel
) and run one or more of the following DAGs, then open the OTel or StatsD raw data view to verify.These two DAGs don't generate any
airflow_ti_finish.*
metrics:but this one:
triggers all of the following....
Of note: it hit every stage and reported on it, and of note, it's only reporting for that one particular method (sleep_30) so perhaps that's my misunderstanding of when/why it gets triggered.
Things I have tried and (possibly?) ruled out
schedule
but scheduling the other two DAGs does not get the metric emitted so it is unlikely to be a scheduled/manual issue.Operating System
ubuntu
Versions of Apache Airflow Providers
No response
Deployment
Docker-Compose
Deployment details
No response
Anything else
No response
Are you willing to submit PR?
Code of Conduct