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

Chesnay Schepler commented on FLINK-4831:
-----------------------------------------

The relevant interfaces are the {{Metric}} classes, {{MetricReporter}} 
+{{Scheduled}} and {{MetricGroup}}. You can also take a look at other reporter 
implementations in Flink, and the metrics documentation 
https://ci.apache.org/projects/flink/flink-docs-release-1.4/monitoring/metrics.html.

> Implement a slf4j metric reporter
> ---------------------------------
>
>                 Key: FLINK-4831
>                 URL: https://issues.apache.org/jira/browse/FLINK-4831
>             Project: Flink
>          Issue Type: Improvement
>          Components: Metrics
>    Affects Versions: 1.1.2
>            Reporter: Chesnay Schepler
>            Assignee: Sumit Sarin
>            Priority: Minor
>              Labels: easyfix, starter
>
> For debugging purpose it would be very useful to have a log4j metric 
> reporter. If you don't want to setup a metric backend you currently have to 
> rely on JMX, which a) works a bit differently than other reporters (for 
> example it doesn't extend AbstractReporter) and b) makes it a bit tricky to 
> analyze results as metrics are cleaned up once a job finishes.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to