[ 
https://issues.apache.org/jira/browse/KAFKA-19991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18044777#comment-18044777
 ] 

TaiJuWu commented on KAFKA-19991:
---------------------------------

https://issues.apache.org/jira/browse/KAFKA-18679 Are they same issue?

> 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)

Reply via email to