transformRoute

Configures mapping function for the route label string of the CallMeasure. Defaults to RoutingNode.path.

Examples:

Use the toString() function of the RoutingNode:

transformRoute {
it.toString()
}

Remove a prefix from the path:

transformRoute {
it.path.removePrefix("/path/prefix")
}

Report a problem