grafana/pkg
George Robinson d96b0a71d3
Alerting: Add limits to the Prometheus Rules API (#65169)
This commit adds a number of limits to the Grafana flavor of the
Prometheus Rules API:

1. `limit` limits the maximum number of Rule Groups returned
2. `limit_rules` limits the maximum number of rules per Rule Group
3. `limit_alerts` limits the maximum number of alerts per rule

It sorts Rule Groups and rules within Rule Groups such that data in the
response is stable across requests. It also returns summaries (totals) for
all Rule Groups, individual Rule Groups and rules.
2023-04-03 10:17:02 +01:00
..
api AuthToken: client token rotation fix (#65709) 2023-03-31 16:44:08 +02:00
build CI: Allow overwriting of existing GitHub release assets (#65127) 2023-03-28 09:19:46 -05:00
bus Chore: Fix goimports grouping in other backend platform packages (#62422) 2023-01-30 08:26:42 +00:00
cmd Chore: Unite wire graphs for cli and server (#61143) 2023-03-17 16:36:39 +01:00
codegen Docs: Add Default column to generated schema docs (#64550) 2023-03-22 18:42:28 +01:00
components ApiKeyGenPrefix: rename package (#65623) 2023-03-30 17:04:10 +02:00
cuectx extract kindsys to external library (#64562) 2023-03-15 12:04:28 -04:00
events
expr CloudWatch Logs: Revert "Queries in an expression should run synchronously (#64443)" (#65036) 2023-03-20 15:54:30 +01:00
extensions Deps: Replace go-jose v2 with go-jose v3 (#64228) 2023-03-06 15:12:51 +01:00
ifaces/gcsifaces
infra Plugins: Support for distributed tracing in backend plugins SDK (#63714) 2023-03-30 23:31:14 +02:00
kinds Chore: Update times in dashboards (#65179) 2023-03-22 15:57:44 +01:00
kindsysreport Chore: Fix times in schemas (#64906) 2023-03-21 10:42:19 +01:00
login Chore: Remove result fields from login (#65136) 2023-03-28 20:32:21 +02:00
middleware Logger: Add feature toggle for errors in HTTP request logs (#64425) 2023-03-31 15:38:09 +02: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 Plugins: Support for distributed tracing in backend plugins SDK (#63714) 2023-03-30 23:31:14 +02:00
registry extract kindsys to external library (#64562) 2023-03-15 12:04:28 -04:00
server Logger: Add feature toggle for errors in HTTP request logs (#64425) 2023-03-31 15:38:09 +02:00
services Alerting: Add limits to the Prometheus Rules API (#65169) 2023-04-03 10:17:02 +01:00
setting Alerting: Introduce proper feature toggles for common state history backend combinations (#65497) 2023-03-30 13:53:21 -05:00
tests Alerting: Add limits to the Prometheus Rules API (#65169) 2023-04-03 10:17:02 +01:00
tsdb MSSQL: Update forked go-mssqldb dependency (#65658) 2023-03-31 10:07:37 -06:00
util Logger: Add feature toggle for errors in HTTP request logs (#64425) 2023-03-31 15:38:09 +02:00
web Alerting: Add limits to the Prometheus Rules API (#65169) 2023-04-03 10:17:02 +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

This directory contains the code for the Grafana backend.

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