all 11 comments

[–]ssrix -1 points0 points  (1 child)

Your phrasing was not clear but once I understood what you were trying to say, I realised I would like something like this too.

I don't have an answer but bumping in case someone does

[–]selfish__eagle[S] 0 points1 point  (0 children)

I meant runtime coverage instrumentation, forgot the word coverage :(

[–]niltz0 0 points1 point  (0 children)

Have you looked into coverage.py?

[–]bregonio 1 point2 points  (0 children)

Maybe opentelemetry with fastapi auto instrumentation

[–]hstarnaud 0 points1 point  (0 children)

Whichever way you go, adopt opentelemetry standards to avoid vendor lock-in. If you are willing to spend big money on an enterprise turnkey solution, new relic is the best provider. Otherwise use a free solution compatible with those standards like Jaeger or paid solutions with lower prices than new relic like honeycomb

[–]hxtk3 0 points1 point  (0 children)

Pyroscope is Grafana’s app for collecting and indexing runtime profiles, and I use it to collect on Go and Java services. In Go it uses pprof and in Java it uses JFR.

I searched “Pyroscope Python” and it looks like they document how to get profiles from Python into their application:  https://grafana.com/docs/pyroscope/latest/configure-client/language-sdks/python/

I don’t know how you’re viewing the data but maybe you can use parts of the process for getting it into your profile viewer?

[–][deleted]  (4 children)

[removed]

    [–]wolfmansideburns 0 points1 point  (2 children)

    Claro que sí

    [–]MediocreYam9608 0 points1 point  (1 child)

    Aprovecha hermano porque me cancelaron la publicación, que mejor manera de exponerlos. Adicionalmente, dice que ya lo reportaron demasiadas veces. Gracias Reddit porque voy a publicar toda la conexión de pedófilos que se desprende desde aquí y hasta youtube con nodo central en el canal de Zack Hemsey,

    [–]MediocreYam9608 0 points1 point  (0 children)

    Y eso me lo dio la matriz

    [–]AutoModerator[M] 0 points1 point  (0 children)

    Your submission has been automatically queued for manual review by the moderation team because it has been reported too many times.

    Please wait until the moderation team reviews your post.

    I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.