You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Efrat Levitan (Jira)" <ji...@apache.org> on 2026/06/09 10:56:00 UTC
[jira] [Created] (FLINK-39893) Respect non-monotonic counter accumulation in openTelemetry reporter
Efrat Levitan created FLINK-39893:
-------------------------------------
Summary: Respect non-monotonic counter accumulation in openTelemetry reporter
Key: FLINK-39893
URL: https://issues.apache.org/jira/browse/FLINK-39893
Project: Flink
Issue Type: Bug
Components: Runtime / Metrics
Affects Versions: 2.2.1
Reporter: Efrat Levitan
Otel reporter [drops|https://github.com/apache/flink/blob/master/flink-metrics/flink-metrics-otel/src/main/java/org/apache/flink/metrics/otel/OpenTelemetryMetricAdapter.java#L66-L73] the non-incremental datapoint with a warn, which is incorrect because flink {{Counter}} does not guarantee monotonicity (i.e [supports|https://github.com/apache/flink/blob/master/flink-metrics/flink-metrics-core/src/main/java/org/apache/flink/metrics/Counter.java#L35-L45] {{{}dec{}}}, or {{inc}} by a negative)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)