Skip to content

Commit 62542cf

Browse files
committed
Add datadog tracing.
1 parent a8d90f8 commit 62542cf

File tree

5 files changed

+190
-79
lines changed

5 files changed

+190
-79
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
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

plotlyflask_tutorial/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
"""Initialize Flask app."""
2+
from ddtrace import patch_all
23
from flask import Flask
34
from flask_assets import Environment
45

6+
patch_all()
7+
58

69
def init_app():
710
"""Construct core Flask application with embedded Dash app."""

0 commit comments

Comments
 (0)