Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions docs/installation_quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ For more advanced usage of ``ddtrace-run`` refer to the documentation :ref:`here
If ``ddtrace-run`` isn't suitable for your application then :ref:`patch_all` can be used::

import ddtrace

ddtrace.patch_all()


Expand All @@ -47,14 +47,13 @@ For information on how to manually create traces refer to the documentation :ref
Profiling
~~~~~~~~~

Getting started for profiling is as easy as prefixing your python entry-point
command with ``pyddprofile``.

For example if you start your application with ``python app.py`` then run::
Profiling can also be auto enabled with :ref:`ddtracerun` by providing the
``DD_PROFILING_ENABLED`` environment variable::

DD_PROFILING_ENABLED=true ddtrace-run python app.py

If ``ddtrace-run`` isn't suitable for your application then ``ddtrace.profiling.auto`` can be used::
If ``ddtrace-run`` isn't suitable for your application then
``ddtrace.profiling.auto`` can be used::

import ddtrace.profiling.auto

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
fixes:
- |
core: always reset the current_span in the context
core: always reset the current_span in the context.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
fixes:
- |
Add safe guards for building Django http.url span tag
django: add safe guards for building http.url span tag.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
fixes:
- |
Check Django view before instrumenting MRO
django: check view before instrumenting MRO.
2 changes: 1 addition & 1 deletion releasenotes/notes/fix-aiobotocore-9eeac808a3bf0f63.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
fixes:
- |
Set span error to 1 for 5xx status codes for aiobotocore.
aiobotocore: set span error for 5xx status codes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
fixes:
- |
Set span error to 1 for 5xx status codes for elasticsearch.
elasticsearch: set span error for 5xx status codes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
fixes:
- |
Fix span type for web request spans in Django, DRF and ASGI
django, DRF, ASGI: fix span type for web request spans.