App Insights Profiler doubles memory consumption

Tomáš Smola 0 Reputation points
2024-10-29T13:24:57.9733333+00:00

Hi,
I have a question regarding App Insights Profiler.

We've configured our app according to this tutorial and locally (run from VS or in a Docker container) everything works fine (there are API metrics in Portal, profiling sessions, code optimizations etc.), it consumes a little bit more memory, but I see no spikes. When deployed to the dev environment (kubernetes cluster) the memory usage goes bananas during profiling sessions and the app consumes twice the usual amount of memory. Also, it seems there are way too many sampling profiling sessions, it is not rare to see 20 per hour.User's image

The documentation says that the sampling profiling sessions are scheduled once an hour and that when Profiler is active the overhead is up to 15%.

I'm not able to find any relevant info to this. Thanks for any additional questions or help in advance.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,303 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.