Class TracingExclusionsConfiguration

java.lang.Object
io.micronaut.tracing.opentracing.instrument.http.TracingExclusionsConfiguration

@ConfigurationProperties("tracing") public class TracingExclusionsConfiguration extends Object
Since:
4.0
  • Field Details

  • Constructor Details

    • TracingExclusionsConfiguration

      public TracingExclusionsConfiguration()
  • Method Details

    • getExclusions

      @Nullable public @Nullable List<String> getExclusions()
      Returns:
      the URI patterns to exclude from the tracing
    • setExclusions

      public void setExclusions(@Nullable @Nullable List<String> exclusions)
      Sets the URI patterns to be excluded from tracing.
      Parameters:
      exclusions - regular expression patterns to be excluded from tracing if the request URI matches
      See Also:
    • exclusionTest

      @Nullable public @Nullable Predicate<String> exclusionTest()
      Returns:
      null (implying everything should be included), or a Predicate which, when given a URL path, returns whether that path should be excluded from tracing.