First, let's create the dashboard and add the first visualization for CPU usage for Windows nodes. Please perform the following steps:
- Navigate to the Grafana web UI and log in with the credentials provided in the Helm chart release. The default is user admin and password P@ssword.
- From the side panel, click the + button and choose Dashboard.
- Click the Save Dashboard button and provide voting application as the name.
- Choose Add Query.
- Provide the following query in the first metric: 100 - (avg by (instance) (irate(wmi_cpu_time_total{mode="idle"}[2m])) * 100). This query calculates the average CPU usage in the last two minutes using counters for the total CPU idle time.
- In Legend, provide {{instance}} to use the node ...