Package io.sentry.opentelemetry
Class SentryBootstrapPackagesProvider
java.lang.Object
io.sentry.opentelemetry.SentryBootstrapPackagesProvider
- All Implemented Interfaces:
io.opentelemetry.javaagent.tooling.bootstrap.BootstrapPackagesConfigurer
public final class SentryBootstrapPackagesProvider
extends Object
implements io.opentelemetry.javaagent.tooling.bootstrap.BootstrapPackagesConfigurer
To ensure that the classes we add to bootstrap class loader are available in class loaders that
don't delegate all class loading requests to bootstrap class loader e.g. OSGi we need to tell the
agent which packages we have added.
- See Also:
-
BootstrapPackagesConfigurer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(io.opentelemetry.javaagent.tooling.bootstrap.BootstrapPackagesBuilder builder, io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties config)
-
Constructor Details
-
SentryBootstrapPackagesProvider
public SentryBootstrapPackagesProvider()
-
-
Method Details
-
configure
public void configure(io.opentelemetry.javaagent.tooling.bootstrap.BootstrapPackagesBuilder builder, io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties config) - Specified by:
configure
in interfaceio.opentelemetry.javaagent.tooling.bootstrap.BootstrapPackagesConfigurer
-