o
    Á¿iG  ã                   @   s   d Z ddlmZ dgZdS )aÞ  
The Datadog WSGI middleware traces all WSGI requests.


Usage
~~~~~

The middleware can be used manually via the following command::


    from ddtrace.contrib.wsgi import DDWSGIMiddleware

    # application is a WSGI application
    application = DDWSGIMiddleware(application)


Configuration
~~~~~~~~~~~~~

.. py:data:: ddtrace.config.wsgi["service"]

   The service name reported for the WSGI application.

   This option can also be set with the ``DD_SERVICE`` environment
   variable.

   Default: ``"wsgi"``

.. py:data:: ddtrace.config.wsgi["distributed_tracing"]

   Configuration that allows distributed tracing to be enabled.

   Default: ``True``


:ref:`All HTTP tags <http-tagging>` are supported for this integration.

é    )ÚDDWSGIMiddlewarer   N)Ú__doc__Ú"ddtrace.contrib.internal.wsgi.wsgir   Ú__all__© r   r   úH/home/ubuntu/.local/lib/python3.10/site-packages/ddtrace/contrib/wsgi.pyÚ<module>   s    '
