| 接口 | 说明 |
|---|---|
| BucketCounter |
提供分桶计数功能,每个桶统计一定时间间隔内的计数。
|
| Collector |
The GOF Visitor pattern.
|
| 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 |
| Compass.Context |
A timing context.
|
| Constants | |
| Counter |
An incrementing and decrementing counter metric.
|
| Counting |
An interface for metric types which have counts.
|
| DynamicMetricSet |
A dynamic metric set.
|
| FastCompass |
用于在高吞吐率环境下,快速统计方法的qps,rt,成功率和错误码。
|
| Gauge<T> |
A gauge metric is an instantaneous reading of a particular value.
|
| Histogram |
A metric which calculates the distribution of a value.
|
| IMetricManager | |
| Meter |
A meter metric which measures mean throughput and one-, five-, and fifteen-minute
exponentially-weighted moving average throughput.
|
| Metered |
An object which maintains mean and exponentially-weighted rate.
|
| Metric |
A tag interface to indicate that a class is a metric.
|
| MetricFilter |
A filter used to determine whether or not a metric should be reported, among other things.
|
| MetricRegistryListener |
Listeners for events from the registry.
|
| MetricSet |
A set of named metrics.
|
| Reservoir |
A statistically representative reservoir of a data stream.
|
| Sampling |
An object which samples values.
|
| Snapshot | |
| Timer |
A timer metric which aggregates timing durations and provides duration statistics, plus
throughput statistics via
Meter. |
| Timer.Context |
A timing context.
|
| 类 | 说明 |
|---|---|
| CachedGauge<T> |
A
Gauge implementation which caches its value for a period of time. |
| CachedMetricSet | |
| Clock |
An abstraction for how time passes.
|
| Clock.CpuTimeClock |
A clock implementation which returns the current thread's CPU time.
|
| Clock.UserTimeClock |
A clock implementation which returns the current time in epoch nanoseconds.
|
| ClusterHistogram |
A metric to calculate cluster histogram,
since the the percentile can not be aggregated.
|
| DerivativeGauge<F,T> |
A gauge whose value is derived from the value of another gauge.
|
| JmxAttributeGauge |
A
Gauge implementation which queries an MBeanServerConnection for an attribute of an object. |
| MetricManager |
The design concept is heavily borrowed from SLF4j (http://www.slf4j.org/), the logging framework.
|
| MetricName |
A metric name with the ability to include semantic tags.
|
| MetricRegistry |
A registry of metric instances.
|
| MetricRegistryListener.Base |
A no-op implementation of
MetricRegistryListener. |
| NOPMetricManager |
IMetricManager的空实现
|
| PersistentGauge<T> |
A subclass of
Gauge which should be persistent. |
| RatioGauge |
A gauge which measures the ratio of one value to another.
|
| RatioGauge.Ratio |
A ratio of one quantity to another.
|
| StringUtils |
| 枚举 | 说明 |
|---|---|
| MetricLevel |
enum的数值不能为负数,且不能太大
|
| ReservoirType |
An enum of various reservoir type
|
Copyright © 2019. All rights reserved.