@ApplicationScoped public class RESTMetrics extends Object
| Constructor and Description |
|---|
RESTMetrics() |
| Modifier and Type | Method and Description |
|---|---|
com.codahale.metrics.Timer |
getTimer(String metricName) |
void |
initMetrics() |
void |
setMetricNameService(org.hawkular.metrics.core.dropwizard.MetricNameService metricNameService) |
public void setMetricNameService(org.hawkular.metrics.core.dropwizard.MetricNameService metricNameService)
public void initMetrics()
throws IOException
IOExceptionpublic com.codahale.metrics.Timer getTimer(String metricName)
Copyright © 2014–2017 Red Hat, Inc.. All rights reserved.