Skip to content

Missing Metrics After Migrating from StatsD to OpenTelemetry #41822

Description

@seifrajhi

Apache Airflow version

2.10.2

If "Other Airflow 2 version" selected, which one?

No response

What happened?

I’ve recently migrated from StatsD to OpenTelemetry and am now sending metrics to Splunk Observability.

However, I’ve noticed that some metrics are now missing after this change, such as operator_successes, operator_failures, and some custom metrics that I used to see when using StatsD with the Python stats package in my DAGs.

The common factor among the missing metrics is that their descriptions in the Airflow documentation mention “Metric with xyz tagging.” I’m not sure if this is relevant.

What you think should happen instead?

All metrics, including operator_successes, operator_failures, and custom metrics, should be available as they were with StatsD.

How to reproduce

  • Migrate from StatsD to OpenTelemetry.
  • Send metrics to Splunk Observability.
  • Observe the missing metrics such as operator_successes, operator_failures, and custom metrics.

Operating System

Azure AKS linux

Versions of Apache Airflow Providers

No response

Deployment

Official Apache Airflow Helm Chart

Deployment details

No response

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions