I have a .net window service application with customer performance counter. It works perfect on a windows OS as a window service. However line of code that writes to custom performance counter is failing. I did some research and found that PerfMon of host system can not connect to Container. Only 3rd party monitoring is available for containers. Is there any way I can use my custom performance counters of a .net app without changing my line of code.
I am using Windows 10 and Docker for Windows.