apache / skywalking

APM, Application Performance Monitoring System
https://skywalking.apache.org/
Apache License 2.0
23.74k stars 6.5k forks source link

[Bug] Windows Metrics Name -- "Swap" => "Virtual Memory" #12105

Closed lagagain closed 5 months ago

lagagain commented 5 months ago

Search before asking

Apache SkyWalking Component

OAP server (apache/skywalking)

What happened

Windows metrics that include swap are from 'virtual memory', but swap is not equal to virtual memory.

With MSINFO32.exe, we could see resources' current status, including physical memory and virtual memory and page file size.

As I know, [Virtual Memory] = [Physical Memroy] + [Swap]. And Zabbix Agent read swap number is page file.

What you expected to happen

Rename metrics:

(There is two 'memory' in each metry, so may have another better name.)

How to reproduce

remove document or table - ui_template_Windows-Service - in database, or using empty database.

Anything else

No response

Are you willing to submit a pull request to fix on your own?

Code of Conduct

wu-sheng commented 5 months ago

And Zabbix Agent read swap number is page file.

What does this mean?

lagagain commented 5 months ago

And Zabbix Agent read swap number is page file.

What does this mean?

I found this problem is because the value in Zabbix Dashboard different from SkyWalking Monitor. In Zabbix, the labels are 'Free swap space', 'Total swap space', 'Free swap space in %'. And the value is "page file" size in MSINFO32.exe