Chapter 41. Improve Your Monitoring with Visualizations and Dashboards
Jason Katzer
Charts take your monitoring metrics to the next level by making it possible to visualize them.1 Why work on this task? Because viewing the charts you create will unlock a different kind of creativity when facing an impending incident in your production systems.
It may take some time to get this right; creating effective charts that tell you what you need to know about your application is more of an art than a science. For example, you can use login metrics to start to understand the current traffic flowing through a certain user path, while also being able to contextualize that instantly with the insight of overlaying the history over certain time periods.
Additionally, changing the aggregation you are using can tell you different things. Think back to calculus class, if you took it: the current value of a metric can tell you something interesting, but the rate of change of that metric can indicate a trend that tells you something different.
When you are having an argument about how often one thing happens versus another, that is a perfect time to turn to metrics. You can add a line of code to track something, ship it to production, and start to get answers instead of guessing.
Functions allow you to permute the data being graphed in a limited set of ways ...
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