grafana/pkg
Arati R 6cb1a5e368
Nested folders: Add alert rule counts and deletion to folder registry (#67259)
* Let alert rule service implement registry service
* Add count method to RuleStore interface
* Add implementation for deletion of alert rules
* Rename uid to folderUID in registry methods
* Check forceDeleteRule value for registry deletion
* Register alerting store with folder service
* Move folder test functions to separate package
* Add testing for alert rule counting, deletion
* Remove redundant count method
* Fix deleteChildrenInFolder signature
* Update pkg/services/ngalert/store/alert_rule.go
Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
* Add tests for nested folder deletion
* Refactor TestIntegrationNestedFolderService
* Add rules store as parameter for alertng provider

---------

Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
2023-06-02 16:38:02 +02:00
..
api Chore: remove i18n toggle (#69389) 2023-06-02 09:24:40 +01:00
build GoogleAPI: Add retries functionallity to GoogleAPI calls (#69129) 2023-05-26 12:59:56 +03:00
bus Chore: Fix goimports grouping in other backend platform packages (#62422) 2023-01-30 08:26:42 +00:00
cmd Plugins: Refactor plugin repository API (#69063) 2023-05-30 11:48:52 +02:00
codegen Chore: Hacky first pass on generating composable kinds within grafana/schema (#64723) 2023-05-30 05:56:18 -07:00
components ApiKeyGenPrefix: rename package (#65623) 2023-03-30 17:04:10 +02:00
cuectx Chore: Hacky first pass on generating composable kinds within grafana/schema (#64723) 2023-05-30 05:56:18 -07:00
events Alerting: Update rules version when folder title is updated (#53013) 2022-08-01 19:28:38 -04:00
expr Expressions/threshold: Fix incorrect thresholds args length (#66859) 2023-04-20 05:42:34 -04:00
extensions Deps: Replace go-jose v2 with go-jose v3 (#64228) 2023-03-06 15:12:51 +01:00
ifaces/gcsifaces Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
infra Metrics: Update Help to mention active viewers (#63384) 2023-06-01 11:56:43 +02:00
kinds Schema: Remove ServiceAccount kind (#69194) 2023-06-01 07:02:17 -07:00
kindsysreport Chore: Fix times in schemas (#64906) 2023-03-21 10:42:19 +01:00
login Chore: Adding "allowed_groups" Configuration Parameter to Generic OAuth Method (#69025) 2023-05-30 11:07:04 +02:00
middleware RBAC: Remove legacy ac from authorization middleware (#68898) 2023-05-24 09:49:42 +01:00
mocks/mock_gcsifaces Chore: Fix goimports grouping in other backend platform packages (#62422) 2023-01-30 08:26:42 +00:00
models Auth: Add feature flag to move token rotation to client (#65060) 2023-03-23 14:39:04 +01:00
modules Chore: Add initial support for deployment modes (#63992) 2023-03-06 14:06:52 -05:00
plugins Fix plugin metric (#69368) 2023-06-01 14:24:39 +02:00
registry Schema: Remove ServiceAccount kind (#69194) 2023-06-01 07:02:17 -07:00
server AuthN: Embed an OAuth2 server for external service authentication (#68086) 2023-05-25 15:38:30 +02:00
services Nested folders: Add alert rule counts and deletion to folder registry (#67259) 2023-06-02 16:38:02 +02:00
setting Secure socks proxy: allow for UI to be disabled (#69408) 2023-06-01 12:58:51 -06:00
tests Plugins: Refactor plugin repository API (#69063) 2023-05-30 11:48:52 +02:00
tsdb TestData: Support labels in CSV content name (#61337) 2023-05-26 19:36:43 +03:00
util HTTP: Add TLS version configurability for Grafana server (#67482) 2023-05-08 17:11:36 +02:00
web Alerting: Add limits and filters to Prometheus Rules API (#66627) 2023-04-17 17:45:06 +01:00
README.md Chore: Move all backend contribution documents to a single directory (#61140) 2023-01-11 11:16:52 +01:00
ruleguard.rules.go Chore: update all +build statements (#38782) 2021-09-01 17:38:56 +03:00

This directory contains the code for the Grafana backend.

The contributor documentation for Grafana's backend is in /contribute/backend/README.md.