[Python] How is Datadog able to collect trace data without any modification of application...

Discussão em 'Python' iniciado por Stack, Novembro 23, 2025.

  1. Stack

    Stack Membro Participativo

    when running a flask app just have to prepend ddtrace-run to python app.py

    Just by doing this datadog can collect informtion like api paths, latency, response status, etc. I searched online about it and found out stuff like:

    • monkey patching
    • Bytecode Instrumentation
    • Aspect-Oriented Programming (AOP)

    Can you explain how this is being done? I am trying to achieve the same thing in python

    sources for context:


    Continue reading...

Compartilhe esta Página