flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chesnay Schepler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-12423) Add Timer metric type for flink-metrics module
Date Fri, 10 May 2019 09:29:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-12423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16837090#comment-16837090

Chesnay Schepler commented on FLINK-12423:

you could just use a histogram and encode the unit in the metric name.

> 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

View raw message