You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR 2024-09-11T03:28:05.821976Z Traceback (most recent call last): File "/dd_tracer/python/ddtrace/profiling/scheduler.py", line 77, in flush exp.export(events, start, self._last_export) File "/dd_tracer/python/ddtrace/profiling/exporter/http.py", line 263, in export self._upload(client, self.endpoint_path, body, headers) File "/dd_tracer/python/ddtrace/internal/utils/retry.py", line 49, in retry_wrapped raise exception File "/dd_tracer/python/ddtrace/internal/utils/retry.py", line 40, in retry_wrapped result = f(*args, **kwargs)
DEFAULT 2024-09-11T03:28:05.821980Z ^^^^^^^^^^^^^^^^^^
DEFAULT 2024-09-11T03:28:05.821985Z File "/dd_tracer/python/ddtrace/profiling/exporter/http.py", line 281, in _upload
DEFAULT 2024-09-11T03:28:05.821991Z raise RuntimeError("Server returned %d" % response.status)
DEFAULT 2024-09-11T03:28:06.887630Z RuntimeError: Server returned 502
DEFAULT 2024-09-11T03:30:38.218156Z 2024-09-11 03:30:38,216 ERROR [ddtrace.profiling.scheduler] [scheduler.py:81] [dd.service=core-api dd.env=production dd.version= dd.trace_id=0 dd.span_id=0] - Unexpected error while exporting events. Please report this bug to https://github.com/DataDog/dd-trace-py/issues
ERROR 2024-09-11T03:30:38.218221Z Traceback (most recent call last): File "/dd_tracer/python/ddtrace/profiling/scheduler.py", line 77, in flush exp.export(events, start, self._last_export) File "/dd_tracer/python/ddtrace/profiling/exporter/http.py", line 263, in export self._upload(client, self.endpoint_path, body, headers) File "/dd_tracer/python/ddtrace/internal/utils/retry.py", line 49, in retry_wrapped raise exception File "/dd_tracer/python/ddtrace/internal/utils/retry.py", line 40, in retry_wrapped result = f(*args, **kwargs)
What is the result that you expected?
We expect ddtrace to not pollute logs with errors and traces as this creates noise and logging (cost) overhead. More concerning is that this indicates we may not be getting the observability in DataDog that we expect/desire.
The text was updated successfully, but these errors were encountered:
Summary of problem
Lots of errors and in Google Cloud Run logs indicating retry errors with the following:
Which version of dd-trace-py are you using?
Which version of pip are you using?
Which libraries and their versions are you using?
Details of `pip freeze`
How can we reproduce your problem?
Not sure how to repro. We have a FastAPI app that is containerized and running in Google Cloud Run.
The following
DD_ *
env vars are set:What is the result that you get?
Details log output from Google Cloud Run logs:
What is the result that you expected?
We expect
ddtrace
to not pollute logs with errors and traces as this creates noise and logging (cost) overhead. More concerning is that this indicates we may not be getting the observability in DataDog that we expect/desire.The text was updated successfully, but these errors were encountered: