Skip to content

Dashboard Live Tail? #295

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

Open
Seikilos opened this issue Feb 2, 2024 · 2 comments
Open

Dashboard Live Tail? #295

Seikilos opened this issue Feb 2, 2024 · 2 comments

Comments

@Seikilos
Copy link

Seikilos commented Feb 2, 2024

I noticed that the manual created dashboards allow me to set Preset Time Ranges, but these are evaluated to absolute time. So looking at a dashboard with multiple metric charts is not possible for me in real-time.

Wouldn't it be more useful to support a live tail of some sort similar to the Search-Page?

Also: Time granularity of 30 seconds is sometimes too large. Is there an option to reduce it? I tried changing the URL &granularity=30+second to &granularity=5+second but it did not work.

Edit: I just realized, that the dashboard is actually useless for to be displayed somewhere if we need other time presets. Because even if I reload the dashboard url it either gets reset to default 1 hour with Auto granularity, or to a granularity which I have set. This is cool. I can bookmark a granularity and visit it:
/dashboards/12345678642?granularity=30+second

But with a time preset the url is
/dashboards/12345678642?granularity=30+second&from=1706892204675&to=1706893104676
and the url is always pinned to a fixed time

@MikeShi42
Copy link
Contributor

Hi @Seikilos! Live tailing dashboards is definitely something on our mind - there's a bit of work to get the dashboards to smoothly live tail today (unfortunately the current state of enabling live tail in the code is all the charts will flash into loading state during the refresh, so we need to retool all our charts to "know about" live tail before it's a nice experience).

For the granularity part - that's good feedback! We'll look into adding some additional granularity options below 30s, right now it's an enum in the app so arbitrary values aren't supported and 30s is the lowest we have today.

As for bookmarking relative timestamps, I've separately ticketed up looking at exposing the time query parameter properly on the dashboards as well, so that you can bookmark something like ?tq=Last+30m&granularity=30+second so you can always access some relative time range instead of an absolute one.

@mopierotti
Copy link

mopierotti commented Feb 18, 2025

+1. This is a real pain point for me. It would be great to be able to both set a default relative time range/granularity and be able to link to a relative time.

My use case is that I have a dashboard with charts that only really make sense when looking at several days worth of time, so that means that every time I open the dashboard I need to set the time range and granularity manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants