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
ConstructorDescriptionSentryCapability
(@NotNull 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, wait
Methods inherited from interface feign.Capability
enrich, enrich, enrich, enrich, enrich, enrich, enrich, enrich, enrich, enrich
-
Constructor Details
-
SentryCapability
public SentryCapability(@NotNull @NotNull 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:
enrich
in interfacefeign.Capability
-