Class DefaultNewRelicInsightsService

java.lang.Object
com.agorapulse.micronaut.newrelic.DefaultNewRelicInsightsService
All Implemented Interfaces:
NewRelicInsightsService

@Primary @Singleton @Requires(beans=NewRelicInsightsClient.class) @Replaces(FallbackNewRelicInsightsService.class) public class DefaultNewRelicInsightsService extends Object implements NewRelicInsightsService
Default NewRelicInsightsService, sends events to the New Relic API in real time, with a blocking request. This implementation is the one to use in Lambdas, since they aren't running the Java agent that would be able to send the events asynchronously.