pyroscope: how to use py-spy configs in pyroscope python client

Question:

I have recently used Pyroscope for my python program. It uses py-spy for profiling the programs. I have checked the configuration of the Pyroscope python client, and the configs are very limited which described in the configure method. I want to use some of the py-spy configs like --native or --idle as described on the py-spy GitHub page. How can I use it in the python client?

Asked By: Pouria Nikvand

||

Answers:

I asked this question in this issue and in the new version, they added the options in pyroscope.configs() like they describe in full documentations on this link

Answered By: Pouria Nikvand
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.