opentelemetry-python-contrib icon indicating copy to clipboard operation
opentelemetry-python-contrib copied to clipboard

Also use Asgi if Channel package is present

Open pilhuhn opened this issue 3 years ago • 1 comments
trafficstars

Description

Django 2 does not provide ASGi out of the box and thus assumes that always wsgi is used, which is not true. By using the channel package, Asgi is also present for Django 2

Fixes #1416

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Running code that previously failed with e.g. https://github.com/open-telemetry/opentelemetry-python/issues/2833

  • [ ] Test A

Does This PR Require a Core Repo Change?

  • [ ] Yes. - Link to PR:
  • [X] No.

Checklist:

See contributing.md for styleguide, changelog guidelines, and more.

  • [ ] Followed the style guidelines of this project
  • [ ] Changelogs have been updated
  • [ ] Unit tests have been added
  • [ ] Documentation has been updated

pilhuhn avatar Oct 28 '22 12:10 pilhuhn