Fix: TraceIgnorePathPatterns can't set empty value (#7059)
This commit is contained in:
parent
e3312c7834
commit
d5348c93de
|
|
@ -33,6 +33,7 @@ Release Notes.
|
|||
* Fix ClassCast issue for RequestHolder/ResponseHolder.
|
||||
* fixed `jdk-threading-plugin` memory leak.
|
||||
* Optimize multiple field reflection operation in Feign plugin.
|
||||
* Fix `trace-ignore-plugin` TraceIgnorePathPatterns can't set empty value
|
||||
|
||||
#### OAP-Backend
|
||||
* BugFix: filter invalid Envoy access logs whose socket address is empty.
|
||||
|
|
|
|||
|
|
@ -89,6 +89,8 @@ public class TraceIgnoreExtendService extends SamplingService {
|
|||
void handleTraceIgnorePatternsChanged() {
|
||||
if (StringUtil.isNotBlank(traceIgnorePatternWatcher.getTraceIgnorePathPatterns())) {
|
||||
patterns = traceIgnorePatternWatcher.getTraceIgnorePathPatterns().split(PATTERN_SEPARATOR);
|
||||
} else {
|
||||
patterns = new String[] {};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue