Skip to content

Dag processor keep printing unnecessary warning log #71084

Closed

Description

@vin-c-ent

Under which category would you file this issue?

Airflow Core

Apache Airflow version

3.3.0

What happened and how to reproduce it?

Just right after dag-processor is running, below log will keep printing. (During the converting from '/' to '_'. )
2026-08-04T09:59:37.8544212 [warning ] Name 'dags/test/test_dag.py' contains invalid characters for stats reporting. Reporting stats with normalized name 'dags_test_test_dag.py'. [airflow._shared.observability.metrics.stats] loc=stats.py:71

Related code :

I understood that metrics with underscore is expected, while this warning log isn`t, as it is expected to have '/' in folder structure.

What you think should happen instead?

the folder structure is expected to contains '/', this warning is not valid.

Operating System

No response

Deployment

Virtualenv installation

Apache Airflow Provider(s)

No response

Versions of Apache Airflow Providers

No response

Official Helm Chart version

Not Applicable

Kubernetes Version

No response

Helm Chart configuration

No response

Docker Image customizations

No response

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. added
    kind:bug
    needs-triage
    on Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:corearea:metricskind:bugneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions