@ThreadSafe public static class ObservabilityConfig.LogFilter extends Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
excludePattern
Boolean to indicate if services and methods matching pattern needs to be excluded.
|
int |
headerBytes
Number of bytes of header to log.
|
boolean |
matchAll
Boolean to indicate all services and methods.
|
int |
messageBytes
Number of bytes of message to log.
|
Set<String> |
methods |
Set<String> |
services
Set of services.
|
public final boolean matchAll
public final int headerBytes
public final int messageBytes
public final boolean excludePattern
public LogFilter(Set<String> services, Set<String> serviceMethods, boolean matchAll, int headerBytes, int messageBytes, boolean excludePattern)
services - Set of services derived from patternserviceMethods - Set of fullMethodNames derived from patternmatchAll - If true, match all services and methodsheaderBytes - Total number of bytes of header to logmessageBytes - Total number of bytes of message to logexcludePattern - If true, services and methods matching pattern be excluded