Georges Chaudy
2297417374
Unistore: Add datastore ( #107137 )
...
* Add datastore
* too many slashes
* lint
* pr comments
* extract ParseKey
2025-06-26 10:36:31 +02:00
Stephanie Hingtgen
79fe8a9902
Library Panels: Modify connection api endpoint to be compatible with unified storage ( #107088 )
2025-06-25 22:21:56 +00:00
Peter Štibraný
eeb01126b3
grpc: wrapContext should not replace existing metadata, but append to it. ( #107126 )
...
* grpc: wrapContext should not replace existing metadata, but append to it.
* Add test for wrapContext if there's no previous metadata.
* Rename encodeIdentityInMetadata to encodeIdentityInMetadataPairs
2025-06-25 08:06:45 +00:00
Ryan McKinley
580b410e8c
DualWriter: Minor cleanup ( #107028 )
2025-06-25 07:41:51 +00:00
Georges Chaudy
5150ebfba8
unistore: index search references ( #106954 )
2025-06-24 14:54:07 -05:00
Georges Chaudy
53cb80e58c
Unistore: save should use a Reader not ReadCloser ( #107128 )
...
* save should use a Reader not ReadCloser
* save should use a Reader not ReadCloser
2025-06-24 15:37:22 +00:00
Georges Chaudy
27a5bab1c1
unistore: Add kvstore interface ( #107094 )
...
* Add kvstore interface
* add owner
* go lint
* remove comment
* update comment
* remove GetOptions
* add sortorder unspecified
* nit
* nit
* nit
* move txn
* use io.reader
* use io.reader
* change again the default order + comments
* change again the default order + comments
* use readcloser for Save
2025-06-24 15:50:57 +02:00
Peter Štibraný
6e5056e1be
Add tracing to bulk process. ( #107047 )
...
Add logging to bulk process.
2025-06-24 09:45:32 +01:00
Georges Chaudy
9062d88ea0
unistore: filter trash requests ( #106767 )
...
* deleted by user
* use the correct checker
* add tests
* refactor
2025-06-24 10:17:34 +02:00
Stephanie Hingtgen
63bc65fa4c
Dashboards: Fix history list for dashboard uids that end in - ( #107073 )
2025-06-22 06:56:45 -06:00
Ryan McKinley
945bc53b4c
DualWrite: Manage values from KV store (not file) ( #106772 )
2025-06-18 10:37:44 +03:00
Mustafa Sencer Özcan
b48337a7c8
feat: introduce ttl cache for bleve indices ( #106842 )
2025-06-17 16:28:51 +02:00
Dana Axinte
dbe815ee68
SecretsManager: keepers with secure values credentials ( #106761 )
...
* SecretsManager: keepers with secure values
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com >
* Keepers: Refactor extract secure values remove extra helper functions
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
---------
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
2025-06-16 14:37:36 +01:00
Dana Axinte
6097841e67
SecretsManager: add secure value store ( #106708 )
...
* SecretsManager: add secure value model and sql templates
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com >
Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com >
Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com >
* SecretsManager: secure value rest layer to use store
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com >
Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com >
Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com >
* SecretsManager: temporary add actor prefix to decrypters
* Remove list securevalue by namefor now
---------
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com >
Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com >
2025-06-16 10:19:44 +01:00
Jean-Philippe Quéméner
5f21f320f7
fix(unified-storage): use continue token containing both formats for dualwriter ( #106525 )
2025-06-13 15:59:46 +02:00
Stephanie Hingtgen
5135d5c87d
Unified storage: Reconstruct index in the background every 24h ( #106422 )
2025-06-12 14:34:48 -05:00
Dana Axinte
de28231f2f
SecretsManager: Add outbox store ( #106613 )
...
SecretsManager: add outbox store
Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com >
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
2025-06-12 13:31:48 +01:00
Dana Axinte
c22b4845bb
SecretsManager: Add encrypted value store ( #106607 )
...
* SecretsManager: add encrypted value store
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com >
Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com >
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com >
* SecretsManager: wiring of encrypted value store
---------
Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com >
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com >
2025-06-12 11:52:01 +01:00
Stephanie Hingtgen
7864c1660f
K8s: Get trash fixes ( #106411 )
2025-06-11 13:54:38 -05:00
Jean-Philippe Quéméner
1196d66c5e
feat(unified-storage): log continue token on error ( #106475 )
2025-06-10 16:41:39 +02:00
Jean-Philippe Quéméner
1a216a8fff
feat(unified-storage): use logger from context for dualwriter ( #106473 )
2025-06-10 15:33:14 +02:00
maicon
6fb0ed9886
Bump tempo to 20250529124718-87c2dc380cec ( #106220 )
...
* Bump tempo to 20250529124718-87c2dc380cec
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* Add owners to pkg/build
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* update workspace
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* update pkg/build/go.sum
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* update pkg/build/go.sum
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-05-29 23:43:13 -05:00
Stephanie Hingtgen
ab99211b40
Dashboard Provisioning: Reduce db load ( #106114 )
2025-05-29 09:39:07 +03:00
Jean-Philippe Quéméner
4519ef8d21
chore(unified-storage): increase background request timeout ( #106186 )
2025-05-28 22:59:28 +02:00
Ryan McKinley
d4c446f42c
Chore: Update k8s.io to v0.33.1 ( #105307 )
2025-05-28 00:13:18 +03:00
Jean-Philippe Quéméner
9ba031364b
fix(unified-storage): use batching for index creation ( #106034 )
2025-05-27 09:48:39 +02:00
Ryan McKinley
326081cdb7
Chore: Remove unified storage go modules ( #106035 )
2025-05-27 09:49:21 +03:00
Jean-Philippe Quéméner
814707152d
chore(unified-storage): contextualize the index build logger ( #106025 )
2025-05-26 21:33:51 +02:00
Dana Axinte
5401175562
SecretsManager: Conditionally lock DB before migrations using config setting ( #106003 )
...
Secrets: Conditionally lock DB before migrations using config setting (#105949 )
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
2025-05-26 18:28:53 +01:00
Georges Chaudy
04d39cbbc6
unistore: split ListIterator and ListHistory in StorageBackend ( #105654 )
...
split listIterator from ListHistory
2025-05-23 15:00:18 +02:00
Jean-Philippe Quéméner
392c1a71c9
Storage: Take migration_locking setting into account ( #105938 )
2025-05-23 14:11:21 +02:00
Peter Štibraný
c4d3eb1cd0
Remove support for Google Spanner database. ( #105846 )
...
* Remove support for Google Spanner database.
2025-05-23 11:35:59 +02:00
Jean-Philippe Quéméner
eb8f3bc071
fix(unified-storage): wait for result to be available ( #105922 )
2025-05-23 11:03:01 +02:00
Jean-Philippe Quéméner
e57be36936
fix(unified-storage): race in resource server watch ( #105786 )
2025-05-23 09:19:20 +02:00
Jean-Philippe Quéméner
95eabcf03d
refactor(unified-storage): rename cache to avoid import conflicts ( #105831 )
2025-05-22 17:12:31 +02:00
Dana Axinte
7f2923d4ed
SecretsManager: Introduce keeper store ( #105557 )
...
* SecretsManager: Introduce secret database wrapper
Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com >
Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com >
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com >
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
* SecretsManager: Introduce db migrator with keeper table
Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com >
Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com >
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com >
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
* SecretsManager: Introduce keeper store
Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com >
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com >
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
* new line
* without query listByNameSecureValue
* remove unused extractSecureValues for now
* SecretsManager: Add keeper integration tests
Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com >
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com >
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
---------
Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com >
Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com >
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
2025-05-22 14:26:47 +01:00
Ryan McKinley
1dd59ca599
DualWriter: remove RV+UID for secondary update ( #105543 )
2025-05-21 18:25:40 +00:00
Dana Axinte
6e5e133f7d
SecretsManager: Introduce db migrator with keeper table ( #105538 )
...
Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com >
Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com >
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
2025-05-21 15:02:51 +01:00
Jean-Philippe Quéméner
a13fe75de8
refactor(unified-storage): set the GUID in the resource server ( #105683 )
2025-05-21 09:49:49 +02:00
Kevin Minehart
13f4cf162e
CI: move grafana-build into pkg/build ( #105640 )
...
* move grafana-build into pkg/build
2025-05-20 10:48:00 -05:00
Matheus Macabu
38de0cac3a
Chore: Replace usages of golang.org/x/net/context with stdlib context package ( #105676 )
2025-05-20 14:59:40 +02:00
Will Assis
3d1eac754b
unified-storage: distributor instructions and fix race condition ( #105630 )
...
* update unified storage README with instructions on how to run the distributor locally and fix race condition causing the server to crash on startup randomly
2025-05-20 14:46:33 +03:00
Dana Axinte
a7922912fe
SecretsManager: Introduce secrets database wrapper ( #105472 )
...
SecretsManager: Introduce secret database wrapper
Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com >
Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com >
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
2025-05-20 11:48:47 +01:00
Mustafa Sencer Özcan
91882cf50e
chore(unified-storage): add tracing for unified storage folder implementation ( #105601 )
2025-05-19 23:25:08 +03:00
Will Assis
bdae4424e8
unified-storage: setup distributor module option A ( #104737 )
...
* setup distributor module
* move lifecycler into resource server provider
* remove ring/client pool setup from distributor module and use the same ring/client pool between storage server module and distributor module
* implement resourcestore server methods
* make healthcheck fail if ring is not running
2025-05-19 07:46:03 -04:00
Jean-Philippe Quéméner
5d8f2e0ec3
refactor(unified-storage): extract list iterator and add tests ( #105600 )
2025-05-19 13:05:49 +02:00
Ieva
2cddaf0781
RBAC: Remove dashboard and folder guardians ( #104646 )
...
* replace usage of folder guardians with access control evaluators
* remove NewByFolderUID guardian
* bring up to date
* fix test
* more test fixes, and don't fetch the folder before evaluating lib element access
* change what error is returned
* fix alerting test
* try to fix linter errors
* replace the use of newByFolder guardian with direct access control evaluator checks
* remove newByFolder guardian
* get rid of dashboard and folder guardians
* undo unwanted change
* undo unwanted change
* undo unwanted change
* update code owners
2025-05-19 09:48:16 +03:00
Peter Štibraný
1ffe653156
Revert change of order of checks when setting up resource DB ( #105514 )
...
* Revert change of order in newResourceDBProvider
* Ignore error in provisioningSecrets when working with wrong DB.
* Update workspace.
* Add owner.
2025-05-16 11:35:36 +03:00
Matheus Macabu
8dda9da035
Dependencies: Bump authlib to support service identity in claims ( #105513 )
2025-05-16 10:52:30 +03:00
Jean-Philippe Quéméner
002f46736a
refactor(unified-storage): move generated protos to own pkg ( #105356 )
2025-05-15 21:36:52 +02:00