Daniel Widdis

Results 426 comments of Daniel Widdis

See this issue: https://github.com/microsoft/ApplicationInsights-dotnet-server/issues/676 It seems isolation in the container is the root cause and a suggested fix is to add this line to the Dockerfile and grant permissions to...

If their container is different than the one in the issue the solution is likely different. Also advised would be to make sure they have the most recent version of...

Unfortunately I'm at a loss here. The proposed solutions were for one type of container but it's not clear what container the customer is using. The "100% CPU" is a...

From [this page](https://docs.microsoft.com/en-us/azure/azure-monitor/app/performance-counters): > Windows provides a wide variety of [performance counters](https://docs.microsoft.com/en-us/windows/desktop/perfctrs/about-performance-counters) such as processor, memory, and disk usage statistics. You can also define your own performance counters. Performance counters...

Note from [this article from appdynamics](https://www.appdynamics.com/blog/engineering/the-challenges-of-app-monitoring-with-net-core/): > Engineers who are used to debugging apps in a traditional Windows environment find that valuable tools like Event Tracing for Windows (ETW) and...

It looks like [this site](https://docs.appdynamics.com/display/PRO14S/Enable+Monitoring+for+Windows+Performance+Counters) gives instructions on exposing Windows performance counters to inside AppDynamics. You can look at the classes in the `oshi.driver.windows.perfmon` package to see what counters OSHI...

Closing this issue as the last comment gave instructions to resolve and there haven't been any further updates in 6 months. Feel free to reopen if you are still experiencing...

I'm thinking you are double-releasing this pointer: ``` CFMutableDictionaryRef performanceStatisticsRef = new CFMutableDictionaryRef(performanceStatisticsRaw.getPointer()); ``` This essentially makes `performanceStatisticsRef` and `performanceStatisticsRaw` the same pointer. Then later: ``` performanceStatisticsRef.release(); performanceStatisticsRaw.release(); ``` You...

Other helpful advice: if you're going to do this in a loop you might want to do all the CFString creation outside the loop.

The bug prior to 5.2.5 was probably fixed in #1320 (fixing #1319) which went in as part of 5.2.5. The issue with performance counters inside a container looks similar to...