mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
[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>
This commit is contained in:
committed by
GitHub
parent
985331e813
commit
540f110220
@@ -1021,6 +1021,10 @@ Limit the number of data sources allowed per organization. Default is 10.
|
||||
|
||||
Limit the number of API keys that can be entered per organization. Default is 10.
|
||||
|
||||
### org_alert_rule
|
||||
|
||||
Limit the number of alert rules that can be entered per organization. Default is 100.
|
||||
|
||||
### user_org
|
||||
|
||||
Limit the number of organizations a user can create. Default is 10.
|
||||
@@ -1045,6 +1049,10 @@ Sets global limit of API keys that can be entered. Default is -1 (unlimited).
|
||||
|
||||
Sets a global limit on number of users that can be logged in at one time. Default is -1 (unlimited).
|
||||
|
||||
### global_alert_rule
|
||||
|
||||
Sets a global limit on number of alert rules that can be created. Default is -1 (unlimited).
|
||||
|
||||
<hr>
|
||||
|
||||
## [alerting]
|
||||
|
||||
Reference in New Issue
Block a user