-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Feature][InfraUI] Make "Last 1 minute" time range configurable #36774
Comments
Pinging @elastic/infra-logs-ui |
@makwarth This is a feature I anticipated on implementing, the plumbing is in place for the API's. I think we just need to figure out where this setting will live. I think our configuration UI needs to be redesigned to support multiple sections for different aspects of the UI. |
I mentioned this at GAH but just to reiterate: would it make sense to use the super date picker "range" format instead of a single point in time for the infrastructure UI? Then it would be configured the same way as in other apps... there may very well be reasons that won't work here but wanted to throw it out there. |
The waffle map is great for showing point in time snapshots (1m, 5m, 15min), but not so much for longer time ranges. I'd worry about users having to adjust the time range too often when opening the Infra UI - and then having to revert the time range when navigating away from the Infra UI. @gabrielcalderon, which time range defaults would suit your needs in the Infra UI? |
@makwarth I can test again today, but im pretty sure my waffle map was empty if using anything over 1 minute. Something like the ones you mentioned would work. Maybe also 3m. |
I think we won't be able to use one interval for all metrics in the future, because the different The potential of ending up with specific Another option could be to find out the reporting period, and therefore the appropriate
|
@skh I like this approach, it's actually how I would solve the problem. The only thing I would possibly change is the interval to a smaller unit, maybe something like 1 second. Then from there we should able to workout what the interval "might" be. My reasoning for using a smaller interval is that if we can guess "It looks like we have 1 second data" Then in the metrics detail page we could show a the data at a higher resolution by setting the TSVB interval to |
I definitely like this idea but what happens if the data is being sent up every 20 min, or every hour? And in this query how do you tell the difference between lack of data due to interval vs. lack of data due to the monitor having been down, or failed to send, or something along those lines? (That second point may not make much difference here but I'm never sure.) For now, is there a simple solution we can think of to solve the basic case? Maybe switching to bar charts to show this time series data would help so that you don't have to draw the interpolation from non-zero to "zero" for the missing buckets and therefore you don't draw attention to them... |
The issue is unrelated to charts, it causes the inventory view (waffle map) to be empty when the bucket interval does not match the data. Solutions I can think of, roughly ordered from easiest (for us) to cleverest:
|
Good points. For very large interval sizes:
For missing data:
For partially missing data:
|
I agree with all your points in the sense that I don't think we need to support those edge cases. Sounds like we would just know internally that we support data being set up to about 10m intervals.
Works for me.
I like "use the shortest distance between found timestamps" which I suppose we could do all the time, whether we know if there is partially missing data or not, right? |
We ended up finding another solution as described in elastic/beats#12616 : When the data contains a It is still possible that we will also add UI elements to choose the bucket interval size in the UI as well, but we'll need separate tickets for those. |
@skh I think that's the best solution for this problem. Thanks for looking into this. |
Describe the feature:
Describe a specific use case for the feature:
System collecting metrics on intervals greater than 1 minute. Metricbeats generates a lot of events, and collecting all those events 3600 times during the day is excesive.
Track Metrics for non-critical infrastructure on intervals greater than 1 minute.
When the InfraUI was first released this was set to 1hr, it was later changed to 5min, and now Last 1min.
Settings panel was added for several fields, etc in the InfraUI. The time range interval setting is missing in this panel.
The text was updated successfully, but these errors were encountered: