Back to Skywalking

Windows Monitoring

docs/en/setup/backend/backend-win-monitoring.md

10.4.04.8 KB
Original Source

Windows Monitoring

SkyWalking leverages Prometheus windows_exporter to collect metrics data from the Windows and leverages OpenTelemetry Collector to transfer the metrics to OpenTelemetry receiver and into the Meter System. Windows entity as a Service in OAP and on the Layer: OS_WINDOWS.

Data flow

For OpenTelemetry receiver:

  1. The Prometheus windows_exporter collects metrics data from the VMs.
  2. The OpenTelemetry Collector fetches metrics from windows_exporter via Prometheus Receiver and pushes metrics to the SkyWalking OAP Server via OpenTelemetry gRPC exporter.
  3. The SkyWalking OAP Server parses the expression with MAL to filter/calculate/aggregate and store the results.

Setup

For OpenTelemetry receiver:

  1. Setup Prometheus windows_exporter.
  2. Setup OpenTelemetry Collector . This is an example for OpenTelemetry Collector configuration otel-collector-config.yaml.
  3. Config SkyWalking OpenTelemetry receiver.

Supported Metrics

Monitoring PanelUnitMetric NameDescriptionData Source
CPU Usage%meter_win_cpu_total_percentageThe total percentage usage of the CPU core. If there are 2 cores, the maximum usage is 200%.Prometheus windows_exporter
Memory RAM UsageMBmeter_win_memory_usedThe total RAM usagePrometheus windows_exporter
Virtual-Memory Usage%meter_win_memory_virtual_memory_percentageThe percentage usage of virtual memeory memoryPrometheus windows_exporter
CPU Average Used%meter_win_cpu_average_usedThe percentage usage of the CPU core in each modePrometheus windows_exporter
Memory RAMMBmeter_win_memory_total
meter_win_memory_available
meter_win_memory_usedThe RAM statistics, including Total / Available / UsedPrometheus windows_exporter
Virtual-MemroyMBmeter_win_memory_virtual_memory_free
meter_win_memory_virtual_memory_totalVirtual memory statistics, including Free / TotalPrometheus windows_exporterThe percentage usage of the file system at each mount point
Disk R/WKB/smeter_win_disk_read,meter_win_disk_writtenThe disk read and writtenPrometheus windows_exporter
Network Bandwidth UsageKB/smeter_win_network_receive
meter_win_network_transmitThe network receive and transmitPrometheus windows_exporterThe number of file descriptors allocated

Customizing

You can customize your own metrics/expression/dashboard panel. The metrics definition and expression rules are found in /config/otel-rules/windows.yaml. The dashboard panel confirmations are found in /config/ui-initialized-templates/os_windows.