You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Ben Marengo (Jira)" <ji...@apache.org> on 2019/08/21 09:12:00 UTC

[jira] [Updated] (AIRFLOW-5274) dag.loading-duration metric name too long

     [ https://issues.apache.org/jira/browse/AIRFLOW-5274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ben Marengo updated AIRFLOW-5274:
---------------------------------
    Description: 
see conversation here - https://github.com/apache/airflow/pull/5350/files/5375a9af21db970651c17f947558b6fc180f0dd3#r315774306

problem:
when a single file generates a lot of dags, the metric name is huge

possible solution:
- is it not possible to append the name of the file where the dags are generated instead of appending {{'_'.join(dag_ids)}}  ?
- update the description in `docs/metrics.rst` to match the implementation


  was:
see conversation here - https://github.com/apache/airflow/pull/5350/files/5375a9af21db970651c17f947558b6fc180f0dd3#r315774306

problem:
when a single file generates a lot of dags, the metric name is huge

possible solution:
- is it not possible to append the name of the file where the dags are generated instead of appending {{ '_'.join(dag_ids) }} ?
- update the description in `docs/metrics.rst` to match the implementation



> dag.loading-duration metric name too long
> -----------------------------------------
>
>                 Key: AIRFLOW-5274
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5274
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: logging
>    Affects Versions: 1.10.4
>            Reporter: Ben Marengo
>            Priority: Major
>
> see conversation here - https://github.com/apache/airflow/pull/5350/files/5375a9af21db970651c17f947558b6fc180f0dd3#r315774306
> problem:
> when a single file generates a lot of dags, the metric name is huge
> possible solution:
> - is it not possible to append the name of the file where the dags are generated instead of appending {{'_'.join(dag_ids)}}  ?
> - update the description in `docs/metrics.rst` to match the implementation



--
This message was sent by Atlassian Jira
(v8.3.2#803003)