Commit Graph
13473 Commits
Author SHA1 Message Date
Ryan McKinley 549ecfe053 lint fix 2024-06-15 00:49:06 +03:00
Ryan McKinley 1a5de75c34 lint fix 2024-06-15 00:42:19 +03:00
Ryan McKinley 31a05d5666 hack hack hack... but working from kubectl 2024-06-15 00:26:45 +03:00
Ryan McKinley 2f64556cf1 almost... but stuck on requester 2024-06-14 23:34:04 +03:00
Ryan McKinley c1b786c718 cleanup 2024-06-14 23:10:59 +03:00
Ryan McKinley d8abf8d851 entity bridge 2024-06-14 22:53:10 +03:00
Ryan McKinley d5f3038421 merge main 2024-06-14 21:48:25 +03:00
Ryan McKinley df9baddf53 move test files 2024-06-14 21:44:33 +03:00
Ryan McKinley 617dd1b40e add basic list 2024-06-14 21:30:41 +03:00
Alexander Weaver 8491e02caf Alerting: Instrument outbound requests for Loki Historian and Remote Alertmanager with tracing (#89185)
* Add TracedClient

* Handle errors and status codes

* Wire up tracing to normal ASH and loki annotation mapping

* Add tracing to remote alertmanager

* one more spot

* and not or

* More consistency with other grafana traces, lower cardinality name
2024-06-14 13:24:12 -05:00
Dave Henderson 6262c56132 chore(perf): Pre-allocate where possible (enable prealloc linter) (#88952)
* chore(perf): Pre-allocate where possible (enable prealloc linter)

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>

* fix TestAlertManagers_buildRedactedAMs

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>

* prealloc a slice that appeared after rebase

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>

---------

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
2024-06-14 14:16:36 -04:00
Kevin Minehart a250706305 CI: Make pkg/build its own module, remove unused Grafana modules in go.mo… (#89243)
* Make pkg/build its own module, remove unused Grafana modules in go.mod/go.sum

* fix go.work format

* log errors on file close errors
2024-06-14 19:35:30 +03:00
Ryan McKinley ef3a601109 update the event type messages 2024-06-14 17:42:15 +03:00
Ryan McKinley 55d1e8ad1d update the event type messages 2024-06-14 17:41:16 +03:00
Ryan McKinley a01f8dd099 remove rv from key and update watch signature 2024-06-14 16:52:17 +03:00
Ryan McKinley e78a5122ce Merge remote-tracking branch 'origin/main' into resource-store 2024-06-14 16:19:53 +03:00
Ieva 4e3294cd8d RBAC: Fix the check for whether an action set should be added (#89219)
fox the check for whether an action set should be added
2024-06-14 14:23:29 +02:00
Ryan McKinley 504d84b8b2 with storage wrapper 2024-06-14 15:21:28 +03:00
Ryan McKinley 4fa60b6546 with storage wrapper 2024-06-14 15:21:17 +03:00
Sofia Papagiannaki 63c4d7373a Update cloud_migrations.go (#89218)
Remove unnecessary newline
2024-06-14 15:14:37 +03:00
Ryan McKinley d97d59ab38 Merge remote-tracking branch 'origin/main' into resource-store 2024-06-14 14:55:52 +03:00
Ryan McKinley f66768c67d now with a base server implementation 2024-06-14 14:24:36 +03:00
Ryan McKinley 4a41f7d0dd now with a base server implementation 2024-06-14 14:24:26 +03:00
Leonor Oliveira 1691d80412 Refactor enrichObj function (#89210) 2024-06-14 13:13:59 +02:00
Leonor Oliveira e1145472c4 For now, only compare if names are the same in playlists (#89206) 2024-06-14 13:13:49 +02:00
Leonor Oliveira fd44f2ee4f Init dualwriter metrics (#89003)
* Pass prometheus registerer to the dual writer

* Fix tests

* Remove unused var

* Fix tests

* Uncomment test

* Remove leading line

* Fix tests. Reuse registerer if there's already one

* Lint

* Improve double registering logic

* Rebase main
2024-06-14 11:01:49 +02:00
Ryan McKinley 68003738fd use partial object metadata 2024-06-14 11:28:15 +03:00
Ryan McKinley fc82089987 Merge remote-tracking branch 'origin/main' into resource-store 2024-06-14 10:57:16 +03:00
Steve Simpson dd3c3b5857 Alerting: Update grafana/alerting. (#88914) 2024-06-14 09:19:04 +02:00
Ryan McKinley 9478befbcd merge main 2024-06-14 09:08:14 +03:00
Ryan McKinley 19481990d1 merge main 2024-06-14 09:06:44 +03:00
Ryan McKinley 2173429ce2 Identity: Add static requester struct (#89190) 2024-06-14 09:04:06 +03:00
Ryan McKinley f2b6a9aa3d K8s: Add numeric revisionVersion helpers to grafanaMetaAccessor (#89191) 2024-06-14 02:35:23 +03:00
Ryan McKinley 29714d87fe use a path hash for the blob table 2024-06-14 02:12:35 +03:00
Ryan McKinley 382d5d4e01 add fs based store 2024-06-14 02:04:21 +03:00
Ryan McKinley 15b958b2d1 Merge remote-tracking branch 'origin/main' into resource-store 2024-06-13 22:56:34 +03:00
Ryan McKinley a03a978eb4 maybe happier 2024-06-13 22:37:29 +03:00
Kristin Laemmert e2f65dda0c chore: remove redundant transactions from Dashboard (get) sql queries (#89186)
* chore: remove redundant transactions from sql queries
* remove unused parameter
2024-06-13 15:32:01 -04:00
Ryan McKinley 79aed54c2c more body prep 2024-06-13 22:12:55 +03:00
Ryan McKinley 57b760824f Chore: Remove pkg/infra/x/persistentcollection (#89139) 2024-06-13 21:46:52 +03:00
Ryan McKinley 1540c98fe1 Merge remote-tracking branch 'origin/main' into resource-store 2024-06-13 21:19:51 +03:00
Michael Mandrus 9d3a4e236d CloudMigrations: Refactor API for async work (#89084)
* rename some stuff

* more renaming

* clean up api

* rename more functions

* rename cms -> gms

* update comment

* update swagger gen

* update endpoints

* overzealous

* final touches

* dont modify existing migrations

* break structs into domain and dtos

* add some conversion funcs

* fix build

* update frontend

* try to make swagger happy
2024-06-13 17:58:59 +00:00
Ieva bd35fa10f1 RBAC: Resolve action sets when GetPermissions is called (#89046)
* resolve action sets when GetPermissions is called

* a fix to ensure that dashboard permissions that override parent folder permissions are displayed on top of the inherited permission

* linting

* linting pt2
2024-06-13 20:06:37 +03:00
Ryan McKinley a0f682b315 merge main 2024-06-13 20:05:01 +03:00
Ieva 3853f90528 RBAC: Include action sets in dashboard and folder permission filter (#89133)
take action sets into account in dashboard and folder permission filter
2024-06-13 19:40:47 +03:00
Kyle Brandt 82aa000e9d SSE: (Chore) Update log line with context (trace) (#89172)
Improves log line to help with debugging in Server Side Expressions. In particular, the traceId, datasourceType, and datasourceUid will now be included.
2024-06-13 10:58:39 -04:00
Juan Cabanas 59d83bc55a PublicDashboards: Fix error message when deleting (#89166) 2024-06-13 10:39:35 -03:00
Sam Jewell 2d0a3953c1 Transformations: Move transformation variables to general availability (#89111) 2024-06-13 07:18:21 -06:00
Will Browne 74230937f4 Plugins: Update plugin SDK Go to 0.235.0 (#89153)
update plugin SDK go to 0.235.0
2024-06-13 15:14:39 +02:00
Ryan McKinley 2197a0e5e8 update workspace 2024-06-13 16:02:06 +03:00