Class TracingExclusionsConfiguration
java.lang.Object
io.micronaut.tracing.opentracing.instrument.http.TracingExclusionsConfiguration
- Since:
- 4.0
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setExclusions
(@Nullable List<String> exclusions) Sets the URI patterns to be excluded from tracing.
-
Field Details
-
PREFIX
- See Also:
-
-
Constructor Details
-
TracingExclusionsConfiguration
public TracingExclusionsConfiguration()
-
-
Method Details
-
getExclusions
- Returns:
- the URI patterns to exclude from the tracing
-
setExclusions
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
- 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.
-