| Modifier and Type | Method and Description |
|---|---|
abstract Counter |
MetricRegistry.counter(MetricName name)
|
abstract Counter |
MetricRegistry.counter(String name)
Creates a new
Counter and registers it under the given name. |
Counter |
NOPMetricManager.getCounter(String group,
MetricName name) |
Counter |
IMetricManager.getCounter(String group,
MetricName name)
Create a
Counter metric in given group, and name. |
static Counter |
MetricManager.getCounter(String group,
MetricName name)
Create a
Counter metric in given group, and name. |
| Modifier and Type | Method and Description |
|---|---|
abstract Map<MetricName,Counter> |
MetricRegistry.getCounters()
Returns a map of all the counters in the registry and their names.
|
abstract Map<MetricName,Counter> |
MetricRegistry.getCounters(MetricFilter filter)
Returns a map of all the counters in the registry and their names which match the given
filter.
|
Map<MetricName,Counter> |
NOPMetricManager.getCounters(String group,
MetricFilter filter) |
Map<MetricName,Counter> |
IMetricManager.getCounters(String group,
MetricFilter filter)
Get all the counters by the specific group and filter
|
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.