grafana/pkg/tsdb/mssql
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
..
macros_test.go MSSQL Datasource: Revert functions within macros change (#63592) 2023-02-22 22:02:05 +01:00
macros.go MSSQL Datasource: Revert functions within macros change (#63592) 2023-02-22 22:02:05 +01:00
mssql_test.go Refactor time durations (#58484) 2022-11-22 15:09:15 +08:00
mssql.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
proxy_test.go MSSQL: Update forked go-mssqldb dependency (#65658) 2023-03-31 10:07:37 -06:00
proxy.go MSSQL: Update forked go-mssqldb dependency (#65658) 2023-03-31 10:07:37 -06:00