grafana/pkg/setting
Dimitris Sotirakis ba9d5540b8
Datasources: Introduce response_limit for datasource responses (#38962)
* Introduce response_limit for datasource responses

* Fix lint

* Fix tests

* Add case where limit <= 0 - added parametrized tests

* Add max_bytes_reader.go

* Use new httpclient.MaxBytesReader instead of net/http one

* Fixes according to reviewer's comments

* Add tests for max_bytes_reader

* Add small piece in configuration.md

* Further fixes according to reviewer's comments

* Fix linting - fix test
2021-09-10 16:51:06 +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 setting: Fix tests on Mac (#28886) 2020-11-09 14:39:56 +01:00
date_formats.go DateFormats: Fix reading correct setting key for use_browser_locale (#36428) 2021-07-05 14:45:36 +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: Disable default golangci-lint filter (#29751) 2020-12-15 09:32:06 +01:00
expanders.go Security: Add gosec G304 auditing annotations (#29578) 2020-12-03 22:13:06 +01:00
provider.go Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
setting_azure_test.go Fix alternative Azure cloud names (#37133) 2021-08-13 14:58:05 +01:00
setting_azure.go Fix alternative Azure cloud names (#37133) 2021-08-13 14:58:05 +01:00
setting_data_proxy.go Datasources: Introduce response_limit for datasource responses (#38962) 2021-09-10 16:51:06 +03:00
setting_plugins_test.go Backend Plugins: Plugin configuration using Grafana config (#23451) 2020-04-14 18:04:27 +02:00
setting_plugins.go Backend Plugins: Plugin configuration using Grafana config (#23451) 2020-04-14 18:04:27 +02:00
setting_quota.go [Alerting]: Extend quota service to optionally set limits on alerts (#33283) 2021-05-04 19:16:28 +03:00
setting_sentry.go Logging: rate limit fronted logging endpoint (#29272) 2020-12-09 16:22:24 +01:00
setting_session_test.go Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
setting_smtp.go Email: Allow configuration of content types for email notifications (#34530) 2021-07-19 13:31:51 +03:00
setting_test.go Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
setting.go Datasources: Introduce response_limit for datasource responses (#38962) 2021-09-10 16:51:06 +03:00