FIX: register Watcher (#6956)

This commit is contained in:
Leon Yang 2021-05-17 17:48:46 +08:00 committed by GitHub
parent d56b0b0d41
commit a1c5dc62a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -41,7 +41,8 @@ Release Notes.
* Fix: Envoy error logs are not persisted when no metrics are generated
* Fix: Memory leakage of low version etcd client. [fix-issue](https://github.com/jurmous/etcd4j/pull/185)
* Allow multiple definitions as fallback in metadata-service-mapping.yaml file.
* Fix: NPE when configmap has no data.
* Fix: NPE when configmap has no data.
* Fix: Dynamic Configuration key `slowTraceSegmentThreshold` not work
#### UI
* Add logo for kong plugin.

View File

@ -122,6 +122,7 @@ public class AnalyzerModuleProvider extends ModuleProvider {
dynamicConfigurationService.registerConfigChangeWatcher(thresholds);
dynamicConfigurationService.registerConfigChangeWatcher(uninstrumentedGatewaysConfig);
dynamicConfigurationService.registerConfigChangeWatcher(traceSampleRateWatcher);
dynamicConfigurationService.registerConfigChangeWatcher(traceLatencyThresholdsAndWatcher);
segmentParserService.setListenerManager(listenerManager());