Interface IgnoredTypesConfigurer

  • All Superinterfaces:
    Ordered

    public interface IgnoredTypesConfigurer
    extends Ordered
    An IgnoredTypesConfigurer can be used to augment built-in instrumentation restrictions: ignore some classes and exclude them from being instrumented, or explicitly allow them to be instrumented if the agent ignored them by default.

    This is a service provider interface that requires implementations to be registered in a provider-configuration file stored in the META-INF/services resource directory.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void configure​(io.opentelemetry.instrumentation.api.config.Config config, IgnoredTypesBuilder builder)
      Configure the passed builder and define which classes should be ignored when instrumenting.
      • Methods inherited from interface io.opentelemetry.javaagent.extension.Ordered

        order
    • Method Detail

      • configure

        void configure​(io.opentelemetry.instrumentation.api.config.Config config,
                       IgnoredTypesBuilder builder)
        Configure the passed builder and define which classes should be ignored when instrumenting.