-
|
I'm looking for a way to identify failed to load DAGs by the dag-processor. I can't find a log anywhere for the failure. I'm running the current helm chart version |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
|
Dag processor containers have log files in "logs" dir - as any other component. Depending on your versio of Airflow, the import erros are also stored in the DB and available in Airflow UI - surfaced via notification in the dag list screen. Not sure what other errors you might look for - but those are the two places where the logs / errors from dag processing are present |
Beta Was this translation helpful? Give feedback.
-
|
I found #37122 and https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#dag-processor-log-target I set But doesn't seem to be sending those logs to stdout. However in |
Beta Was this translation helpful? Give feedback.
-
|
I can also find the errors by running |
Beta Was this translation helpful? Give feedback.
-
|
If you are using statsd you can use the |
Beta Was this translation helpful? Give feedback.
If you are using statsd you can use the
airflow_dag_processing_import_errorsprometheus metric.