You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jun Rao (JIRA)" <ji...@apache.org> on 2017/06/01 00:35:05 UTC

[jira] [Commented] (KAFKA-4592) Kafka Producer Metrics Invalid Value

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

Jun Rao commented on KAFKA-4592:
--------------------------------

[~huxi], sorry for the late response. If a metric is never updated, perhaps it's better to set max to NaN? Things like rate could default to 0.

> Kafka Producer Metrics Invalid Value
> ------------------------------------
>
>                 Key: KAFKA-4592
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4592
>             Project: Kafka
>          Issue Type: Bug
>          Components: core, producer 
>    Affects Versions: 0.10.1.1
>            Reporter: AJ Jwair
>            Assignee: huxi
>
> Producer metrics
> Metric name: record-size-max
> When no records are produced during the monitoring window, the record-size-max has an invalid value of -9.223372036854776E16
> Please notice that the value is not a very small number close to zero bytes, it is negative 90 quadrillion bytes
> The same behavior was observed in: records-lag-max



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)