Day76 ---> 90DaysOfDevOps Challenge @TWS

Day76 ---> 90DaysOfDevOps Challenge @TWS

How to Build a Grafana Dashboard?

A dashboard gives you an at-a-glance view of your data and lets you track metrics through different visualizations.

Dashboards consist of panels, each representing a part of the story you want your dashboard to tell.

Every panel consists of a query and a visualization. The query defines what data you want to display, whereas the visualization defines how the data is displayed.

Let's learn to create dashboard --->

In the sidebar, hover your cursor over the Create (plus sign) icon and then click New Dashboard.

image

Click Add a new panel.

image

image

image

In the Query editor below the graph, enter the query from earlier and then press Shift + Enter:

sum(rate(http_request_duration_microseconds_count[5m])) by(route)

image

In the Legend field, enter {{route}} to rename the time series in the legend. The graph legend updates when you click outside the field.

image

In the Panel editor on the right, under Settings, change the panel title to “Traffic”.

image

image

Click Apply in the top-right corner to save the panel and go back to the dashboard view.

image

Click the Save Dashboard (disk) icon at the top of the dashboard to save your dashboard.

image

image

Enter a name in the Dashboard name field and then click Save.

image

image

Happy Learning :)

Day 76 task is complete!

90DaysOfDevOps Tasks👇

github.com/Chaitannyaa/90DaysOfDevOps.git

Chaitannyaa Gaikwad | LinkedIn