grafana/pkg
Matthew Jacobson eddd4f4508
Alerting: Add totalsFiltered to RuleResponse for hidden by filters count (#66883)
Alerting: Add totalsFiltered to RuleResponse to facilitate hidden by filters count

Currently, when both a limit_alerts and a matcher/state filter is applied, there is not enough information to determine how many alert instances were hidden by the filters. Only enough to determine the total hidden by the limit and filter combined.

This change adds a separate totalsFiltered field alongside the AlertRule totals that will contain the count of instances after filters but before limits.
2023-04-21 09:35:12 +01:00
..
api Require access to all settings to read Grafana Settings (#66992) 2023-04-20 19:58:50 +03:00
build Build: Add optional build-args for COMMIT_SHA and BUILD_BRANCH (#66672) 2023-04-18 10:03:27 -03:00
bus Chore: Fix goimports grouping in other backend platform packages (#62422) 2023-01-30 08:26:42 +00:00
cmd Plugins: Simplify plugin file removal (#66115) 2023-04-20 11:52:59 +02: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 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 Plugins: Remove secure socks proxy feature toggle (#66611) 2023-04-18 11:11:23 -06:00
kinds Annotations: Support filtering the target panels (#66325) 2023-04-18 15:39:30 -05:00
kindsysreport Chore: Fix times in schemas (#64906) 2023-03-21 10:42:19 +01:00
login Auth: Make GitHub auth's allowed_organizations be case insensitive (#66879) 2023-04-20 12:36:22 +02:00
middleware Caching: Refactor enterprise query caching middleware to a wire service (#65616) 2023-04-12 12:30:33 -04: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 Cloudwatch: Fix nested recursive type (#66950) 2023-04-20 19:39:02 +03:00
registry extract kindsys to external library (#64562) 2023-03-15 12:04:28 -04:00
server Usagestats: Add interface for stats for user.Service and add Usagestats for case_insensitive_login (#66742) 2023-04-18 14:34:40 +01:00
services Alerting: Add totalsFiltered to RuleResponse for hidden by filters count (#66883) 2023-04-21 09:35:12 +01:00
setting Add verbose settings (#65469) 2023-04-20 04:43:28 -04:00
tests Alerting: Add limits and filters to Prometheus Rules API (#66627) 2023-04-17 17:45:06 +01:00
tsdb Cloudwatch: Fix nested recursive type (#66950) 2023-04-20 19:39:02 +03:00
util Packaging: Added deprecation warnings when running grafana-cli or grafana-server; the grafana command should be used instead. (#66976) 2023-04-20 19:51:50 +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.