Kamon icon indicating copy to clipboard operation
Kamon copied to clipboard

Kamon high cpu usage

Open Pooriya-Shokri opened this issue 3 years ago • 1 comments

Now and then when I collect thread-dumps or monitor CPU usage, I see Kamon is running some regex. Do you why this happens? Pictures of my recording is attached.

MicrosoftTeams-image (1) MicrosoftTeams-image

Pooriya-Shokri avatar Jan 02 '23 08:01 Pooriya-Shokri

This happens every time a new actor is created and matched with the filters inside of kamon.instrumentation.akka.filters. It should only happen when actors are created, though.

Are you creating a ton of actors all the time and/or have a bunch of patterns on your filters configuration? Those are the only reasons I think this might be happening.

ivantopo avatar Jan 10 '23 10:01 ivantopo