| Package | Description |
|---|---|
| org.apache.dubbo.metrics.listener | |
| org.apache.dubbo.metrics.model.key |
| Modifier and Type | Class and Description |
|---|---|
class |
MetricsApplicationListener
App-level listener type, in most cases, can use the static method
to produce an anonymous listener for general monitoring
|
class |
MetricsServiceListener
Service-level listener type, in most cases, can use the static method
to produce an anonymous listener for general monitoring.
|
| 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) |
| Modifier and Type | Method and Description |
|---|---|
Function<CombMetricsCollector,AbstractMetricsKeyListener> |
MetricsCat.getEventFunc() |
| Constructor and Description |
|---|
MetricsCat(MetricsKey metricsKey,
BiFunction<MetricsKey,CombMetricsCollector,AbstractMetricsKeyListener> biFunc) |
MetricsCat(MetricsKey metricsKey,
MetricsCat.TpFunction<MetricsKey,MetricsPlaceValue,CombMetricsCollector,AbstractMetricsKeyListener> tpFunc) |
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.