prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <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
  
  
  </issue>
  <code>
  [start of ddtrace/contrib/wsgi/__init__.py]
  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 of ddtrace/contrib/wsgi/__init__.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
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"}]}