-
Notifications
You must be signed in to change notification settings - Fork 504
Auto-instrument Django with WSGI middleware #1812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
97251c0
Add arch64 wheel build support (#1917)
odidev 843f87f
Merge branch 'master' of github.com:DataDog/dd-trace-py
Yun-Kim 1912b09
Merge branch 'master' of github.com:DataDog/dd-trace-py
Yun-Kim 7f8a036
Merge branch 'master' of github.com:DataDog/dd-trace-py
Yun-Kim 77560ea
Merge branch 'master' of github.com:DataDog/dd-trace-py
Yun-Kim 17fff49
auto-instrument django wsgi applications
Kyle-Verhoog 98fdf54
Added distributed tracing default false when instrumenting django wit…
Yun-Kim da4ff4f
Merge branch 'master' of github.com:DataDog/dd-trace-py into wsgi-django
Yun-Kim c77a236
Merge branch 'master' of github.com:DataDog/dd-trace-py
Yun-Kim 56d141d
Modified snapshot tests for django 1.11 and 2.1
Yun-Kim 07961ba
auto-instrument django wsgi applications
Kyle-Verhoog a294e42
Added distributed tracing default false when instrumenting django wit…
Yun-Kim 2313ce0
Modified snapshot tests for django 1.11 and 2.1
Yun-Kim 9ce11a5
Merge branch 'wsgi-django' of github.com:Kyle-Verhoog/dd-trace-py int…
Yun-Kim a97a72e
Merge branch 'master' of github.com:DataDog/dd-trace-py into wsgi-django
Yun-Kim 3eba509
Changed root span service/resource renaming to be wsgi-middleware spe…
Yun-Kim 70e8eab
Fixed snapshot test for django 2.1
Yun-Kim dc4d139
Merge branch 'master' into wsgi-django
Yun-Kim a6dc762
Merge branch 'master' of github.com:DataDog/dd-trace-py into wsgi-django
Yun-Kim 110d7c5
auto-instrument django wsgi applications
Kyle-Verhoog 32ebce0
requests: remove context dependence from tests (#1973)
Kyle-Verhoog 6389d40
aiohttp: remove context dependence (#1977)
Kyle-Verhoog aeff691
Add status_msg to set_http_meta() (#1972)
Yun-Kim 935b59d
Changed root span service/resource renaming to be wsgi-middleware spe…
Yun-Kim dbb8e04
Update integration.md (#1979)
Kyle-Verhoog 3ed2af5
chore(profiling): decrease max CPU usage for stack profiling to 1% (#…
24e6a9b
format futures (#1976)
Kyle-Verhoog 5d944a0
Introduce CherryPy Tracing (#1966)
lewisoaten bef81d1
tracer: move hostname tagging to start_span (#1984)
Kyle-Verhoog a5cabcd
tests: make context independent (#1986)
Kyle-Verhoog 7ee184b
gevent: remove implementation dependent tests (#1987)
Kyle-Verhoog 30c5394
chore(mergify): warn on PR conflict (#1988)
b6e4d1a
context: _dd_origin -> dd_origin (#1982)
Kyle-Verhoog 5a2de94
refactor(core): roll context manager into context provider (#1983)
Kyle-Verhoog f4ad7cc
span: make tests context independent (#1981)
Kyle-Verhoog 1a22719
asyncio: clean-up tests (#1985)
Kyle-Verhoog 0457e5e
httplib: enable distributed tracing by default (#1991)
Kyle-Verhoog b5bae01
feat(profiling): support most uwsgi modes (#1953)
c02e844
ci: disable output buffering (#1994)
majorgreys 5e96a83
django: add measured tag to root span (#1997)
Kyle-Verhoog 92c5e4e
Merge branch 'wsgi-django' of github.com:Kyle-Verhoog/dd-trace-py int…
Yun-Kim b1e4f91
Merge branch 'master' into wsgi-django
Yun-Kim File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -2,6 +2,14 @@ | |||||
| The Datadog WSGI middleware traces all WSGI requests. | ||||||
|
|
||||||
|
|
||||||
| Enabling | ||||||
| ~~~~~~~~ | ||||||
|
|
||||||
| The WSGI instrumentation will be automatically added to a Django or Flask | ||||||
| application when using :ref:`ddtrace-run<ddtracerun>` or | ||||||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| :ref:`patch_all()<patch_all>`. | ||||||
|
|
||||||
|
|
||||||
| Usage | ||||||
| ~~~~~ | ||||||
|
|
||||||
|
|
||||||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| --- | ||
| features: | ||
| - | | ||
| Auto-instrument Django get_wsgi_application. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.