Interface IgnoredTypesConfigurer

All Superinterfaces:
io.opentelemetry.sdk.autoconfigure.spi.Ordered

public interface IgnoredTypesConfigurer extends io.opentelemetry.sdk.autoconfigure.spi.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

    Modifier and Type
    Method
    Description
    void
    configure(IgnoredTypesBuilder builder, io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties config)
    Configure the passed builder and define which classes should be ignored when instrumenting.

    Methods inherited from interface io.opentelemetry.sdk.autoconfigure.spi.Ordered

    order
  • Method Details

    • configure

      void configure(IgnoredTypesBuilder builder, io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties config)
      Configure the passed builder and define which classes should be ignored when instrumenting.