[
https://issues.apache.org/jira/browse/BEAM-1699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17546464#comment-17546464
]
Kenneth Knowles commented on BEAM-1699:
---------------------------------------
This issue has been migrated to https://github.com/apache/beam/issues/18332
> 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-core
> Reporter: Aviem Zur
> Priority: P3
> Labels: Clarified
>
> 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
(v8.20.7#820007)