Resource Monitoring for Windows should report container memory usage
Description
Resource Monitoring for Windows reports memory usage of the process the app is running in. Instead of that, it should consider memory usage of all the processes running in the container as there might be more than one process. Resource Monitoring for Linux does the right thing already - it reports container memory usage.
Reproduction Steps
Check out this line - Resource Monitoring for Windows uses process info to report memory usage.
Expected behavior
Resource Monitoring for Windows sums up memory usage of all processes running in the same container and reports the result for the memory usage counters.
Actual behavior
Resource Monitoring for Windows reports memory usage of the process the app is running in. Resource Monitoring for Windows reports memory usage of the whole container, e.g. all processes running in the container.
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response
The issue seems to be a part of #4538
Should #4538 be closed as superceded as the Linux side is now resolved?