Class RequestEvent


public class RequestEvent extends TimeCounterEvent
Request related events
  • Constructor Details

  • Method Details

    • toRequestEvent

      public static RequestEvent toRequestEvent(org.apache.dubbo.rpc.model.ApplicationModel applicationModel, String appName, MetricsDispatcher metricsDispatcher, DefaultMetricsCollector collector, org.apache.dubbo.rpc.Invocation invocation, String side, boolean serviceLevel)
    • customAfterPost

      public void customAfterPost(Object postResult)
      Overrides:
      customAfterPost in class MetricsEvent
    • toRequestErrorEvent

      public static RequestEvent toRequestErrorEvent(org.apache.dubbo.rpc.model.ApplicationModel applicationModel, String appName, MetricsDispatcher metricsDispatcher, org.apache.dubbo.rpc.Invocation invocation, String side, int code, boolean serviceLevel)
      Acts on MetricsClusterFilter to monitor exceptions that occur before request execution
    • isRequestErrorEvent

      public boolean isRequestErrorEvent()