self-hosted icon indicating copy to clipboard operation
self-hosted copied to clipboard

OTel traces stuck on "We're still processing this trace" in waterfall view

Open sparrowhe opened this issue 6 months ago • 5 comments

Self-Hosted Version

26.5.0

CPU Architecture

x86_64

Docker Version

containerd 2.2.3-k3s1

Docker Compose Version

N/A, using Helm Chart

Machine Specification

  • [x] My system meets the minimum system requirements of Sentry

Installation Type

Upgraded from 26.4.0 to 26.5.0

Steps to Reproduce

  1. Send OpenTelemetry traces from a backend application (in this case, we are using sentry-go)
  2. Go to Sentry UI -> Explorer -> Traces.
  3. The traces are successfully received and visible in the traces list.
  4. Click on any span from the list to view the trace waterfall.
  5. The waterfall view fails to load and persistently shows the message: "We're still processing this trace. Please try refreshing after a minute."

Expected Result

When clicking on a span in the Explorer -> Traces list, the trace waterfall view should render correctly and display all associated OpenTelemetry spans.

Actual Result

The waterfall view fails to load and consistently displays the following message:

We're still processing this trace. Please try refreshing after a minute.

This state is permanent. Even after waiting for several hours, the message remains and the waterfall never renders.

Event ID

No response

sparrowhe avatar May 26 '26 11:05 sparrowhe

This is also ocurring with Sentry Python SDK. I imagine its a backend issue.

Additionally, after a while on my instance I got this message for a trace that was not opening.

We were unable to find any spans for this trace. If you came here from Logs or Application Metrics, traces may use different sampling rules.

Find similar traces in Explore using [Cross Event Querying](https://docs.sentry.io/product/explore/trace-explorer/#cross-event-querying-beta).

This is a very significant issue, as I basically don't have any tracing at the moment.

Logs still work, ~and so does alerting~ . It seems this also affects alerting, as no issues get created just via the logs

All in all this means I have no alerting and no traces

ImmortalLotus avatar May 27 '26 16:05 ImmortalLotus

+1. I"m seeing this with Otel traces not being connected to the parent with the same error message @ImmortalLotus noted. The regression seems to have been introduced in the last minor relase (26.5.0) release cut. This is according to my hazy recollection and gut - not any actual objective data or reproducible steps. So, take it with a grain of salt other than to say, OTel traces hit this same bug, but logs and AI traces are fine.

Gazzonyx avatar May 28 '26 03:05 Gazzonyx

If what I said here (https://github.com/getsentry/self-hosted/issues/4305#issuecomment-4586150936) is correct, I will mark this issue as duplicate, and we should move there.

aldy505 avatar May 31 '26 08:05 aldy505

This is also ocurring with Sentry Python SDK. I imagine its a backend issue.

Additionally, after a while on my instance I got this message for a trace that was not opening.

We were unable to find any spans for this trace. If you came here from Logs or Application Metrics, traces may use different sampling rules.

Find similar traces in Explore using [Cross Event Querying](https://docs.sentry.io/product/explore/trace-explorer/#cross-event-querying-beta).

This is a very significant issue, as I basically don't have any tracing at the moment.

Logs still work, ~and so does alerting~ . It seems this also affects alerting, as no issues get created just via the logs

All in all this means I have no alerting and no traces

We are also currently struggling with this issue. I've set up an OTel Collector locally which exports to jaeger and sentry. The spans of the trace show up fine in jaeger but we receive the same error message as above on sentry.

In Sentry the traces & spans are recorded and even their grouping under "Explore -> Traces -> Trace Samples" seems to be correct. Any idea how to fix this?

stefanks-px avatar Jun 29 '26 15:06 stefanks-px

Let's just move there https://github.com/getsentry/self-hosted/issues/4305#issuecomment-4586150936

aldy505 avatar Jul 02 '26 14:07 aldy505