O'Reilly book: Linkerd Up & Running   Download now  »


Getting Per-Route Metrics

To get per-route metrics, you must create HTTPRoute resources. If a route has a parent_ref which points to a Service resource, Linkerd will generate outbound per-route traffic metrics for all HTTP traffic that it sends to that Service. If a route has a parent_ref which points to a Server resource, Linkerd will generate inbound per-route traffic metrcs for all HTTP traffic that it receives on that Server. Note that an HTTPRoute can have multiple parent_refs which means that the same HTTPRoute resource can be used to describe both outbound and inbound routes.

For a tutorial that shows off per-route metrics, check out the books demo.