grafana/pkg
gotjosh 0c9356a3c7
Unified Alerting: Set max_attempts to 1 by default (#79095)
* Unified Alerting: Set `max_attempts` to 1 by default

The retry logic for unified alerting has been broken as far as v9.4.x, rather than fixing it in one go and causing a headache to our users with rules putting extra load on their datasources - I think a better approach is to simply set 1 as a default and then let our users change it.

I see two cons with this approach:

- Configuration for legacy to unified alerting cannot be ported over automatically, users will have to manually set `max_attempts` to 3 when migrating.
- Users expecting to get any sort of retrying (as with legacy alerting) will not have it out of the box and will have to manually edit the configuration.

Signed-off-by: gotjosh <josue.abreu@gmail.com>
---------

Signed-off-by: gotjosh <josue.abreu@gmail.com>
2023-12-05 17:42:34 +00:00
..
api Folders: Show dashboards and folders with directly assigned permissions in "Shared" folder (#78465) 2023-12-05 16:13:31 +01:00
apis K8s: Add subresource to the example apiserver (#78030) 2023-11-14 05:51:58 +02:00
build K8s: Use grafana executable for standalone api service (#77904) 2023-11-09 16:50:27 -08:00
bus Tracing: Standardize on otel tracing (#75528) 2023-10-03 14:54:20 +02:00
cmd Revert "K8s: Refactor metrics to share k8s registry (#77957)" (#79079) 2023-12-05 09:34:07 -05:00
codegen Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
components imagestorage: fix templating of public_url option for webdav (#74885) 2023-09-28 00:35:10 +03:00
cuectx Perf: Disable core kind registry (#78568) 2023-11-28 09:09:54 +01:00
events
expr Plugins: Backend: Skip host environment variables (#77858) 2023-11-15 18:09:14 +01:00
extensions Chore: Replace gofpdf (#75805) 2023-10-02 15:32:35 +02:00
ifaces/gcsifaces Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
infra Revert "K8s: Refactor metrics to share k8s registry (#77957)" (#79079) 2023-12-05 09:34:07 -05:00
kinds K8s: Add grafana metadata accessor (#79050) 2023-12-04 18:20:17 -08:00
kindsysreport Chore: Add app o11y viz as code owners for sparkline related stuff (#78310) 2023-11-17 14:02:52 +02:00
login Auth: Fix for the github_oauth parse config error (#79063) 2023-12-05 13:13:55 +02:00
middleware Frontend: Foundations for multi tenant frontend (#78815) 2023-12-05 08:34:22 +01:00
mocks/mock_gcsifaces Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
models Auth: Add empty role definition (#64694) 2023-07-06 15:40:06 +02:00
modules Chore: refactor grafana-apiserver a bit (#74177) 2023-08-31 09:12:01 -04:00
plugins Plugins: Rename externalServiceAuthentication to iam (#78686) 2023-12-04 13:14:21 +01:00
registry Chore: Fix flaky test by removing the extsvcauth background service (#79044) 2023-12-04 22:26:55 +01:00
server Revert "K8s: Refactor metrics to share k8s registry (#77957)" (#79079) 2023-12-05 09:34:07 -05:00
services Folders: Show dashboards and folders with directly assigned permissions in "Shared" folder (#78465) 2023-12-05 16:13:31 +01:00
setting Unified Alerting: Set max_attempts to 1 by default (#79095) 2023-12-05 17:42:34 +00:00
tests Frontend: Foundations for multi tenant frontend (#78815) 2023-12-05 08:34:22 +01:00
tsdb InfluxDB: Fix an edge case while parsing table response (#78802) 2023-12-01 18:31:49 +01:00
util Chore: use errutil for pluginRepo errors (#78647) 2023-11-30 15:49:27 +01:00
web Chore: Upgrade Go to 1.21.3 (#77304) 2023-11-01 09:17:38 -07: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.