use of org.apache.skywalking.oap.server.analyzer.event.EventAnalyzerService in project skywalking by apache.
the class EventHookCallback method doAlarm.
@Override
public void doAlarm(List<AlarmMessage> alarmMessage) {
EventAnalyzerService analyzerService = manager.find(EventAnalyzerModule.NAME).provider().getService(EventAnalyzerService.class);
alarmMessage.forEach(a -> {
for (Event event : constructCurrentEvent(a)) {
analyzerService.analyze(event);
}
});
}
use of org.apache.skywalking.oap.server.analyzer.event.EventAnalyzerService in project incubator-skywalking by apache.
the class EventHookCallback method doAlarm.
@Override
public void doAlarm(List<AlarmMessage> alarmMessage) {
EventAnalyzerService analyzerService = manager.find(EventAnalyzerModule.NAME).provider().getService(EventAnalyzerService.class);
alarmMessage.forEach(a -> {
for (Event event : constructCurrentEvent(a)) {
analyzerService.analyze(event);
}
});
}
Aggregations