mirror of
https://github.com/grafana/grafana.git
synced 2025-02-14 17:43:35 -06:00
* chore: refactor CountDashboardsInFolder to use the more efficient Count() sql function * feat(nested folders): Add CountAlertRulesInFolder to ngalert store This commit adds CountAlertRulesInFolder and a new model for the CountAlertRulesQuery. It returns a count of alert rules associated with a given orgID and parent folder UID. (the namespace referenced inside alert rules is the parent folder). I'm not sure where this belongs in the ngalert service, so that will come in a future commit. |
||
---|---|---|
.. | ||
database | ||
service | ||
accesscontrol_test.go | ||
accesscontrol.go | ||
dashboard_provisioning_mock.go | ||
dashboard_service_mock.go | ||
dashboard.go | ||
errors.go | ||
folder_store_mock.go | ||
models.go | ||
store_mock.go |