[
https://issues.apache.org/jira/browse/KAFKA-19991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18045285#comment-18045285
]
Mahsa Seifikar commented on KAFKA-19991:
----------------------------------------
[~taijuwu] This looks the same. I see your
[PR|https://github.com/apache/kafka/pull/19220] is closed. If all mentioned
metrics are already covered, please re-open the PR, I can review that.
> Incorrect types for some metrics
> --------------------------------
>
> Key: KAFKA-19991
> URL: https://issues.apache.org/jira/browse/KAFKA-19991
> Project: Kafka
> Issue Type: Bug
> Components: metrics
> Reporter: José Armando García Sancio
> Assignee: Mahsa Seifikar
> Priority: Major
> Attachments: image-2025-12-12-10-41-51-845.png,
> image-2025-12-12-10-42-18-387.png
>
>
> A few of the metrics reported by Kafka have the wrong type here are some
> examples:
> kafka.server:type=raft-metrics
> !image-2025-12-12-10-42-18-387.png!
> kafka.server:type=broker-metadata-metrics
> !image-2025-12-12-10-41-51-845.png! Notice how many of the values are double
> instead of integer. This is most likely because the anonymous Java functions
> are getting typed to Measurable instead of MetricValueProvider<Integer>.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)