grafana/pkg
Matthew Jacobson b9dc04139a
Alerting: Respect "For" Duration for NoData alerts (#65574)
* Alerting: Respect "For" Duration for NoData alerts

This change modifies `resultNoData` to be more inline with the logic of the other state handlers.

The main effects of this are:

1) NoData states with NoDataState config set to Alerting will respect "For" duration.
2) Prevents zero value in StartsAt and EndsAt for alerts that have only even been in normal state. This includes state transitions from NoDataState=OK and ExecErrState=OK.
3) Better state transition logging.
2023-03-31 19:05:15 +03: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 Alerting: Update rules version when folder title is updated (#53013) 2022-08-01 19:28:38 -04:00
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 Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
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: Respect "For" Duration for NoData alerts (#65574) 2023-03-31 19:05:15 +03:00
setting Alerting: Introduce proper feature toggles for common state history backend combinations (#65497) 2023-03-30 13:53:21 -05:00
tests Alerting: Fix integration test for creating silences (#65722) 2023-03-31 18:44:05 +03:00
tsdb Phlare: Rollback pprof code (#65689) 2023-03-31 15:27:14 +02:00
util Logger: Add feature toggle for errors in HTTP request logs (#64425) 2023-03-31 15:38:09 +02:00
web Logger: Add feature toggle for errors in HTTP request logs (#64425) 2023-03-31 15:38:09 +02: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.