This commit is contained in:
Andy Wilkinson
2017-11-11 16:29:12 +00:00
parent 89173bd227
commit 07462be090
17 changed files with 46 additions and 35 deletions

View File

@@ -150,8 +150,8 @@ public class SpringIntegrationMetrics implements MeterBinder, SmartInitializingS
private <T> void registerFunctionCounter(MeterRegistry registry, T object,
Iterable<Tag> tags, String name, String description,
ToDoubleFunction<T> value) {
FunctionCounter.builder(name, object, value).tags(tags)
.description(description).register(registry);
FunctionCounter.builder(name, object, value).tags(tags).description(description)
.register(registry);
}
@Override