Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learn Grafana 7.0

You're reading from   Learn Grafana 7.0 A beginner's guide to getting well versed in analytics, interactive dashboards, and monitoring

Arrow left icon
Product type Paperback
Published in Jun 2020
Publisher Packt
ISBN-13 9781838826581
Length 410 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Eric Salituro Eric Salituro
Author Profile Icon Eric Salituro
Eric Salituro
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. Getting Started with Grafana
2. Introduction to Data Visualization with Grafana FREE CHAPTER 3. A Tour of the Grafana Interface 4. An Introduction to the Graph Panel 5. Real-World Grafana
6. Connecting Grafana to a Data Source 7. Visualizing Data in the Graph Panel 8. Visualization Panels in Grafana 9. Creating Your First Dashboard 10. Working with Advanced Dashboard Features 11. Grafana Alerting 12. Exploring Logs with Grafana Loki 13. Managing Grafana
14. Organizing Dashboards 15. Managing Permissions for Users and Teams 16. Authentication with External Services 17. Cloud Monitoring 18. Other Books You May Enjoy

Detecting trends with aggregations

As we continue up the stack, let's now take a look at some server performance metrics. How about an obvious web server metric? Enter prometheus_http_requests_total to get an idea of how many requests have been served so far:

Well, this is a bit of a mess. You can't see all 22 of the time series—they're all stacked on top of each other and there's a vague warning about something monotonically increasing. As we saw in the previous section, it's no problem to apply filters—say, to filter out the GET method handlers—but then we'd still have a stack of nearly 20 individual series.

Applying aggregations to our query data

If only there were some way to combine all the individual data series into one. It turns out there is, and it's called an aggregation. We can actually tell Prometheus to apply an aggregation function (in this case, sum) after...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime