http4k / org.http4k.core / HttpTransaction / <init>
HttpTransaction(request:
Request
, response:
Response
, duration:
Duration
, labels:
Map
<
String
,
String
> = when {
response is RoutedResponse -> mapOf(ROUTING_GROUP_LABEL to response.xUriTemplate.toString())
request is RoutedRequest -> mapOf(ROUTING_GROUP_LABEL to request.xUriTemplate.toString())
else -> emptyMap()
})