Uses of Class
org.apache.dubbo.metrics.listener.AbstractMetricsKeyListener
Packages that use AbstractMetricsKeyListener
-
Uses of AbstractMetricsKeyListener in org.apache.dubbo.metrics.listener
Subclasses of AbstractMetricsKeyListener in org.apache.dubbo.metrics.listenerModifier and TypeClassDescriptionclassApp-level listener type, in most cases, can use the static method to produce an anonymous listener for general monitoringclassService-level listener type, in most cases, can use the static method to produce an anonymous listener for general monitoring.Methods in org.apache.dubbo.metrics.listener that return AbstractMetricsKeyListenerModifier and TypeMethodDescriptionstatic AbstractMetricsKeyListenerAbstractMetricsKeyListener.onError(MetricsKey metricsKey, Consumer<TimeCounterEvent> errorFunc) static AbstractMetricsKeyListenerMetricsApplicationListener.onErrorEventBuild(MetricsKey metricsKey, MetricsPlaceValue placeType, CombMetricsCollector<?> collector) Similar to onFinishEventBuildstatic AbstractMetricsKeyListenerMetricsServiceListener.onErrorEventBuild(MetricsKey metricsKey, MetricsPlaceValue placeType, ServiceMetricsCollector<TimeCounterEvent> collector) static AbstractMetricsKeyListenerAbstractMetricsKeyListener.onEvent(MetricsKey metricsKey, Consumer<TimeCounterEvent> postFunc) static AbstractMetricsKeyListenerAbstractMetricsKeyListener.onFinish(MetricsKey metricsKey, Consumer<TimeCounterEvent> finishFunc) static AbstractMetricsKeyListenerMetricsApplicationListener.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 indicatorsstatic AbstractMetricsKeyListenerMetricsServiceListener.onFinishEventBuild(MetricsKey metricsKey, MetricsPlaceValue placeType, ServiceMetricsCollector<TimeCounterEvent> collector) static AbstractMetricsKeyListenerMetricsApplicationListener.onPostEventBuild(MetricsKey metricsKey, CombMetricsCollector<?> collector) Perform auto-increment on the monitored key, Can use a custom listener instead of this generic operationstatic AbstractMetricsKeyListenerMetricsServiceListener.onPostEventBuild(MetricsKey metricsKey, MetricsPlaceValue placeType, ServiceMetricsCollector<TimeCounterEvent> collector) -
Uses of AbstractMetricsKeyListener in org.apache.dubbo.metrics.model.key
Methods in org.apache.dubbo.metrics.model.key that return types with arguments of type AbstractMetricsKeyListenerConstructor parameters in org.apache.dubbo.metrics.model.key with type arguments of type AbstractMetricsKeyListenerModifierConstructorDescriptionMetricsCat(MetricsKey metricsKey, BiFunction<MetricsKey, CombMetricsCollector, AbstractMetricsKeyListener> biFunc) MetricsCat(MetricsKey metricsKey, MetricsCat.TpFunction<MetricsKey, MetricsPlaceValue, CombMetricsCollector, AbstractMetricsKeyListener> tpFunc)