You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Aviem Zur (JIRA)" <ji...@apache.org> on 2017/03/13 04:46:05 UTC

[jira] [Created] (BEAM-1699) Timer metric type

Aviem Zur created BEAM-1699:
-------------------------------

             Summary: Timer metric type
                 Key: BEAM-1699
                 URL: https://issues.apache.org/jira/browse/BEAM-1699
             Project: Beam
          Issue Type: New Feature
          Components: beam-model, sdk-java-core, sdk-py
            Reporter: Aviem Zur
            Assignee: Ben Chambers


Add support for Timer metric type to the SDK.
Interface should be along the lines of:
{code}
void update(Duration duration);
<T> T time(Callable<T>  event);
Closeable time();
{code}
Compare to http://metrics.dropwizard.io/3.1.0/apidocs/com/codahale/metrics/Timer.html

Could reuse code for this and https://issues.apache.org/jira/browse/BEAM-1613



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