Package io.sentry.openfeign
Class SentryCapability
java.lang.Object
io.sentry.openfeign.SentryCapability
- All Implemented Interfaces:
feign.Capability
Adds Sentry tracing capability to Feign clients.
-
Constructor Summary
ConstructorsConstructorDescriptionSentryCapability(@NotNull io.sentry.IHub hub, SentryFeignClient.BeforeSpanCallback beforeSpan) SentryCapability(SentryFeignClient.BeforeSpanCallback beforeSpan) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface feign.Capability
enrich, enrich, enrich, enrich, enrich, enrich, enrich, enrich, enrich, enrich
-
Constructor Details
-
SentryCapability
public SentryCapability(@NotNull @NotNull io.sentry.IHub hub, @Nullable SentryFeignClient.BeforeSpanCallback beforeSpan) -
SentryCapability
-
SentryCapability
public SentryCapability()
-
-
Method Details
-
enrich
@NotNull public @NotNull feign.Client enrich(@NotNull @NotNull feign.Client client) - Specified by:
enrichin interfacefeign.Capability
-