Apache Airflow
If you are making use of the official apache helm chart, make sure the statsd exporter is enabled with proper service annotations, if not, you can enable it by adding the following snippet to the values.yaml file of the airflow deployment:
You will also need to add the following extraMappings snippet under the statsd configurations of the values.yaml file of the airflow deployment:
The Airflow Cluster Dashboard can be added into your grafana instance for Visualization.
If you are making use of the community helm chart, you can enable metrics instrumentaion by following any of the below mentioned methods.
Update your airflow deployment using the helm upgrade command and you should be able to see metrics coming to your Grafana.
If you are making use of the community helm chart, you can configure your Airflow instance to send traces to your Grafana.
Tracing can only be configured if you are using Airflow version 2.10.1 and above. For the versions below that, airflow does not support traces instrumentation.
To configure tracing, please add the traces configuration and the apache-airflow[otel] package for your airflow by updating values.yaml as follows -
For more configuration options for traces, you can check the Airlfow traces documentation.
If you set otel_debugging_on to True, airflow will print traces to the console instead of sending it to configured host.
Update your airflow deployment using the helm upgrade command and you should be able to see traces coming to your Grafana.