Skip to content

Commit d3dba63

Browse files
committed
re-enable ddtrace
1 parent cc710ec commit d3dba63

4 files changed

Lines changed: 5 additions & 3 deletions

File tree

mpcontribs-api/mpcontribs/api/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# -*- coding: utf-8 -*-
22
"""Flask App for MPContribs API"""
3+
import ddtrace.auto
34
import os
45
import smtplib
56
import logging

mpcontribs-api/scripts/start.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ if [[ -n "$DD_TRACE_HOST" ]]; then
1818
wait-for-it.sh "$DD_TRACE_HOST" -q -s -t 10 && STATS_ARG="--statsd-host $DD_AGENT_HOST:8125" || echo "WARNING: datadog agent unreachable"
1919
fi
2020

21-
[[ -n "$STATS_ARG" ]] && CMD="ddtrace-run" || CMD=""
22-
exec $WAIT_FOR -- $CMD gunicorn $STATS_ARG $SERVER_APP
21+
[[ -n "$STATS_ARG" ]] && CMD="ddtrace-run gunicorn $STATS_ARG" || CMD="gunicorn"
22+
exec $WAIT_FOR -- $CMD $SERVER_APP

mpcontribs-kernel-gateway/make_seed.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# -*- coding: utf-8 -*-
2+
import ddtrace.auto
23
import nbformat as nbf
34

45
nb = nbf.v4.new_notebook()

mpcontribs-kernel-gateway/requirements.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
blinker
2-
ddtrace<3
2+
ddtrace
33
ipykernel
44
ipywidgets
55
jupyter-client

0 commit comments

Comments
 (0)