grafana/pkg/setting
Kyle Cunningham 92d92187d9
SQL Datasources: Update Max Connection and Max Idle Connection Defaults to 100 and add auto mode (#65834)
* Update connection configuration for SQL datasources

* Working auto state for connection numbers

* Add migration

* Use defaults from constants file

* Remove dead code

* Add tests and restructure useMigrateDatabaseField

* Update function names

* Update docs

* Make sure we don't continually issue updates

* Update docs

* Use onOptionsChnage in ConnectionLimits

* Update docs

* Clean up docs

* Update migration

* Fix default values in docs

* Fix spacing issue

* Fix test

* Update default values for SQL connections

* Include consts

* Allow override for default SQL datasource connection parameters

* Fix linter errors

* Remove extra @ts-ignore

* Centralize logic for default values

* Remove debugging

* Remove unecessary function

* Update configuration docs

* minor suggested change

* Fix comment misspelling

* Remove unecessary default setting code

* Update docs to indicate that code was included for backport version

* Remove dead code

---------

Co-authored-by: lwandz13 <larissa.wandzura@grafana.com>
2023-04-17 11:44:05 +03:00
..
testdata Config: Show user-friendly error message instead of stack trace (#16564) 2019-04-25 08:29:07 +02:00
date_formats_test.go Chore: Fix goimports grouping in other backend platform packages (#62422) 2023-01-30 08:26:42 +00:00
date_formats.go Prometheus: Support 1ms resolution intervals (#44707) 2022-06-29 07:39:50 +02:00
dynamic_settings_test.go Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
expanders_test.go Chore: Fix goimports grouping in other backend platform packages (#62422) 2023-01-30 08:26:42 +00:00
expanders.go Handle ioutil deprecations (#53526) 2022-08-10 15:37:51 +02:00
provider.go FeatureToggls: remove IsFeatureToggleEnabled from SettingsProvider (#44574) 2022-02-01 10:24:59 -08:00
setting_azure_test.go Chore: Fix goimports grouping in other backend platform packages (#62422) 2023-01-30 08:26:42 +00:00
setting_azure.go Migrate to Grafana Azure SDK (#47232) 2022-04-04 11:23:13 +02:00
setting_data_proxy.go Datasources: Add user_agent header customization for outgoing HTTP requests (#63769) 2023-02-28 14:10:05 +01:00
setting_feature_toggles_test.go FeatureFlags: define features outside settings.Cfg (take 3) (#44443) 2022-01-26 09:44:20 -08:00
setting_feature_toggles.go Chore: Fix goimports grouping in other backend platform packages (#62422) 2023-01-30 08:26:42 +00:00
setting_grafana_javascript_agent.go Frontend Logging: Integrate grafana javascript agent (#50801) 2022-06-28 03:25:30 -04:00
setting_plugins_test.go Backend Plugins: Plugin configuration using Grafana config (#23451) 2020-04-14 18:04:27 +02:00
setting_plugins.go Plugins: Add optional logger for plugin requests sent to backend plugins (#62981) 2023-02-07 12:49:16 +01:00
setting_quota.go Add quota setting for correlations (#65076) 2023-03-21 15:27:25 -05:00
setting_search.go Search: Add search index configuration options (#55525) 2022-09-20 19:09:55 -04:00
setting_secure_socks_proxy.go Plugins: add option to proxy ds connections through a secure socks proxy (#59254) 2022-11-29 23:50:59 -06:00
setting_sentry.go Settings: Update reference to go-kit/log (#60309) 2022-12-14 12:48:09 +00:00
setting_session_test.go Chore: Fix goimports grouping in other backend platform packages (#62422) 2023-01-30 08:26:42 +00:00
setting_smtp.go Email: Allow configuration of content types for email notifications (#34530) 2021-07-19 13:31:51 +03:00
setting_storage.go Storage: externalize allow_unsanitized_svg_upload (#52703) 2022-07-25 21:11:17 +04:00
setting_test.go Chore: Fix goimports grouping in other backend platform packages (#62422) 2023-01-30 08:26:42 +00:00
setting_unified_alerting_test.go Refactor time durations (#58484) 2022-11-22 15:09:15 +08:00
setting_unified_alerting.go Alerting: Introduce proper feature toggles for common state history backend combinations (#65497) 2023-03-30 13:53:21 -05:00
setting.go SQL Datasources: Update Max Connection and Max Idle Connection Defaults to 100 and add auto mode (#65834) 2023-04-17 11:44:05 +03:00