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

Robert Metzger reassigned FLINK-39347:
--------------------------------------

    Assignee: Paras Negi

> 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
>            Assignee: Paras Negi
>            Priority: Major
>
> 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 following formats:
> {code:java}
> metrics.reporter.otel.filter.includes: flink.jobmanager.taskSlots.total {code}
> {code:java}
> metrics.reporter.otel.filter.includes: >
>   flink.jobmanager.taskSlots.total {code}
> {code:java}
> metrics.reporter.otel.filter.includes:
>   - 'flink.jobmanager.taskSlots.total' {code}
> {code:java}
> metrics.reporter.otel.filter.includes: >
>   *.jobmanager.* {code}
>  
> 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