elastic / eui

Elastic UI Framework 🙌

Home Page:https://eui.elastic.co/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow minimum time-setting for auto refresh interval selector

thomasneirynck opened this issue · comments

Is your feature request related to a problem? Please describe.

Yes. This is related to a Kibana issue elastic/kibana#176256. There are no guardrails to prevent a user to select small intervals. Too small intervals (e.g. 1 second) create excessive strain on the Elasticsearch , without clear end-user benefit.

Describe the solution you'd like

Should be able to set a minimum time-interval on the refresh selector (https://eui.elastic.co/#/forms/auto-refresh#refresh-interval). e.g. 5s.

This minimum setting is the duration of the interval, not the smallest number in the integer portion of the selector. E.g. 1s should be disallowed, but 1m should still be allowed.

Desired timeline

This is reasonably high impact, as it prevents Kibana to make some tactical improvements to improve Serverless performance.