Max Russek
05/20/2018, 4:07 AMclass MetricsConfiguratin {
@Bean
fun metricsCommonTags(): MeterRegistryCustomizer<MeterRegistry> {
return MetricsRegistry { registry -> registry.config().commonTags("application", "rurocker_metrics_service") }
}
}
notice the MetricsRegistry
before the lambda to get the Kotlin SAM conversion