You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ratis.apache.org by GitBox <gi...@apache.org> on 2019/10/09 10:03:27 UTC

[GitHub] [incubator-ratis] elek opened a new pull request #39: RATIS-702. Make metrics reporting implementation pluggable

elek opened a new pull request #39: RATIS-702. Make metrics reporting implementation pluggable
URL: https://github.com/apache/incubator-ratis/pull/39
 
 
   This patch removes all the dependency on any custom dropwizard metrics reporter, but any reporter can be registered before creating any metricregistry. See the example server for an example:
   
   {code}
   MetricRegistries registries = MetricRegistries.global();
   JVMMetrics.addJvmMetrics(registries);
   
   registries.addReporterRegistration(MetricsReporting.consoleReporter(10, TimeUnit.SECONDS));
   registries.addReporterRegistration(MetricsReporting.jmxReporter());
   {code} 
   
   See: https://issues.apache.org/jira/browse/RATIS-702

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services