kimyen opened a new issue #17920:
URL: https://github.com/apache/airflow/issues/17920


   ### Official Helm Chart version
   
   1.1.0 (latest released)
   
   ### Apache Airflow version
   
   2.0.2
   
   ### Kubernetes Version
   
   1.19.11
   
   ### Helm Chart configuration
   
   ```
   statsd:
     enabled: true
     nodeSelector:
       github.com/poolname: airflow
     extraMappings:
       - match: "airflow.*_start"
          name: "airflow.job.start"
          tags:
             job_name: "$1"
   ```
   
   ### Docker Image customisations
   
   None
   
   ### What happened
   
   In `airflow-statsd` configmap in K8s, I see:
   ```
     - match: airflow.*_start
       name: airflow.job.start
       tags:
         job_name:
   ```
   The substitution issue is reported here: 
https://github.com/apache/airflow/issues/17919
   
   Prometheus' configmap parser will complain about the dots `.` in `name`. 
This metric name is a valid DataDog metric name. This extra config is from the 
DataDog - Airflow integration example: 
https://docs.datadoghq.com/integrations/airflow/?tab=host
   
   ### What you expected to happen
   
   Provide guidance on an image to be used for statsd component that supports 
DataDog, or use an image that doesn't requires Prometheus rules for statsd 
mappings.
   
   ### How to reproduce
   
   See the values above
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to