Hawk
11/16/2017, 12:16 AMpipeline.environment.monitor.subscribe(Routing.RoutingCallStarted) { call ->
val name = call.route.toString()
val meter = feature.registry.meter(MetricRegistry.name(name, "meter"))
val timer = feature.registry.timer(MetricRegistry.name(name, "timer"))
meter.mark()
val context = timer.time()
call.attributes.put(routingMetricsKey, RoutingMetrics(name, context))
}