Skip to content

Move instrumentation django#83

Merged
codeboten merged 18 commits intoopen-telemetry:masterfrom
NathanielRN:move-instrumentation-django
Oct 23, 2020
Merged

Move instrumentation django#83
codeboten merged 18 commits intoopen-telemetry:masterfrom
NathanielRN:move-instrumentation-django

Conversation

@NathanielRN
Copy link
Contributor

Description

Moves the instrumentation/opentelemetry-instrumentation-django from the core repo into the contrib repo.

The original code is being copied over from the Core repo here: https://github.com/open-telemetry/opentelemetry-python/tree/master/instrumentation/opentelemetry-instrumentation-django

How Has This Been Tested?

CI tests will confirm it works correctly.

The only reason I didn't add tests yet (and I didn't plan to until we get all the packages we want in) is because the tests introduced here depend on other packages that will be coming (very soon hopefully!) in future PRs.

After the PRs with the packages are merged, I'll take the same approach I took in my large PR #47 where I got the tests to pass.

Checklist:

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

lzchen and others added 17 commits August 3, 2020 10:10
* dropping support for python 3.4
…open-telemetry#1154)

OTEL_PYTHON_DJANGO_TRACED_REQUEST_ATTRS env var can be set to a command
separated list of attributes names that will be extracted from Django's
request object and set as attributes on spans.
open-telemetry#1178)

OTEL_PYTHON_TONADO_TRACED_REQUEST_ATTRS env var can be set to a command
separated list of attributes names that will be extracted from Tornado's
request object and set as attributes on spans.

Co-authored-by: (Eliseo) Nathaniel Ruiz Nowell <enruizno@uwaterloo.ca>
@codeboten codeboten merged commit 018065f into open-telemetry:master Oct 23, 2020
@NathanielRN NathanielRN deleted the move-instrumentation-django branch November 2, 2020 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants