grafana/pkg/setting
lfroment 72628c8ea0
Dashboard: Adds support for a global minimum dashboard refresh interval (#19416)
This feature would provide a way for administrators to limit the minimum 
dashboard refresh interval globally.
Filters out the refresh intervals available in the time picker that are lower 
than the set minimum refresh interval in the configuration .ini file
Adds the minimum refresh interval as available in the time picker.
If the user tries to enter a refresh interval that is lower than the minimum 
in the URL, defaults to the minimum interval.
When trying to update the JSON via the API, rejects the update if the 
dashboard's refresh interval is lower than the minimum.
When trying to update a dashboard via provisioning having a lower 
refresh interval than the minimum, defaults to the minimum interval 
and logs a warning. 

Fixes #3356

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2020-02-28 14:32:01 +01:00
..
testdata Config: Show user-friendly error message instead of stack trace (#16564) 2019-04-25 08:29:07 +02:00
dynamic_settings_test.go Settings: Env override support for dynamic settings (#21439) 2020-01-10 15:33:54 +01:00
setting_oauth.go OAuth: Removes send_client_credentials_via_post setting (#20044) 2019-12-12 20:00:56 +01:00
setting_quota.go Initial Baby Step to refactoring settings from global vars to instance (#11777) 2018-04-30 16:21:04 +02:00
setting_session_test.go pkg/setting: Check errors (#19838) 2019-10-22 16:17:49 +02:00
setting_smtp.go Initial Baby Step to refactoring settings from global vars to instance (#11777) 2018-04-30 16:21:04 +02:00
setting_test.go Auth Proxy: replace ini setting ldap_sync_ttl with sync_ttl (#20191) 2019-11-07 11:24:54 +01:00
setting.go Dashboard: Adds support for a global minimum dashboard refresh interval (#19416) 2020-02-28 14:32:01 +01:00