grafana/pkg/setting
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
..
testdata Config: Show user-friendly error message instead of stack trace (#16564) 2019-04-25 08:29:07 +02:00
date_formats_test.go Chore: Fix goimports grouping in other backend platform packages (#62422) 2023-01-30 08:26:42 +00:00
date_formats.go Prometheus: Support 1ms resolution intervals (#44707) 2022-06-29 07:39:50 +02:00
dynamic_settings_test.go Tests: use t.Setenv to set env vars (#69516) 2023-06-05 11:31:03 +02:00
expanders_test.go Tests: use t.Setenv to set env vars (#69516) 2023-06-05 11:31:03 +02:00
expanders.go imagestorage: fix templating of public_url option for webdav (#74885) 2023-09-28 00:35:10 +03:00
provider.go Settings: Actually deprecate access to feature flags (#78073) 2023-11-13 11:39:01 -08:00
setting_azure_test.go Azure: Configuration for user identity authentication in datasources (Experimental) (#50277) 2023-05-15 18:00:54 +01:00
setting_azure.go Azure: Settings for Azure AD Workload Identity (#75283) 2023-09-28 12:05:16 +01:00
setting_data_proxy.go Datasources: Add user_agent header customization for outgoing HTTP requests (#63769) 2023-02-28 14:10:05 +01:00
setting_feature_toggles_test.go FeatureFlags: define features outside settings.Cfg (take 3) (#44443) 2022-01-26 09:44:20 -08:00
setting_feature_toggles.go Settings: Actually deprecate access to feature flags (#78073) 2023-11-13 11:39:01 -08:00
setting_featuremgmt.go Feature Toggles API: Trigger webhook call when updating (#75254) 2023-09-25 19:11:24 +01:00
setting_grafana_javascript_agent.go Frontend logging: Remove Sentry javascript agent support (#67493) 2023-05-02 12:10:56 +03:00
setting_plugins_test.go Feature: Allow to skip plugin loading (#74840) 2023-09-14 12:58:12 +02:00
setting_plugins.go Plugins: Add managed instance installation resources (#76767) 2023-10-24 16:21:37 +02:00
setting_quota.go Add quota setting for correlations (#65076) 2023-03-21 15:27:25 -05:00
setting_search.go Search: Add search index configuration options (#55525) 2022-09-20 19:09:55 -04:00
setting_secure_socks_proxy.go Plugins: Update PDC pattern from latest plugin SDK changes (#76576) 2023-10-16 16:40:04 +02:00
setting_session_test.go Chore: Fix goimports grouping in other backend platform packages (#62422) 2023-01-30 08:26:42 +00:00
setting_smtp.go Email: Allow configuration of content types for email notifications (#34530) 2021-07-19 13:31:51 +03:00
setting_storage.go Storage: externalize allow_unsanitized_svg_upload (#52703) 2022-07-25 21:11:17 +04:00
setting_test.go Settings: Add tests for handleAWSConfig (#71486) 2023-07-14 13:04:12 +02:00
setting_unified_alerting_test.go Unified Alerting: Set max_attempts to 1 by default (#79095) 2023-12-05 17:42:34 +00:00
setting_unified_alerting.go Unified Alerting: Set max_attempts to 1 by default (#79095) 2023-12-05 17:42:34 +00:00
setting.go Alerting: Add clean_upgrade config and deprecate force_migration (#78324) 2023-11-30 11:01:11 -05:00