prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Documentation site code uses incorrect class from ddtrace/contrib/wsgi/wsgi.py
  ### Which version of dd-trace-py are you using?
  0.48.1
  
  ### What libraries am I using:
  Python: 3.8
  
  ### How can we reproduce your problem?
  1. Copy the example code from https://ddtrace.readthedocs.io/en/stable/integrations.html#wsgi
  2. Example code cites `DDTraceMiddleware` class
  2. Run any wsgi application with said code
  
  ### What is the result that you get?
  ```
  ImportError: cannot import name 'DDTraceMiddleware' from 'ddtrace.contrib.wsgi' (/usr/local/lib/python3.8/site-packages/ddtrace/contrib/wsgi/__init__.py)
  ```
  
  ### What is the result that you expected?
  Example code in readthedocs site should properly cite the import for the `DDWSGIMiddleware` class: https://github.com/DataDog/dd-trace-py/blob/master/ddtrace/contrib/wsgi/wsgi.py#L83
  
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `ddtrace/contrib/wsgi/__init__.py`
  Content:
  ```
  1 """
  2 The Datadog WSGI middleware traces all WSGI requests.
  3 
  4 
  5 Usage
  6 ~~~~~
  7 
  8 The middleware can be used manually via the following command::
  9 
  10 
  11     from ddtrace.contrib.wsgi import DDTraceMiddleware
  12 
  13     # application is a WSGI application
  14     application = DDTraceMiddleware(application)
  15 
  16 
  17 Global Configuration
  18 ~~~~~~~~~~~~~~~~~~~~
  19 
  20 .. py:data:: ddtrace.config.wsgi["service"]
  21 
  22    The service name reported for the WSGI application.
  23 
  24    This option can also be set with the ``DD_SERVICE`` environment
  25    variable.
  26 
  27    Default: ``"wsgi"``
  28 
  29 .. py:data:: ddtrace.config.wsgi["distributed_tracing"]
  30 
  31    Configuration that allows distributed tracing to be enabled.
  32 
  33    Default: ``True``
  34 
  35 
  36 :ref:`All HTTP tags <http-tagging>` are supported for this integration.
  37 
  38 """
  39 from .wsgi import DDWSGIMiddleware
  40 
  41 
  42 __all__ = [
  43     "DDWSGIMiddleware",
  44 ]
  45
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/ddtrace/contrib/wsgi/__init__.py b/ddtrace/contrib/wsgi/__init__.py
  --- a/ddtrace/contrib/wsgi/__init__.py
  +++ b/ddtrace/contrib/wsgi/__init__.py
  @@ -8,10 +8,10 @@
   The middleware can be used manually via the following command::
   
   
  -    from ddtrace.contrib.wsgi import DDTraceMiddleware
  +    from ddtrace.contrib.wsgi import DDWSGIMiddleware
   
       # application is a WSGI application
  -    application = DDTraceMiddleware(application)
  +    application = DDWSGIMiddleware(application)
   
   
   Global Configuration
  
verification_info: {"golden_diff": "diff --git a/ddtrace/contrib/wsgi/__init__.py b/ddtrace/contrib/wsgi/__init__.py\n--- a/ddtrace/contrib/wsgi/__init__.py\n+++ b/ddtrace/contrib/wsgi/__init__.py\n@@ -8,10 +8,10 @@\n The middleware can be used manually via the following command::\n \n \n-    from ddtrace.contrib.wsgi import DDTraceMiddleware\n+    from ddtrace.contrib.wsgi import DDWSGIMiddleware\n \n     # application is a WSGI application\n-    application = DDTraceMiddleware(application)\n+    application = DDWSGIMiddleware(application)\n \n \n Global Configuration\n", "issue": "Documentation site code uses incorrect class from ddtrace/contrib/wsgi/wsgi.py\n### Which version of dd-trace-py are you using?\r\n0.48.1\r\n\r\n### What libraries am I using:\r\nPython: 3.8\r\n\r\n### How can we reproduce your problem?\r\n1. Copy the example code from https://ddtrace.readthedocs.io/en/stable/integrations.html#wsgi\r\n2. Example code cites `DDTraceMiddleware` class\r\n2. Run any wsgi application with said code\r\n\r\n### What is the result that you get?\r\n```\r\nImportError: cannot import name 'DDTraceMiddleware' from 'ddtrace.contrib.wsgi' (/usr/local/lib/python3.8/site-packages/ddtrace/contrib/wsgi/__init__.py)\r\n```\r\n\r\n### What is the result that you expected?\r\nExample code in readthedocs site should properly cite the import for the `DDWSGIMiddleware` class: https://github.com/DataDog/dd-trace-py/blob/master/ddtrace/contrib/wsgi/wsgi.py#L83\r\n\n", "before_files": [{"content": "\"\"\"\nThe Datadog WSGI middleware traces all WSGI requests.\n\n\nUsage\n~~~~~\n\nThe middleware can be used manually via the following command::\n\n\n    from ddtrace.contrib.wsgi import DDTraceMiddleware\n\n    # application is a WSGI application\n    application = DDTraceMiddleware(application)\n\n\nGlobal Configuration\n~~~~~~~~~~~~~~~~~~~~\n\n.. py:data:: ddtrace.config.wsgi[\"service\"]\n\n   The service name reported for the WSGI application.\n\n   This option can also be set with the ``DD_SERVICE`` environment\n   variable.\n\n   Default: ``\"wsgi\"``\n\n.. py:data:: ddtrace.config.wsgi[\"distributed_tracing\"]\n\n   Configuration that allows distributed tracing to be enabled.\n\n   Default: ``True``\n\n\n:ref:`All HTTP tags <http-tagging>` are supported for this integration.\n\n\"\"\"\nfrom .wsgi import DDWSGIMiddleware\n\n\n__all__ = [\n    \"DDWSGIMiddleware\",\n]\n", "path": "ddtrace/contrib/wsgi/__init__.py"}], "after_files": [{"content": "\"\"\"\nThe Datadog WSGI middleware traces all WSGI requests.\n\n\nUsage\n~~~~~\n\nThe middleware can be used manually via the following command::\n\n\n    from ddtrace.contrib.wsgi import DDWSGIMiddleware\n\n    # application is a WSGI application\n    application = DDWSGIMiddleware(application)\n\n\nGlobal Configuration\n~~~~~~~~~~~~~~~~~~~~\n\n.. py:data:: ddtrace.config.wsgi[\"service\"]\n\n   The service name reported for the WSGI application.\n\n   This option can also be set with the ``DD_SERVICE`` environment\n   variable.\n\n   Default: ``\"wsgi\"``\n\n.. py:data:: ddtrace.config.wsgi[\"distributed_tracing\"]\n\n   Configuration that allows distributed tracing to be enabled.\n\n   Default: ``True``\n\n\n:ref:`All HTTP tags <http-tagging>` are supported for this integration.\n\n\"\"\"\nfrom .wsgi import DDWSGIMiddleware\n\n\n__all__ = [\n    \"DDWSGIMiddleware\",\n]\n", "path": "ddtrace/contrib/wsgi/__init__.py"}]}