Enabling Windows operating system metrics
The Windows Exporter service exposes Windows operating system metrics.
1 Download the installation program for the Windows Exporter service from the following location:
https://github.com/prometheus-community/windows_exporter
2 Run the installation program by using the following command:
msiexec /i <path_to_installation_file> ENABLED_COLLECTORS=cpu,cs,logical_disk,net,os
This command installs the Windows Exporter service with the “service” collector disabled, because that service generates a lot of metrics about Windows services which are mostly irrelevant for monitoring UNICOM Intelligence, and increase the size of and time taken to generate the metrics response.
3 Check the metrics are working by going to the following URL:
http://localhost:9182/metrics
See