From the course: Advanced Spring: Spring Boot Actuator

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Creating dashboards with Grafana

Creating dashboards with Grafana

- [Instructor] Now that we've configured Prometheus as our data source, all that is left for us to do now is build a beautiful dashboard with Grafana. To do so, I'm going to come over to the left panel, hover over the plus icon, come down to create dashboard and select dashboard. Now I'm going to build my dashboard by first adding an empty panel. So I'm going to add an empty panel. In here, I have the option of leveraging the metrics browser to gather my metrics, or I could enter a PromQL query directly in here. So let's do so. So I'm going to click in here and type system_cpu. I want the CPU usage, so system_cpu_usage, select that. And to run this query, I'll just hold down Shift + Enter. And wow, look at that. My system CPU usage is being graphed, and as you can see, I had a spike up here. Now I can make this graph even more appealing if I want to. To do that, I have to come to the right end panel, scroll down. And…

Contents