elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.63k stars 8.22k forks source link

[TSVB] Timeseries Drop last bucket should default to false #95756

Closed stratoula closed 3 years ago

stratoula commented 3 years ago

Right now, there is a setting on the panel options of the timeseries tab that defaults to true and drops the last bucket. I think it should default to false because it may confuse the users. For example:

I use the [Flights] Delays & Cancellations visualizations from the kibana_sample_data_flights dataset and I set a very small timeframe. I get a No results found message instead of the actual viz:

image

If I click on the metrics tab I see that there is data: image

What happens here is that the Drop last bucket switch is on, so it drops the last bucket, and the two visualizations display different results. If I switch it off, the two visualizations depict the same values.

image

elasticmachine commented 3 years ago

Pinging @elastic/kibana-app (Team:KibanaApp)

wylieconlon commented 3 years ago

@stratoula the issue here is the same as what we have in Visualize, which is visually indicating that there's partial data. It doesn't happen every time, but it does happen if the last bucket intersects the time selector.

I think we can't change the default without also adding an indicator of partial data.

stratoula commented 3 years ago

You are right Wylie, we should also add the indicator. I think it is less confusing for the users that way.

stratoula commented 3 years ago

To clarify this, the indicator that we want is this one: image