This is a discussion issue around this code:
https://github.com/open-telemetry/opentelemetry-python/blob/master/ext/opentelemetry-ext-django/src/opentelemetry/ext/django/__init__.py#L53
That currently appends middleware, which results in instrumentation for only the user code. This comes with two caveats:
- latency does not truly represent the most accurate value, as it does not consider time taken by middlewares.
- some requests will be omitted entirely, due to middleware rejecting the request before the instrumentation middleware can execute.