grafana/pkg/services
George Robinson d96b0a71d3
Alerting: Add limits to the Prometheus Rules API (#65169)
This commit adds a number of limits to the Grafana flavor of the
Prometheus Rules API:

1. `limit` limits the maximum number of Rule Groups returned
2. `limit_rules` limits the maximum number of rules per Rule Group
3. `limit_alerts` limits the maximum number of alerts per rule

It sorts Rule Groups and rules within Rule Groups such that data in the
response is stable across requests. It also returns summaries (totals) for
all Rule Groups, individual Rule Groups and rules.
2023-04-03 10:17:02 +01:00
..
accesscontrol Plugins: Migrate licensing and access control to pkg/services/pluginsintegration package (#65258) 2023-03-27 11:15:37 +02:00
alerting Chore: Split usagestats service (#65191) 2023-03-23 19:19:19 +02:00
annotations Rename Id to ID for annotation models (#62886) 2023-02-03 17:23:09 +01:00
anonymous AnonymousService: Test tagging service (#64708) 2023-03-14 10:47:34 +01:00
apikey Chore: Remove result field from API keys commands and queries (#65055) 2023-03-21 13:26:33 +01:00
auth Auth: Add feature flag to move token rotation to client (#65060) 2023-03-23 14:39:04 +01:00
authn AuthN: Tune logs in client (#65714) 2023-03-31 16:43:24 +02:00
cleanup Chore: Fix goimports grouping in pkg/services (#62420) 2023-01-30 08:21:27 +00:00
contexthandler Logger: Add feature toggle for errors in HTTP request logs (#64425) 2023-03-31 15:38:09 +02:00
correlations Add quota setting for correlations (#65076) 2023-03-21 15:27:25 -05:00
dashboardimport Dashboards: Avoid adding unused revision property (#64362) 2023-03-08 08:26:38 -08:00
dashboards Chore: Remove result field from dashboards (#65249) 2023-03-30 07:29:52 +02:00
dashboardsnapshots Snapshots: Add snapshot enable config (#61587) 2023-01-26 10:28:11 -03:00
dashboardversion API: Fix "Updated by" Column in dashboard versions table (#65351) 2023-03-30 17:31:53 +03:00
datasourceproxy Chore: Rename Id to ID in alerting models (#62777) 2023-02-02 17:22:43 +01:00
datasources Chore: Remove result field from remaining datasources queries (#65054) 2023-03-20 19:18:21 +01:00
encryption Chore: Fix goimports grouping in pkg/services (#62420) 2023-01-30 08:21:27 +00:00
featuremgmt Logger: Add feature toggle for errors in HTTP request logs (#64425) 2023-03-31 15:38:09 +02:00
folder Nested folders: Fix move (#65526) 2023-03-30 11:46:11 +03:00
grpcserver ApiKeyGenPrefix: rename package (#65623) 2023-03-30 17:04:10 +02:00
guardian Cfg: Move ViewersCanEdit into cfg (#64876) 2023-03-16 10:54:01 +01:00
hooks chore: move user_auth models to (mostly) login service (#62269) 2023-01-27 13:36:54 -05:00
kmsproviders Encryption: Refactor secrets.Service initialization (#51091) 2022-07-07 09:48:25 +02:00
ldap LDAP: Always synchronize Server Admin role through role sync if role sync is enabled (#58820) 2023-03-31 15:39:23 +01:00
libraryelements Cfg: Move ViewersCanEdit into cfg (#64876) 2023-03-16 10:54:01 +01:00
librarypanels Cfg: Move ViewersCanEdit into cfg (#64876) 2023-03-16 10:54:01 +01:00
licensing Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
live Logger: Add feature toggle for errors in HTTP request logs (#64425) 2023-03-31 15:38:09 +02:00
login Chore: Remove result fields from login (#65136) 2023-03-28 20:32:21 +02:00
loginattempt Chore: Remove result field from loginattempt (#65117) 2023-03-22 21:25:29 +01:00
navtree Navigation: Rename Alerts & incidents to Alerts & IRM (#65635) 2023-03-31 09:40:06 +01:00
ngalert Alerting: Add limits to the Prometheus Rules API (#65169) 2023-04-03 10:17:02 +01:00
notifications Chore: Remove result field from notifications (#65170) 2023-03-28 13:44:15 +02:00
oauthtoken Chore: Remove result fields from login (#65136) 2023-03-28 20:32:21 +02:00
org Auth: Fix orgrole picker disabled if isSynced user (#64033) 2023-03-22 17:41:59 +00:00
playlist Chore: Update oapi-codegen library (#62962) 2023-02-21 12:34:24 +01:00
plugindashboards Plugins: Add file store abstraction for handling plugin files (#65432) 2023-03-29 12:55:55 +02:00
pluginsintegration CloudWatch Logs: Fix running logs queries with expressions (#65306) 2023-03-30 17:40:01 -04:00
preference SQLStore: Fix wrong usage of xorm's insert functions in tests (#63850) 2023-03-02 13:01:36 +02:00
provisioning Alerting: Remove dependency on alerting package in definitions (#65390) 2023-03-29 13:34:59 -04:00
publicdashboards PublicDashboards: fix annotations when Target is nil (#65744) 2023-03-31 19:13:06 -03:00
query CloudWatch Logs: Fix running logs queries with expressions (#65306) 2023-03-30 17:40:01 -04:00
queryhistory Support bundles: Refactor registry into separate service (#62945) 2023-02-06 17:50:03 +01:00
quota Chore: Remove xorcare/pointer dependency (#63900) 2023-03-06 05:23:15 -05:00
rendering Remotecache: rename setbytearray/getbytearray to set/get and remove codec (#64470) 2023-03-10 13:57:29 +01:00
screenshot Alerting: Fix a bug taking screenshots with Dashboard UID (#63220) 2023-02-09 15:23:01 -05:00
search Chore: Remove result field from search (#65583) 2023-03-30 11:28:12 +02:00
searchusers Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
searchV2 Chore: remove querylibrary feature toggle (#65021) 2023-03-20 20:00:14 +04:00
secrets Chore: Remove result field from remaining datasources queries (#65054) 2023-03-20 19:18:21 +01:00
serviceaccounts ApiKeyGenPrefix: rename package (#65623) 2023-03-30 17:04:10 +02:00
shorturls Chore: Replace short UID generation with more standard UUIDs (#62731) 2023-02-06 20:44:37 -05:00
sqlstore Alerting: Update migration to put alerts to the default folder if dashboard folder is missing (#65577) 2023-03-31 18:40:21 +02:00
star Search: Improvements for starred dashboard search (#64758) 2023-03-16 09:20:07 +00:00
stats Chore: Remove result field from stats (#65166) 2023-03-30 08:08:47 +02:00
store ApiKeyGenPrefix: rename package (#65623) 2023-03-30 17:04:10 +02:00
supportbundles Support bundles: fix user collector permissions and format collector output (#64531) 2023-03-09 11:43:18 -05:00
tag Chore: Fix goimports grouping in pkg/services (#62420) 2023-01-30 08:21:27 +00:00
team Chore: Remove CreateUserForTests() (#64125) 2023-03-03 11:01:23 -05:00
teamguardian Chore: Fix goimports grouping (#62426) 2023-01-30 09:34:18 +01:00
temp_user fix: create temp user no longer sets ID to 0 for all users (#64149) 2023-03-03 10:50:54 -05:00
thumbs Chore: Remove result fields from thumbs (#65096) 2023-03-22 21:25:07 +01:00
updatechecker Plugins: Improve instrumentation by adding metrics and tracing (#61035) 2023-03-28 11:01:06 +02:00
user Support bundles: fix user collector permissions and format collector output (#64531) 2023-03-09 11:43:18 -05:00
validations chore: move validations model into the validations service (#61953) 2023-01-23 15:10:14 -05:00