Setting up a service profile
A service profile in Linkerd is a way to aggregate information about routes. It collects route metrics for different dimensions, such as the success rate, the response latency for a designated source, and destination services. The service profile works off the host headers of the HTTP protocol. Linkerd's :authority refers to HTTP/2 headers, which is equivalent to HTTP/1.x's Host header. Let's create a service profile for the booksapp application we looked at in Chapter 15, Installing Linkerd.
booksapp is the demo application from Buoyant.io – the company behind Linkerd. This application consists of three microservices: webapp, authors, and books. The microservices are written in Ruby, and they use JSON over HTTP ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access