Class APMEventListener

java.lang.Object
tech.riemann.etp.apm.event.APMEventListener
All Implemented Interfaces:
EventListener, org.springframework.context.ApplicationListener<APMEvent>
Direct Known Subclasses:
DefaultLogAPMEventListener, WechatWorkRobotAPMEventListener

public abstract class APMEventListener extends Object implements org.springframework.context.ApplicationListener<APMEvent>
Author:
Kerbores(kerbores@riemann.tech)
  • Constructor Details

    • APMEventListener

      public APMEventListener()
  • Method Details

    • onApplicationEvent

      public void onApplicationEvent(APMEvent event)
      Specified by:
      onApplicationEvent in interface org.springframework.context.ApplicationListener<APMEvent>
      Parameters:
      event -
      See Also:
      • ApplicationListener.onApplicationEvent(org.springframework.context.ApplicationEvent)
    • handleAPMLog

      public abstract void handleAPMLog(APMLog log)
      处理日志
      Parameters:
      log - 日志