public class RouteConfiguration
extends java.lang.Object
Represents routing configuration, route routing, that would be used during routing service configuration to define how concrete metrics are handeled.
Each route configuration contains list of Route objects mapped to route paths.
To configure routing just define route paths and routes to this paths, for example
new RouteConfiguration(
Route.create("org.ame.controller.*", jmxAggregator),
Route.create("org.ame.service.*", statsdAggregator, jmxAggregator),
);
| Constructor and Description |
|---|
RouteConfiguration(java.util.List<Route> routes) |
RouteConfiguration(Route... routes) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.util.List<org.ametiste.metrics.MetricsAggregator>> |
asMap() |