Creating dashboards to visualize service telemetry data
In this section, we will describe a useful technique for accessing the service telemetry data that can help you explore your data in the form of various graphical charts. The technique that we will cover is called dashboarding, and it is widely used to track performance metrics and events, including logs, traces, and metrics.
Introduction to dashboards
We can define a dashboard as a set of charts representing different types of telemetry data. The following figure shows the dashboard of a Go service containing some system-level metrics, such as the goroutine count, the number of Go threads, and the allocated memory size:

Figure 14.1 – Go process dashboard example from the Grafana tool
Among the most common use cases of using dashboards is visualizing service metrics, including counters (such as service panic counts), gauges (current resource utilization in percent), and histograms (distribution...