| 限定符和类型 | 接口和说明 |
|---|---|
interface |
BucketCounter
提供分桶计数功能,每个桶统计一定时间间隔内的计数。
|
interface |
Compass
A Compass Metric that wraps:
a
Timer to measure the qps and rt distribution
a Counter to measure the success count
a RatioGauge to measure the success rate
a Map of Counter> to record the count for each error code
a Map of Counter> to record the count for each addon |
interface |
Counter
An incrementing and decrementing counter metric.
|
interface |
DynamicMetricSet
A dynamic metric set.
|
interface |
FastCompass
用于在高吞吐率环境下,快速统计方法的qps,rt,成功率和错误码。
|
interface |
Gauge<T>
A gauge metric is an instantaneous reading of a particular value.
|
interface |
Histogram
A metric which calculates the distribution of a value.
|
interface |
Meter
A meter metric which measures mean throughput and one-, five-, and fifteen-minute
exponentially-weighted moving average throughput.
|
interface |
Metered
An object which maintains mean and exponentially-weighted rate.
|
interface |
MetricSet
A set of named metrics.
|
interface |
Timer
A timer metric which aggregates timing durations and provides duration statistics, plus
throughput statistics via
Meter. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
CachedGauge<T>
A
Gauge implementation which caches its value for a period of time. |
class |
CachedMetricSet |
class |
ClusterHistogram
A metric to calculate cluster histogram,
since the the percentile can not be aggregated.
|
class |
DerivativeGauge<F,T>
A gauge whose value is derived from the value of another gauge.
|
class |
JmxAttributeGauge
A
Gauge implementation which queries an MBeanServerConnection for an attribute of an object. |
class |
MetricRegistry
A registry of metric instances.
|
class |
PersistentGauge<T>
A subclass of
Gauge which should be persistent. |
class |
RatioGauge
A gauge which measures the ratio of one value to another.
|
| 限定符和类型 | 方法和说明 |
|---|---|
abstract <T extends Metric> |
MetricRegistry.register(MetricName name,
T metric)
Given a
Metric, registers it under the given name. |
abstract <T extends Metric> |
MetricRegistry.register(String name,
T metric)
Given a
Metric, registers it under the given name. |
| 限定符和类型 | 方法和说明 |
|---|---|
Map<Class<? extends Metric>,Map<MetricName,? extends Metric>> |
NOPMetricManager.getAllCategoryMetrics(MetricFilter filter) |
Map<Class<? extends Metric>,Map<MetricName,? extends Metric>> |
NOPMetricManager.getAllCategoryMetrics(MetricFilter filter) |
Map<Class<? extends Metric>,Map<MetricName,? extends Metric>> |
IMetricManager.getAllCategoryMetrics(MetricFilter filter)
return all metrics
|
Map<Class<? extends Metric>,Map<MetricName,? extends Metric>> |
IMetricManager.getAllCategoryMetrics(MetricFilter filter)
return all metrics
|
Map<Class<? extends Metric>,Map<MetricName,? extends Metric>> |
NOPMetricManager.getCategoryMetrics(String group) |
Map<Class<? extends Metric>,Map<MetricName,? extends Metric>> |
NOPMetricManager.getCategoryMetrics(String group) |
Map<Class<? extends Metric>,Map<MetricName,? extends Metric>> |
IMetricManager.getCategoryMetrics(String group)
返回不同Metric分类,各自保存好的map
|
Map<Class<? extends Metric>,Map<MetricName,? extends Metric>> |
IMetricManager.getCategoryMetrics(String group)
返回不同Metric分类,各自保存好的map
|
Map<Class<? extends Metric>,Map<MetricName,? extends Metric>> |
NOPMetricManager.getCategoryMetrics(String group,
MetricFilter filter) |
Map<Class<? extends Metric>,Map<MetricName,? extends Metric>> |
NOPMetricManager.getCategoryMetrics(String group,
MetricFilter filter) |
Map<Class<? extends Metric>,Map<MetricName,? extends Metric>> |
IMetricManager.getCategoryMetrics(String group,
MetricFilter filter)
返回不同Metric分类,各自保存好的map
|
Map<Class<? extends Metric>,Map<MetricName,? extends Metric>> |
IMetricManager.getCategoryMetrics(String group,
MetricFilter filter)
返回不同Metric分类,各自保存好的map
|
Map<MetricName,Metric> |
DynamicMetricSet.getDynamicMetrics()
A map of metric names to metrics.
|
Map<MetricName,Metric> |
MetricSet.getMetrics()
A map of metric names to metrics.
|
abstract SortedMap<MetricName,Metric> |
MetricRegistry.getMetrics(MetricFilter filter)
Returns a map of all the metrics in the registry and their names which match the given filter
|
Map<MetricName,Metric> |
NOPMetricManager.getMetrics(String group) |
Map<MetricName,Metric> |
IMetricManager.getMetrics(String group)
A map of metric names to metrics.
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
MetricFilter.matches(MetricName name,
Metric metric)
Returns
true if the metric matches the filter; false otherwise. |
void |
NOPMetricManager.register(String group,
MetricName name,
Metric metric) |
void |
IMetricManager.register(String group,
MetricName name,
Metric metric)
Register a customized metric to specified group.
|
static void |
MetricManager.register(String group,
MetricName name,
Metric metric)
Register a customized metric to specified group.
|
Copyright © 2019. All rights reserved.