Skip to content

Commit be054bd

Browse files
authored
chore(seer): Fix datadog init (#2226)
- Attempts to fix datadog from https://github.com/getsentry/sentry/pull/68644/files# so the agent can receive metrics
1 parent 89a1e71 commit be054bd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/seer/app.py

+4
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@
110110
statsd_host=os.environ.get("STATSD_HOST", "127.0.0.1"),
111111
statsd_port=int(os.environ.get("STATSD_PORT", "8126")),
112112
)
113+
# Workaround for https://github.com/DataDog/datadogpy/issues/764 as described in https://github.com/getsentry/sentry/pull/68644/files#
114+
statsd.disable_telemetry()
115+
statsd.disable_buffering = False
116+
statsd._container_id = None
113117

114118

115119
@json_api(blueprint, "/v0/issues/severity-score")

0 commit comments

Comments
 (0)