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 ...