| Modifier and Type | Method and Description |
|---|---|
void |
ApplicationMetricsCollector.increment(MetricsKey metricsKey) |
void |
CombMetricsCollector.increment(MetricsKey metricsKey) |
| Modifier and Type | Method and Description |
|---|---|
Map<MetricsKey,AtomicLong> |
ApplicationStatComposite.getApplicationNumStats() |
| Modifier and Type | Method and Description |
|---|---|
void |
BaseStatComposite.incrementApp(MetricsKey metricsKey,
int size) |
void |
ApplicationStatComposite.incrementSize(MetricsKey metricsKey,
int size) |
| Modifier and Type | Method and Description |
|---|---|
void |
ApplicationStatComposite.init(List<MetricsKey> appKeys) |
| Modifier and Type | Method and Description |
|---|---|
static AbstractMetricsKeyListener |
AbstractMetricsKeyListener.onError(MetricsKey metricsKey,
Consumer<TimeCounterEvent> errorFunc) |
static AbstractMetricsKeyListener |
MetricsApplicationListener.onErrorEventBuild(MetricsKey metricsKey,
MetricsPlaceValue placeType,
CombMetricsCollector<?> collector)
Similar to onFinishEventBuild
|
static AbstractMetricsKeyListener |
MetricsServiceListener.onErrorEventBuild(MetricsKey metricsKey,
MetricsPlaceValue placeType,
ServiceMetricsCollector<TimeCounterEvent> collector) |
static AbstractMetricsKeyListener |
AbstractMetricsKeyListener.onEvent(MetricsKey metricsKey,
Consumer<TimeCounterEvent> postFunc) |
static AbstractMetricsKeyListener |
AbstractMetricsKeyListener.onFinish(MetricsKey metricsKey,
Consumer<TimeCounterEvent> finishFunc) |
static AbstractMetricsKeyListener |
MetricsApplicationListener.onFinishEventBuild(MetricsKey metricsKey,
MetricsPlaceValue placeType,
CombMetricsCollector<?> collector)
To end the monitoring normally, in addition to increasing the number of corresponding indicators,
use the introspection method to calculate the relevant rt indicators
|
static AbstractMetricsKeyListener |
MetricsServiceListener.onFinishEventBuild(MetricsKey metricsKey,
MetricsPlaceValue placeType,
ServiceMetricsCollector<TimeCounterEvent> collector) |
static AbstractMetricsKeyListener |
MetricsApplicationListener.onPostEventBuild(MetricsKey metricsKey,
CombMetricsCollector<?> collector)
Perform auto-increment on the monitored key,
Can use a custom listener instead of this generic operation
|
static AbstractMetricsKeyListener |
MetricsServiceListener.onPostEventBuild(MetricsKey metricsKey,
MetricsPlaceValue placeType,
ServiceMetricsCollector<TimeCounterEvent> collector) |
| Constructor and Description |
|---|
AbstractMetricsKeyListener(MetricsKey metricsKey) |
MetricsApplicationListener(MetricsKey metricsKey) |
MetricsServiceListener(MetricsKey metricsKey) |
| Modifier and Type | Method and Description |
|---|---|
static MetricsKey |
MetricsSupport.getAggMetricsKey(Throwable throwable) |
static MetricsKey |
MetricsSupport.getMetricsKey(Throwable throwable) |
| Modifier and Type | Method and Description |
|---|---|
static void |
MetricsSupport.dec(MetricsKey metricsKey,
MetricsPlaceValue placeType,
MethodMetricsCollector<TimeCounterEvent> collector,
MetricsEvent event)
Dec method num
|
static void |
MetricsSupport.incrAndAddRt(MetricsKey metricsKey,
MetricsPlaceValue placeType,
MethodMetricsCollector<TimeCounterEvent> collector,
TimeCounterEvent event)
Incr method num&&rt
|
static void |
MetricsSupport.incrAndAddRt(MetricsKey metricsKey,
MetricsPlaceValue placeType,
ServiceMetricsCollector<TimeCounterEvent> collector,
TimeCounterEvent event)
Incr service num&&rt
|
static void |
MetricsSupport.increment(MetricsKey metricsKey,
MetricsPlaceValue placeType,
MethodMetricsCollector<TimeCounterEvent> collector,
MetricsEvent event)
Incr method num
|
static void |
MetricsSupport.increment(MetricsKey metricsKey,
MetricsPlaceValue placeType,
ServiceMetricsCollector<TimeCounterEvent> collector,
MetricsEvent event)
Incr service num
|
static void |
MetricsSupport.init(MetricsKey metricsKey,
MetricsPlaceValue placeType,
MethodMetricsCollector<TimeCounterEvent> collector,
MetricsEvent event) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
LongContainer.isKeyWrapper(MetricsKey metricsKey,
String registryOpType) |
| Modifier and Type | Method and Description |
|---|---|
MetricsKey |
MetricsKeyWrapper.getMetricsKey() |
static MetricsKey |
MetricsKey.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricsKey[] |
MetricsKey.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
MetricsKeyWrapper.isKey(MetricsKey metricsKey,
String registryOpType) |
static MetricsKeyWrapper |
MetricsKeyWrapper.wrapper(MetricsKey metricsKey) |
| Constructor and Description |
|---|
MetricsCat(MetricsKey metricsKey,
BiFunction<MetricsKey,CombMetricsCollector,AbstractMetricsKeyListener> biFunc) |
MetricsCat(MetricsKey metricsKey,
MetricsCat.TpFunction<MetricsKey,MetricsPlaceValue,CombMetricsCollector,AbstractMetricsKeyListener> tpFunc) |
MetricsKeyWrapper(MetricsKey metricsKey,
MetricsPlaceValue placeType)
When the MetricsPlaceType is null, it is equivalent to a single MetricsKey.
|
TypeWrapper(MetricsLevel level,
MetricsKey postType) |
TypeWrapper(MetricsLevel level,
MetricsKey postType,
MetricsKey finishType,
MetricsKey errorType) |
| Constructor and Description |
|---|
MetricsCat(MetricsKey metricsKey,
BiFunction<MetricsKey,CombMetricsCollector,AbstractMetricsKeyListener> biFunc) |
MetricsCat(MetricsKey metricsKey,
MetricsCat.TpFunction<MetricsKey,MetricsPlaceValue,CombMetricsCollector,AbstractMetricsKeyListener> tpFunc) |
| Constructor and Description |
|---|
GaugeMetricSample(MetricsKey metricsKey,
Map<String,String> tags,
MetricsCategory category,
T value,
ToDoubleFunction<T> apply) |
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.