[
https://issues.apache.org/jira/browse/FLINK-4093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15339208#comment-15339208
]
ASF GitHub Bot commented on FLINK-4093:
---------------------------------------
GitHub user zentol opened a pull request:
https://github.com/apache/flink/pull/2134
[FLINK-4093] Expose metric interfaces
This PR allows users to create their own metrics and register them with
Flink.
To that end, Counter was refactored into a SimpleCounter class implementing
a new Counter interface. Gauge was changed to an interface as well.
Finally, the internal addMetric() method is now part of the MetricGroup
interface.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zentol/flink metrics_interfaces
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/2134.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2134
----
commit aeefb8d681cbcea5d0a855a60b34848ea28e4bf5
Author: zentol <[email protected]>
Date: 2016-06-20T09:13:53Z
[FLINK-4093] Expose metric interfaces
----
> Expose metric interfaces
> ------------------------
>
> Key: FLINK-4093
> URL: https://issues.apache.org/jira/browse/FLINK-4093
> Project: Flink
> Issue Type: Improvement
> Components: Metrics
> Affects Versions: 1.1.0
> Reporter: Chesnay Schepler
> Assignee: Chesnay Schepler
> Priority: Minor
> Fix For: 1.1.0
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)