PluginMetricMaker: Append trailing slash to plugin namespace
Metric names do not start with "/", hence the plugin namespace needs to end with it. Change-Id: I7e1d88a327f1dc48ae9212b93d2f5816074e6a6d
This commit is contained in:

committed by
David Pursehouse

parent
01b4f192fc
commit
39e5fc6ff0
@@ -47,7 +47,7 @@ class PluginMetricMaker extends MetricMaker implements LifecycleListener {
|
||||
|
||||
PluginMetricMaker(MetricMaker root, String pluginName) {
|
||||
this.root = root;
|
||||
this.prefix = "plugins/" + pluginName;
|
||||
this.prefix = String.format("plugins/%s/", pluginName);
|
||||
cleanup = Collections.synchronizedSet(new HashSet<RegistrationHandle>());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user