grafana/pkg/services
Matthew Jacobson 0ce1ccd6f9
Alerting: Fix inconsistent AM raw config when applied via sync vs API (#81655)
AM config applied via API would use the PostableUserConfig as the AM raw
config and also the hash used to decide when the AM config has changed.
However, when applied via the periodic sync the PostableApiAlertingConfig would
be used instead.

This leads to two issues:
- Inconsistent hash comparisons when modifying the AM causing redundant applies.
- GetStatus assumed the raw config was PostableUserConfig causing the endpoint
to return correctly after a new config is applied via API and then nothing once
 the periodic sync runs.

Note: Technically, the upstream GrafanaAlertamanger GetStatus shouldn't be
returning PostableUserConfig or PostableApiAlertingConfig, but instead
GettableStatus. However, this issue required changes elsewhere and is out of
scope.
2024-01-31 21:05:30 +02:00
..
accesscontrol RBAC: Add metric to count search user permissions cache hits (#81451) 2024-01-30 10:37:47 +01:00
alerting Chore: Remove public vars in setting package (#81018) 2024-01-23 12:36:22 +01:00
annotations Alerting: Create instance of alert rule generator in historian annotation tests (#81394) 2024-01-29 11:22:43 -05:00
anonymous Chore: Fix broken anonymous devices test (#81649) 2024-01-31 17:09:32 +02:00
apikey Swagger: Rename API Key AddCommand (#78491) 2023-11-21 11:25:21 -05:00
auth IDForwading: cache based on expires in (#81136) 2024-01-24 13:56:44 +01:00
authn AuthInfo: No mandatory auth_id in Auth Info service (#81335) 2024-01-26 11:54:00 +01:00
caching Fixing typos (#70487) 2023-06-22 09:43:38 +01:00
cleanup Annotations: Remove extraneous, debug log messages (#80670) 2024-01-16 14:48:11 -06:00
cloudmigrations Cloud Migrations: Create new service for cloud migrations (#80949) 2024-01-22 11:09:08 -05:00
contexthandler FeatureFlags: Use interface rather than manager (#80000) 2024-01-09 10:38:06 -08:00
correlations Identity: Unfurl OrgID in pkg/services to allow using identity.Requester interface (#76113) 2023-10-09 10:40:19 +02:00
dashboardimport Chore: Change response status for dashboard import with invalid input (#81521) 2024-01-30 16:57:01 +01:00
dashboards Nested folders: Improve performance of shared with me dashboards listing (#81590) 2024-01-31 16:25:11 +01:00
dashboardsnapshots Chore: Remove public vars in setting package (#81018) 2024-01-23 12:36:22 +01:00
dashboardversion Remove folderID from service tests (#80615) 2024-01-26 17:36:35 +02:00
datasourceproxy Errors: Make errors the same in dev as prod (#77366) 2023-10-30 14:06:26 -04:00
datasources Chore: Remove public vars in setting package (#81018) 2024-01-23 12:36:22 +01:00
encryption Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
extsvcauth RBAC: Add userLogin filter to the permission search endpoint (#81137) 2024-01-26 09:43:16 +01:00
featuremgmt K8s: Add basic query service (#80325) 2024-01-31 20:36:51 +02:00
folder Nested folders: Improve performance of shared with me dashboards listing (#81590) 2024-01-31 16:25:11 +01:00
grafana-apiserver K8s: Add basic query service (#80325) 2024-01-31 20:36:51 +02:00
grpcserver Swap weaveworks/common utilities for equivalents in grafana/dskit (#80051) 2024-01-05 10:08:38 -06:00
guardian Remove folderID from service tests (#80615) 2024-01-26 17:36:35 +02:00
hooks Hooks: Remove AddLoginHook and RunLogin hooks (#73227) 2023-08-17 09:51:45 +02:00
kmsproviders Secrets: Make the Migrator extensible (#67307) 2023-06-19 23:44:01 +02:00
ldap Login: refactor auth info package (#78459) 2023-11-21 14:47:23 +01:00
libraryelements Add MFolderIDsServiceCount to count folderIDs in services pkg (#81237) 2024-01-25 11:10:35 +01:00
librarypanels Folders: Reduce DB queries when counting and deleting resources under folders (#81153) 2024-01-30 18:26:34 +02:00
licensing Chore: Clean up old navigation (#66287) 2023-04-14 09:43:11 +01:00
live Live: Default to local engine if redis is unavailable (#77467) 2023-11-08 12:22:26 +00:00
login AuthInfo: No mandatory auth_id in Auth Info service (#81335) 2024-01-26 11:54:00 +01:00
loginattempt Chore: capitalise log message for auth packages (#74332) 2023-09-04 18:49:47 +02:00
navtree Navigation: Move asserts app to root, add asserts icon (#81362) 2024-01-26 15:30:36 +00:00
ngalert Alerting: Fix inconsistent AM raw config when applied via sync vs API (#81655) 2024-01-31 21:05:30 +02:00
notifications Chore: Remove public vars in setting package (#81018) 2024-01-23 12:36:22 +01:00
oauthtoken AuthInfo: Revert #81013. Fix cache invalidation (#81050) 2024-01-23 15:26:38 +01:00
org Chore: delete team related entries for an org after the org gets deleted (#76706) 2023-10-18 10:40:26 +01:00
playlist Playlist: Implement a more efficient List command to support k8s list (#79820) 2023-12-21 15:03:12 -08:00
plugindashboards Chore: removing folderId from plugindashboard service (#80570) 2024-01-16 11:08:39 +01:00
pluginsintegration AuthZ: add headers for IP range AC checks for cloud data sources (#80208) 2024-01-31 18:09:24 +01:00
preference Preferences: Remove SQLX backing store (#78015) 2023-11-13 06:22:22 -08:00
provisioning Add MFolderIDsServiceCount to count folderIDs in services pkg (#81237) 2024-01-25 11:10:35 +01:00
publicdashboards Send empty http response when body is nil (#80196) 2024-01-29 14:17:56 +02:00
query Data query: Allow logging panel plugin id when executing queries (#81164) 2024-01-30 00:06:31 -08:00
queryhistory Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
quota Alerting: Fix deleting rules in a folder with matching UID in another organization (#78258) 2023-12-04 11:34:38 +02:00
rendering Chore: Remove public vars in setting package (#81018) 2024-01-23 12:36:22 +01:00
screenshot Chore: Remove public vars in setting package (#81018) 2024-01-23 12:36:22 +01:00
search Add MFolderIDsServiceCount to count folderIDs in services pkg (#81237) 2024-01-25 11:10:35 +01:00
searchusers Chore: Remove public vars in setting package (#81018) 2024-01-23 12:36:22 +01:00
searchV2 Remove folderid service test (#80433) 2024-01-12 16:43:39 +01:00
secrets Chore: Remove public vars in setting package (#81018) 2024-01-23 12:36:22 +01:00
serviceaccounts RBAC: Add userLogin filter to the permission search endpoint (#81137) 2024-01-26 09:43:16 +01:00
shorturls Chore: Add errutils helpers (#73577) 2023-08-22 12:52:24 +02:00
signingkeys Siningkeys: Fix test setup (#76333) 2023-10-11 13:50:38 +02:00
sqlstore FeatureFlags: Avoid using cfg.IsFeatureToggleEnabled (#81407) 2024-01-28 15:22:45 -08:00
ssosettings Auth: fix swagger responses for the SSO settings API (#81639) 2024-01-31 18:06:22 +02:00
star Stars: Remove sqlx storage implementation (#77766) 2023-11-07 06:55:24 -08:00
stats Usagestats: Add stat group for alert rule groups (#78825) 2023-11-29 14:37:36 -06:00
store K8s/Folders: Rename api group to singular (#81443) 2024-01-30 08:50:37 -08:00
supportbundles Auth: Remove oAuthProviders from Social service (#78732) 2023-11-30 09:30:35 +01:00
tag FeatureFlags: Cleanup usage of cfg.IsFeatureToggleEnabled (#78014) 2023-11-13 07:55:15 -08:00
team Chore: Remove public vars in setting package (#81018) 2024-01-23 12:36:22 +01:00
temp_user Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
updatechecker Release: Deprecate latest.json and replace with api call to grafana.com (#80537) 2024-01-16 11:19:32 +00:00
user Chore: Remove unused CacheService dependency from sqlstore (#78507) 2023-12-04 10:00:45 -05:00
validations chore: move validations model into the validations service (#61953) 2023-01-23 15:10:14 -05:00