pyroscope-java icon indicating copy to clipboard operation
pyroscope-java copied to clipboard

Support to filter events wall-clock mode

Open netamego opened this issue 3 years ago • 1 comments

Hi,

Would be great new feture to filter some events. This is is especially useful in wall-clock mode.

async-profiler supports it with -I and -X options.

For example:

./profiler.sh -I 'Primes.' -I 'java/' -X 'Unsafe.park' 8983

netamego avatar Feb 25 '22 17:02 netamego

Hi!!

I think this could be implemented from java agent or from server frontend side. I think best aproach is an option to hide, from Pyroscope ui (frontend side), selected object and it's child/father stacks and rescale the flamecraph. For example in java, in Wall mode, show Unsafe.park stacks is useful in some cases (Idle thread pool) but in most cases does not provide much information. An option from ui to show/hide some stacks without modify agent options would be great.

Thanks a lot.

netamego avatar Aug 27 '22 09:08 netamego