Polish the traces page edge cases

Open
#84 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
observability

Research direction

The issue calls out the traces page and lazily loaded traces.js; start by reading that page code and checking how it handles span truncation, missing trace IDs, and the responsive breakpoint. Verify all three acceptance criteria in a browser, including a seeded trace with more than 10,000 spans. The issue does not name the relevant tests or page files beyond traces.js.

Written by the indexing model from the issue text.

Description

area:ui feature priority:low

As a homelab operator,
I want the traces page to behave well on rare traces and errors,
so that it stays clear when something unusual happens.

Acceptance criteria

  • Given a trace with more than 10,000 spans, when I open it, then the truncated notice shows (seeded and checked in a browser).
  • Given a trace ID that does not exist, when I open it, then the error panel says the trace was not found, not just "Trace".
  • Given a width between 48rem and 56rem, when I view results, then the time format and the row layout switch at the same breakpoint.

Success signal: All three cases checked in the browser.
Out of scope: New features.
Open questions: None.

Technical notes

The shared always-loaded UI assets are at 60,366 of 61,440 bytes after #18, so any new shared code needs a budget decision first; page code loads lazily like traces.js and uPlot.

Follow-up from #18.

Dominant language
Rust
Stars
0
Forks
0
Avg merge
40m
Merged PRs (30d)
91

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from jdrouet/tinyobserve

All issues in jdrouet/tinyobserve

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.