o
    Á¿i¹  ã                   @   s   d Z ddlmZ dgZdS )aJ  
To trace the falcon web framework, install the trace middleware::

    import falcon
    from ddtrace.contrib.falcon import TraceMiddleware

    mw = TraceMiddleware('my-falcon-app')
    falcon.API(middleware=[mw])

You can also use the autopatching functionality::

    import falcon
    from ddtrace.trace import patch

    patch(falcon=True)

    app = falcon.API()

To disable distributed tracing when using autopatching, set the
``DD_FALCON_DISTRIBUTED_TRACING`` environment variable to ``False``.

:ref:`Headers tracing <http-headers-tracing>` is supported for this integration.
é    )ÚTraceMiddlewarer   N)Ú__doc__Ú*ddtrace.contrib.internal.falcon.middlewarer   Ú__all__© r   r   úJ/home/ubuntu/.local/lib/python3.10/site-packages/ddtrace/contrib/falcon.pyÚ<module>   s    
