We’ll explore 3 use cases for monitoring data. They are:
* Analyzing long-term trends
* Comparing over time or experiment groups
* Conducting ad hoc retrospective analysis
Analyzing long-term trends
You can ask yourself a couple of simple questions as a starting point:
* How big is my database?
* How fast is the database growing?
* How quickly is my user count growing?
As you get comfortable with analyzing data for the simpler questions, you can start to analyze trends for less straightforward questions like:
* How is the database performance evolving? Are there signs of degradation?
* Is there consistent growth in data volume that may require future infrastructure adjustments?
* How is overall resource utilization trending over time across different services?
* How is the cost of cloud resources evolving, and what does that mean for budget forecasting?
* Are there recurring patterns in downtime or service degradation, and what can be done to mitigate them?
Sebastian mentioned that it's a part of observability he enjoys doing. I can understand why. It’s exciting to see how components are changing over a period and working out solutions before you end up in an incident response nightmare.
Getting to effectively analyze the trends requires the right level of data retention settings. Because if you're throwing out your logs, traces, and metrics too early, you will not have enough historical data to do this kind of work.
Doing this right means having the right amount of data in place to be able to analyze those trends over time, and that will of course depend on your desired period.
Comparing over time or experiment groups
Google’s definition
You're comparing the data results for different groups that you want to compare and contrast. Using a few examples from the SRE (2016) book:
* Are your queries faster in this version of this database or this version of that database?
* How much better is my memcache hit rate with an extra node and is my site slower than it was last week?
You're comparing it to different buckets of time and different types of products.
A proper use case for comparing groups
Sebastian did this particular use case recently because he had to compare two different technologies for deploying code: AWS Lambda vs AWS Fargate ECS.
He took those two services and played around with different memories and different virtual CPUs. Then he ran different amounts of requests against those settings and tried to figure out which one was the better technology option most cost-effectively.
His need for this went beyond engineering work but enabling product teams with the right decision-making data. He wrote out a knowledge base article to give them guidance for a more educated decision on the right AWS service.
Having the data to compare the two services allowed him to answer questions like:
* When should you be using either of these technologies?
* What use cases would either technology be more suitable for?
This data-based decision support is based mainly on monitoring or observability data. The idea of using the monitoring data to compare tools and technologies for guiding product teams is something I think reliability folk can gain a lot of value from doing.
Conducting ad hoc retrospective analysis (debugging)
Debugging is a bread-and-butter responsibility for anyone who is a software engineer of any level.
It’s something that everybody should know a little bit more about than other tasks because there are very effective and also very ineffective ways of going about debugging.
Monitoring data can help make the debugging process fall into the effective side.
There are organizations where you have 10 different systems. In one system, you might get one fragmented piece of information. In another, you’ll get another fragment. And so on for all the different systems.
And then you have to correlate these pieces of information in your head and hopefully, you get some clarity out of the fragments to form some kind of insight.
Monitoring data that are brought together into one datastream can help correlate and combine all these pieces of information. With it, you can:
* Pinpoint slow-running queries or functions by analyzing execution times and resource usage, helping you identify inefficiencies in your code
* Correlate application logs with infrastructure metrics to determine if a performance issue is due to code errors or underlying infrastructure problems
* Track memory leaks or CPU spikes by monitoring resource usage trends, which can help you identify faulty code or services
* Set up detailed error tracking that automatically
Las Culturistas with Matt Rogers and Bowen Yang
Ding dong! Join your culture consultants, Matt Rogers and Bowen Yang, on an unforgettable journey into the beating heart of CULTURE. Alongside sizzling special guests, they GET INTO the hottest pop-culture moments of the day and the formative cultural experiences that turned them into Culturistas. Produced by the Big Money Players Network and iHeartRadio.
Crime Junkie
Does hearing about a true crime case always leave you scouring the internet for the truth behind the story? Dive into your next mystery with Crime Junkie. Every Monday, join your host Ashley Flowers as she unravels all the details of infamous and underreported true crime cases with her best friend Brit Prawat. From cold cases to missing persons and heroes in our community who seek justice, Crime Junkie is your destination for theories and stories you won’t hear anywhere else. Whether you're a seasoned true crime enthusiast or new to the genre, you'll find yourself on the edge of your seat awaiting a new episode every Monday. If you can never get enough true crime... Congratulations, you’ve found your people. Follow to join a community of Crime Junkies! Crime Junkie is presented by Audiochuck Media Company.
The Brothers Ortiz
The Brothers Ortiz is the story of two brothers–both successful, but in very different ways. Gabe Ortiz becomes a third-highest ranking officer in all of Texas while his younger brother Larry climbs the ranks in Puro Tango Blast, a notorious Texas Prison gang. Gabe doesn’t know all the details of his brother’s nefarious dealings, and he’s made a point not to ask, to protect their relationship. But when Larry is murdered during a home invasion in a rented beach house, Gabe has no choice but to look into what happened that night. To solve Larry’s murder, Gabe, and the whole Ortiz family, must ask each other tough questions.