[
https://issues.apache.org/jira/browse/HDDS-3035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aravindan Vijayan updated HDDS-3035:
------------------------------------
Description:
Whenever OM uses Ratis, we may need the ability to collect its metrics through
OM JMX. This should be a straightforward change, similar to
org.apache.hadoop.ozone.HddsDatanodeService#start().
{code}
public void start() {
//All the Ratis metrics (registered from now) will be published via JMX and
//via the prometheus exporter (used by the /prom servlet
MetricRegistries.global()
.addReporterRegistration(MetricsReporting.jmxReporter());
MetricRegistries.global().addReporterRegistration(
registry -> CollectorRegistry.defaultRegistry.register(
new RatisDropwizardExports(
registry.getDropWizardMetricRegistry())));
{code}
was:Whenever OM uses Ratis, we may need the ability to collect its metrics
through OM JMX.
> Add ability to enable Ratis metrics in OzoneManager
> ---------------------------------------------------
>
> Key: HDDS-3035
> URL: https://issues.apache.org/jira/browse/HDDS-3035
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Components: Ozone Manager
> Affects Versions: 0.5.0
> Reporter: Aravindan Vijayan
> Priority: Major
> Fix For: 0.5.0
>
>
> Whenever OM uses Ratis, we may need the ability to collect its metrics
> through OM JMX. This should be a straightforward change, similar to
> org.apache.hadoop.ozone.HddsDatanodeService#start().
> {code}
> public void start() {
> //All the Ratis metrics (registered from now) will be published via JMX
> and
> //via the prometheus exporter (used by the /prom servlet
> MetricRegistries.global()
> .addReporterRegistration(MetricsReporting.jmxReporter());
> MetricRegistries.global().addReporterRegistration(
> registry -> CollectorRegistry.defaultRegistry.register(
> new RatisDropwizardExports(
> registry.getDropWizardMetricRegistry())));
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]