Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Observability with Grafana
  • Table Of Contents Toc
  • Feedback & Rating feedback
Observability with Grafana

Observability with Grafana

By : Rob Chapman, Peter Holmes
4 (4)
close
close
Observability with Grafana

Observability with Grafana

4 (4)
By: Rob Chapman, Peter Holmes

Overview of this book

To overcome application monitoring and observability challenges, Grafana Labs offers a modern, highly scalable, cost-effective Loki, Grafana, Tempo, and Mimir (LGTM) stack along with Prometheus for the collection, visualization, and storage of telemetry data. Beginning with an overview of observability concepts, this book teaches you how to instrument code and monitor systems in practice using standard protocols and Grafana libraries. As you progress, you’ll create a free Grafana cloud instance and deploy a demo application to a Kubernetes cluster to delve into the implementation of the LGTM stack. You’ll learn how to connect Grafana Cloud to AWS, GCP, and Azure to collect infrastructure data, build interactive dashboards, make use of service level indicators and objectives to produce great alerts, and leverage the AI & ML capabilities to keep your systems healthy. You’ll also explore real user monitoring with Faro and performance monitoring with Pyroscope and k6. Advanced concepts like architecting a Grafana installation, using automation and infrastructure as code tools for DevOps processes, troubleshooting strategies, and best practices to avoid common pitfalls will also be covered. After reading this book, you’ll be able to use the Grafana stack to deliver amazing operational results for the systems your organization uses.
Table of Contents (22 chapters)
close
close
1
Part 1: Get Started with Grafana and Observability
In Progress | 0 / 1 sections completed | 0%
5
Part 2: Implement Telemetry in Grafana
In Progress | 0 / 1 sections completed | 0%
10
Part 3: Grafana in Practice
In Progress | 0 / 1 sections completed | 0%
15
Part 4: Advanced Applications and Best Practices of Grafana
In Progress | 0 / 1 sections completed | 0%
17
Chapter 13: Application Performance with Grafana Pyroscope and k6
In Progress | 0 / 4 sections completed | 0%
20
Index
In Progress | 0 / 2 sections completed | 0%

Creating your first dashboard

Dashboards are a medium to communicate important and sometimes urgent information to consumers. Before we delve into design techniques and best practices, let’s get familiar with the Grafana user interface to start with a simple dashboard. The demo application we have worked with throughout this book has a frontend store; let’s look at the requests we get for its shopping cart.

To create your first panel and dashboard, follow these steps:

  1. In your Grafana instance, select Explore in the menu.
  2. Choose your Prometheus data source; this will be labeled as grafanacloud-<team>-prom (default).
  3. In the Metric dropdown, choose app_frontend_requests_total (the metric count of requests to the frontend app), and in the Label filters dropdown, choose target = /api/cart as the filter (to restrict the results to the cart API only), and then click on Run query. You should see data like this:
Figure 8.1 – App frontend requests

Figure 8...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY