Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 62542cf

Browse files
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)

AltStyle によって変換されたページ (->オリジナル) /