ymtdzzz / otel-tui

A terminal OpenTelemetry viewer inspired by otel-desktop-viewer
Apache License 2.0
101 stars 1 forks source link

bug: error occurred when selected span in log details does not exist #83

Open ymtdzzz opened 3 weeks ago

ymtdzzz commented 3 weeks ago

Currently, selecting a deleted trace id shows strange view.

Image

Blocked by: #84

ymtdzzz commented 3 weeks ago

The error No spans found should be handled in: https://github.com/ymtdzzz/otel-tui/blob/4474345049964c547ae6548bb2d55e76623e77a4/tuiexporter/internal/tui/component/timeline.go#L40-L47

But to do this, there must be a way to back to the previous page in DrawTimeline() so this issue is blocked by #84 .