You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ares-b (via GitHub)" <gi...@apache.org> on 2024/07/11 08:13:46 UTC

Re: [I] DagFileProcessor produces invalid metric tags [airflow]

ares-b commented on issue #30716:
URL: https://github.com/apache/airflow/issues/30716#issuecomment-2222310540

   Same error in Airflow 2.9.91
   ```
   ERROR - Invalid stat name: dag_processing.processes,file_path=/opt/airflow/dags/live/sha/appconf/bdt_app_masterclients/bdtappmasterclients_presenceUtilisateurs.py,action=start.
   Traceback (most recent call last):
     File "/home/airflow/.local/lib/python3.11/site-packages/airflow/metrics/validators.py", line 134, in wrapper
       stat = handler_stat_name_func(stat)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File "/home/airflow/.local/lib/python3.11/site-packages/airflow/metrics/validators.py", line 221, in stat_name_default_handler
       raise InvalidStatsNameException(
   airflow.exceptions.InvalidStatsNameException: The stat name (dag_processing.processes,file_path=/opt/airflow/dags/live/sha/appconf/bdt_app_contracts/bdtappcontracts.py,action=start) has to be composed of ASCII alphabets, numbers, or the underscore, dot, or dash characters.
   ```


-- 
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