Uses of Interface
com.tnsai.observability.errors.ErrorReportPublisher
Packages that use ErrorReportPublisher
-
Uses of ErrorReportPublisher in com.tnsai.observability.errors
Classes in com.tnsai.observability.errors that implement ErrorReportPublisherModifier and TypeClassDescriptionfinal classIn-memoryErrorReportPublisherfor tests.final classFan-outErrorReportPublisher— invokes every wrapped publisher for eachCompositeErrorReportPublisher.publish(ErrorReport)call.final classDecorator that suppresses repeatErrorReports of the sameErrorReport.fingerprint()within a configurable time window.final classDefaultErrorReportPublisher— JSON-serialises the report and writes it via SLF4J at the level matching the report'sErrorCategory.Methods in com.tnsai.observability.errors that return ErrorReportPublisherModifier and TypeMethodDescriptionstatic ErrorReportPublisherErrorReports.activePublisher()Read the currently-active publisher, ornullif no publisher has been bound (and SPI discovery hasn't run yet).Methods in com.tnsai.observability.errors that return types with arguments of type ErrorReportPublisherModifier and TypeMethodDescriptionCompositeErrorReportPublisher.publishers()Exposed for assertions / introspection — immutable copy.Methods in com.tnsai.observability.errors with parameters of type ErrorReportPublisherModifier and TypeMethodDescriptionstatic voidErrorReports.setPublisher(ErrorReportPublisher publisher) Replace the active publisher entirely.static DedupingErrorReportPublisherDedupingErrorReportPublisher.wrap(ErrorReportPublisher delegate) Helper for callers building a default pipeline:DedupingErrorReportPublisher.wrap(new Slf4jErrorReportPublisher())reads more naturally than the constructor in fluent code.Constructors in com.tnsai.observability.errors with parameters of type ErrorReportPublisherModifierConstructorDescriptionWrapsdelegatewith theDedupingErrorReportPublisher.DEFAULT_WINDOWdedup interval (5 minutes).DedupingErrorReportPublisher(ErrorReportPublisher delegate, Duration window) Wrapsdelegatewith the given dedup window.Constructor parameters in com.tnsai.observability.errors with type arguments of type ErrorReportPublisherModifierConstructorDescriptionCompositeErrorReportPublisher(List<ErrorReportPublisher> publishers)