jaegertracing / jaeger-ui

Web UI for Jaeger
http://jaegertracing.io/
Apache License 2.0
1.14k stars 483 forks source link

[Bug]: Inconsistent Data Displayed in Flamegraph #2483

Open mossini-smeup opened 1 week ago

mossini-smeup commented 1 week ago

What happened?

When analyzing the trace flamegraph, some data appears to be inaccurate. Specifically, when there are two spans at the same level in the flamegraph, switching to the "trace timeline" view and then returning to the flamegraph causes the data to change. The duration of the spans seems to increase upon revisiting the flamegraph.

Steps to reproduce

  1. Open the trace flamegraph for a trace containing two spans at the same level.
  2. Note the duration and positioning of the spans.
  3. Switch to the "trace timeline" view.
  4. Return to the flamegraph view.
  5. Observe that the duration and/or positioning of the spans have changed.

Expected behavior

Switching between views causes changes in the flamegraph display, showing inaccurate durations for the spans.

Relevant log output

No response

Screenshot

No response

Additional context

No response

Jaeger backend version

v1.53.0

SDK

Jaeger v1.53.0 Commit b620f0e Build 2024-01-08T18:05:40Z Jaeger UI v1.37.0

Pipeline

No response

Stogage backend

No response

Operating system

No response

Deployment model

Kubernetes

Deployment configs

No response

yurishkuro commented 1 week ago

Can you attach a trace that reproduces the bug? You can use anonymizer from the main repository to clean up sensitive data.

mossini-smeup commented 1 week ago

Here's the trace in json format trace.zip