Ensure you have appropriate versions of items related to:
kube-state-metrics: Uses client-go to communicate with Clusters. For Kubernetes client-go version compatibility and any other related details, refer to kube-state-metrics.
Windows Exporter: Exports Prometheus metrics for Windows machines. Requires Kubernetes 1.22+. Refer to windows_exporter on Kubernetes for any additional requirements.
Configure Kubernetes Monitoring to monitor Windows Nodes
To set up monitoring for Windows Nodes:
Install the windows-exporter Daemonset.
Create the windows-exporter ServiceMonitor.
Install windows-exporter with appropriate collectors
Install the windows-exporter Daemonset, which deploys to every Windows Node on the cluster to ensure metrics are available to be scraped.
The image specified in initContainers must match the version of Windows that is running on the Node, such as ltsc2019. For more information, refer to the tag list.
To view the status of data collection, at Kubernetes Monitoring, click Configuration on the main menu, then click the Metrics status tab.
Your data becomes populated as the system components begin scraping and sending data to Grafana Cloud.
This view shows the health of the different sources of metrics, logs, and events, as well as any applicable version numbers.