[
https://issues.apache.org/jira/browse/RATIS-665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16918854#comment-16918854
]
Josh Elser commented on RATIS-665:
----------------------------------
Yup, Ankit added this to the Docker integration when he added Graphite to the
compose file:
{code:java}
*.period=10
*.sink.file.class=org.apache.hadoop.metrics2.sink.FileSink
ratis.sink.file.filename=/tmp/ratis-metrics.out {code}
Create a file with the above in it named "hadoop-metrics2.properties" on the
classpath of Ratis and they'll automatically dump out metrics, I'm assuming in
a manner you'd be able to grok.
See {{ratis-logservice/src/test/resources/hadoop-metrics2.properties}} for the
full example of what it configures.
> Support easy metrics visibility in the Vagrant environment
> ----------------------------------------------------------
>
> Key: RATIS-665
> URL: https://issues.apache.org/jira/browse/RATIS-665
> Project: Ratis
> Issue Type: Improvement
> Components: examples
> Reporter: Clay B.
> Assignee: Clay B.
> Priority: Trivial
> Attachments: 0001-Add-local-JMX-support.patch
>
>
> To be able to interrogate the good metrics work going on in Ratis, I would
> like an easier way to view the metrics available from the Ratis daemons (and
> clients).
--
This message was sent by Atlassian Jira
(v8.3.2#803003)