Skip to content
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

Dashboard Live Tail? #295

Open
Seikilos opened this issue Feb 2, 2024 · 1 comment
Open

Dashboard Live Tail? #295

Seikilos opened this issue Feb 2, 2024 · 1 comment

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.

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

2 participants