You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "jakubmatyszewski (via GitHub)" <gi...@apache.org> on 2026/05/04 12:38:29 UTC
[I] Triggerer keeps crashing after DeadlineAlert is triggered with OTeL enabled [airflow]
jakubmatyszewski opened a new issue, #66353:
URL: https://github.com/apache/airflow/issues/66353
### Under which category would you file this issue?
Airflow Core
### Apache Airflow version
3.2.1
### What happened and how to reproduce it?
Airflow Triggerer keeps crashing due to `TypeError` after a DeadlineAlert was triggered.
Error:
```
File "/home/airflow/.local/lib/python3.13/site-packages/airflow/models/callback.py", line 234, in handle_event
Stats.incr(**self.get_metric_info(status, self.output))
(...)
File ".../opentelemetry/sdk/metrics/_internal/_view_instrument_match.py", line 105, in consume_measurement
aggr_key = frozenset(attributes.items())
TypeError: unhashable type: 'dict'
```
How to reproduce
---
1. Start Airflow with OTeL enabled (the OTel endpoint doesn't need to be reachable - the crash happens before any export).
2. Spawn task that will trigger DeadlineAlert.
### What you think should happen instead?
Triggerer should serialize DeadlineAlert's callback - OTel's `_view_instrument_match.consume_measurement` calls `frozenset(attributes.items())` which requires all values to be hashable.
### Operating System
ubuntu
### Deployment
None
### Apache Airflow Provider(s)
_No response_
### Versions of Apache Airflow Providers
_No response_
### Official Helm Chart version
Not Applicable
### Kubernetes Version
_No response_
### Helm Chart configuration
_No response_
### Docker Image customizations
_No response_
### Anything else?
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Triggerer keeps crashing after DeadlineAlert is triggered with OTeL enabled [airflow]
Posted by "manipatnam (via GitHub)" <gi...@apache.org>.
manipatnam commented on issue #66353:
URL: https://github.com/apache/airflow/issues/66353#issuecomment-4618591147
This is already fixed in #67527
We can close this issue
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Triggerer keeps crashing after DeadlineAlert is triggered with OTeL enabled [airflow]
Posted by "jakubmatyszewski (via GitHub)" <gi...@apache.org>.
jakubmatyszewski closed issue #66353: Triggerer keeps crashing after DeadlineAlert is triggered with OTeL enabled
URL: https://github.com/apache/airflow/issues/66353
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Triggerer keeps crashing after DeadlineAlert is triggered with OTeL enabled [airflow]
Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #66353:
URL: https://github.com/apache/airflow/issues/66353#issuecomment-4371098711
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org