Sujit Joshi created FLINK-39347:
-----------------------------------

             Summary: Flink otel reporter doesnt report any metrics
                 Key: FLINK-39347
                 URL: https://issues.apache.org/jira/browse/FLINK-39347
             Project: Flink
          Issue Type: Bug
          Components: Runtime / Metrics
    Affects Versions: 2.2.0
            Reporter: Sujit Joshi


Hi,

Im running Flink 2.2.0 in a Docker Compose setup. We'd like to include only 
certain metrics exported to our otel collector. For this we are using 
`metrics.reporter.otel.filter.includes` in our yaml file. But no matter what 
format I use to export, the included metrics are never exported. 

We have tried with following formats:

```

metrics.reporter.otel.filter.includes: flink.jobmanager.taskSlots.total

```

 

```

metrics.reporter.otel.filter.includes: >

  flink.jobmanager.taskSlots.total

```

 

```

metrics.reporter.otel.filter.includes:

  - 'flink.jobmanager.taskSlots.total'

```

 

```

metrics.reporter.otel.filter.includes: >

  *.jobmanager.*

```

After enabling debug mode, I always see this log:

`2026-03-27T20:25:19.608364491Z 2026-03-27 20:25:19,608 DEBUG 
org.apache.flink.metrics.otel.OpenTelemetryMetricReporter    [] - Exported 0 
metrics using io.opentelemetry.exporter.otlp.metrics.OtlpGrpcMetricExporter`

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to