chronograf icon indicating copy to clipboard operation
chronograf copied to clipboard

Make refresh time configurable in dashboards

Open ndemengel opened this issue 9 years ago • 9 comments

Hi guys,

First, thanks for all the good stuff!

Then, currently there's no way to specify data precision and refresh time for dashboards. It looks like the refresh time is hard-coded to 15s (autoRefreshMs) and the data precision in dashboard is 1min. It would be great to allow user to configure those parameters for dashboard and/or individual graphs, for instance : "refresh the view every 10 seconds", "display data with a 5 second precision".

I thank you in advance for considering this request.

ndemengel avatar Jan 17 '17 09:01 ndemengel

Hi @ndemengel, thanks for writing in! Sorry it took a bit to get back to you; we've been having our company get-together this week :)

I really like the request and I think it makes a lot of sense! Do you think we should have specific choices (1h, 3h, 1d, etc) or allow the field to be specified directly by typing? Or both?

goller avatar Jan 19 '17 16:01 goller

Hi guys, As @goller suggested, having both (typing/choices) would be invaluable to set precision and/or refresh time, as an operational standpoint.

Thanks !

oboukili avatar Jan 19 '17 16:01 oboukili

Hi @goller,

Given the many different scenarios one would want to set-up a graph/dashboard for, I suppose it would be better to just let the user type what she wants in the definition file.

Thanks again!

ndemengel avatar Jan 19 '17 16:01 ndemengel

Split into two issues, precision moved to https://github.com/influxdata/chronograf/issues/913

nhaugo avatar Feb 22 '17 19:02 nhaugo

Persist the last used value in browser local storage.

nhaugo avatar Feb 22 '17 19:02 nhaugo

@alexpaxton can you pick a place and icon for the widget

nhaugo avatar Feb 22 '17 19:02 nhaugo

screen shot 2017-02-22 at 11 32 46 am

Screenshot from Chosen UI. Could be cool to add an optional custom text field to the dropdown component

alexpaxton avatar Feb 22 '17 19:02 alexpaxton

Here's a well-maintained React port of Chosen that could be super useful: https://github.com/JedWatson/react-select. Live demo here: http://jedwatson.github.io/react-select/.

jaredscheib avatar Feb 24 '17 02:02 jaredscheib

@jaredscheib so sick. That looks super useful

alexpaxton avatar Feb 24 '17 07:02 alexpaxton