You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Armstrong Nova (JIRA)" <ji...@apache.org> on 2019/05/07 06:49:01 UTC

[jira] [Updated] (FLINK-12423) Add Timer metric type for flink-metrics module

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

Armstrong Nova updated FLINK-12423:
-----------------------------------
    Description: 
Hi guys, 

    Currently, Flink only support 4 registering metrics, {{Counters}}, {{Gauges}}, {{Histograms}} and {{Meters}}.  If we want to measure the time cost metric, for example P75th, P99th, P999th, right now can only use Histograms metric. But Histograms metric not support TimeUnit type (second, millisecond, microsecond, nanosecond). So it's not convenient to collaborate with outside metric system. 

    The Codahale/DropWizard support Time meter, so we can wrap it in Flink. 

    Flink metrics doc [https://ci.apache.org/projects/flink/flink-docs-master/monitoring/metrics.html]
     Thanks for your time.

  was:
Hi guys, 

    Currently, Flink only support 4 registering metrics, {{Counters}}, {{Gauges}}, {{Histograms}} and {{Meters}}.  If we want to measure the time cost metric, for example P75th, P99th, P999th, right now can only use Histograms metric. But Histograms metric not support TimeUnit type (second, millisecond, microsecond, nanosecond). So it's not convenient to collaborate with outside metric system. 

    The Codahale/DropWizard support Time meter, so we can wrap it in Flink. 
    Thanks for your time.


> Add Timer metric type for flink-metrics module
> ----------------------------------------------
>
>                 Key: FLINK-12423
>                 URL: https://issues.apache.org/jira/browse/FLINK-12423
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / Metrics
>            Reporter: Armstrong Nova
>            Assignee: Armstrong Nova
>            Priority: Major
>
> Hi guys, 
>     Currently, Flink only support 4 registering metrics, {{Counters}}, {{Gauges}}, {{Histograms}} and {{Meters}}.  If we want to measure the time cost metric, for example P75th, P99th, P999th, right now can only use Histograms metric. But Histograms metric not support TimeUnit type (second, millisecond, microsecond, nanosecond). So it's not convenient to collaborate with outside metric system. 
>     The Codahale/DropWizard support Time meter, so we can wrap it in Flink. 
>     Flink metrics doc [https://ci.apache.org/projects/flink/flink-docs-master/monitoring/metrics.html]
>      Thanks for your time.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)