Report Airflow errors to Sentry
Summary:
As Airflow is an automated process, it's probably a good idea
to monitor carefully errors and send them to Sentry.
A custom image installs apache-airflow[sentry] and so sentry-sdk
Python package.
The pillar file services/monitoring-reporting.sls allows
to use credentials.get_sentry_dsn everywhere.
References:
- https://docs.sentry.io/platforms/python/guides/airflow/
- https://airflow.apache.org/docs/apache-airflow/stable/administration-and-deployment/logging-monitoring/errors.html
Ref T1812
Test Plan:
- create new org for external tools in Sentry
- configure integration
- got first issue about triggerer too slow lock
Reviewers: dereckson
Reviewed By: dereckson
Maniphest Tasks: T1812
Differential Revision: https://devcentral.nasqueron.org/D2952