Skip to content

Commit 71cd7fd

Browse files
committed
Datadog trace.
1 parent d50e906 commit 71cd7fd

File tree

5 files changed

+164
-20
lines changed

5 files changed

+164
-20
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ update: env
4646

4747
.PHONY: format
4848
format: env
49-
$(shell . .venv/bin/activate && isort -rc ./)
49+
$(shell . .venv/bin/activate && isort ./)
5050
$(shell . .venv/bin/activate && black ./)
5151

5252

manage.py

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
"""Django's command-line utility for administrative tasks."""
33
import os
44
import sys
5+
from ddtrace import patch_all
6+
7+
8+
patch_all()
59

610

711
def main():

poetry.lock

+151-18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ django = "*"
2323
python-dotenv = "*"
2424
mysqlclient = "*"
2525
django-environ = "*"
26+
ddtrace = "^0.44.0"
2627

2728
[tool.poetry.dev-dependencies]
2829
pytest = "*"

requirements.txt

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
asgiref==3.3.1; python_version >= "3.6"
2+
ddtrace==0.44.0; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0")
23
django-environ==0.4.5
3-
django==3.1.3; python_version >= "3.6"
4+
django==3.1.4; python_version >= "3.6"
5+
intervaltree==3.1.0; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
46
mysqlclient==2.0.1; python_version >= "3.5"
7+
protobuf==3.14.0; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
58
python-dotenv==0.15.0
69
pytz==2020.4; python_version >= "3.6"
10+
six==1.15.0; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
11+
sortedcontainers==2.3.0; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
712
sqlparse==0.4.1; python_version >= "3.6"
13+
tenacity==6.2.0; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"

0 commit comments

Comments
 (0)