grafana/pkg/setting
Sofia Papagiannaki 540f110220
[Alerting]: Extend quota service to optionally set limits on alerts (#33283)
* Quota: Extend service to set limit on alerts

* Add test for applying quota to alert rules

* Apply suggestions from code review

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

* Get used alert quota only if naglert is enabled

* Set alert limit to zero if nglalert is not enabled
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2021-05-04 19:16:28 +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 setting: Fix tests on Mac (#28886) 2020-11-09 14:39:56 +01:00
dynamic_settings_test.go Chore: Disable default golangci-lint filter (#29751) 2020-12-15 09:32:06 +01: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 Settings: Encapsulate settings within an extensible provider (#32219) 2021-04-28 11:26:58 +02:00
setting_oauth.go OAuth: Add optional strict parsing of role_attribute_path (#28021) 2021-04-14 15:14:27 -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 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 pkg/setting: Check errors (#19838) 2019-10-22 16:17:49 +02:00
setting_smtp.go Email Notifications: Add StartTLSPolicy config flag (#24574) 2020-05-13 16:33:40 +02:00
setting_test.go CDN: Fixes cdn path when Grafana is under sub path (#30822) 2021-02-02 12:34:59 +01:00
setting.go Live: remove feature toggle and enable by default (#33654) 2021-05-04 08:44:55 -07:00