Skip to content

feat(dataobj-explorer): Add stream distribution info to dataobj explorer UI #16525

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 18, 2025

Conversation

benclive
Copy link
Contributor

@benclive benclive commented Mar 3, 2025

What this PR does / why we need it:'
Adds tile to Explorer UI showing stream distribution over time within a dataobj

  • Shows number of streams containing logs for each hour of the object's time span.
  • Shows the full time range (hovering shows the exact dates)
  • I added this due to observing that most objects contain the majority of streams within the most recent 1h, but also contain a few much older streams spanning much larger time windows. This just makes it easier to inspect an object.
image

Which issue(s) this PR fixes:
Fixes https://github.com/grafana/loki-private/issues/1429

@benclive benclive requested a review from a team as a code owner March 3, 2025 14:34
Copy link
Contributor

@cyriltovena cyriltovena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@benclive benclive merged commit 4befd22 into main Mar 18, 2025
59 checks passed
@benclive benclive deleted the stream-distribution-to-explorer branch March 18, 2025 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants