@Internal public class ConfigFilterHelper extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ConfigFilterHelper.FilterParams
Class containing results for method/service filter information, such as flag for logging
method/service and payload limits to be used for filtering.
|
| Modifier and Type | Field and Description |
|---|---|
static ConfigFilterHelper.FilterParams |
NO_FILTER_PARAMS |
| Modifier and Type | Method and Description |
|---|---|
static ConfigFilterHelper |
getInstance(ObservabilityConfig config)
Creates and returns helper instance for log filtering.
|
ConfigFilterHelper.FilterParams |
logRpcMethod(String fullMethodName,
boolean client)
Checks if the corresponding service/method passed needs to be logged according to user provided
observability configuration.
|
public static final ConfigFilterHelper.FilterParams NO_FILTER_PARAMS
public static ConfigFilterHelper getInstance(ObservabilityConfig config)
config - processed ObservabilityConfig objectpublic ConfigFilterHelper.FilterParams logRpcMethod(String fullMethodName, boolean client)
fullMethodName - the fully qualified name of the methodclient - set to true if method being checked is a client method; false otherwise