Jean-Philippe Quéméner
40dde1d4aa
feat(grpc): add client keepalive config ( #112158 )
2025-10-08 13:22:29 +02:00
maicon
2c5ccd3283
Unistore: ignore name when validating collection keys ( #112086 )
...
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-10-07 06:45:59 +00:00
Peter Štibraný
2d801eed3c
Remove unused arguments from ResourceIndex and SearchBackend interfaces. ( #112043 )
...
* Remove unused arguments from ResourceIndex and SearchBackend interfaces.
2025-10-06 11:47:52 +02:00
Peter Štibraný
a44af81082
Unified storage search: Introduce min index update interval ( #111978 )
...
* Don't update index more often than specified index_min_update_interval.
* Add artificial sleep at the end of write operations.
* Improve test: check for number of update calls, make diff check less flaky.
* Make test less flaky by allowing for higher diff variance.
* Make test less flaky by allowing for expected update calls variance.
2025-10-06 10:02:03 +02:00
Stephanie Hingtgen
ce50f2cf61
Revert "Secrets: Refactor data_key_id out of the encoded secure value payload" ( #112034 )
...
Revert "Secrets: Refactor data_key_id out of the encoded secure value payload…"
This reverts commit acad92864e .
2025-10-05 09:53:43 +03:00
Stephanie Hingtgen
56b136a8de
Permission Creator: Remove user type check ( #112024 )
2025-10-04 08:30:08 +03:00
Michael Mandrus
acad92864e
Secrets: Refactor data_key_id out of the encoded secure value payload ( #111852 )
...
* everything compiles
* tests pass
* remove file included by accident
* add entry to gitignore
* some scaffolding for the migration executor
* remove file
* implement and test the migration
* use xkube.Namespace in our interfaces
* add todo
* update wire deps
* add some logs
* fix wire dependency ordering
* create tests to validate error conditions during migrations
2025-10-03 15:25:46 -04:00
Stephanie Hingtgen
7f805d8e1a
Unistore: Add comment on how RV checks are working ( #111898 )
2025-10-01 16:02:45 -05:00
Will Assis
b26647e042
unified-storage: setup rollout-operator endpoint ( #111768 )
...
* implement endpoint so that storage/search api can prepare for downscale if enabled
2025-10-01 16:34:30 -04:00
Will Assis
9bde3267bb
unified-storage: dont index -- Grafana -- datasource dashboard fields ( #111774 )
...
* unified-storage: dont index -- Grafana -- datasource dashboard fields
2025-10-01 11:32:56 -04:00
Ryan McKinley
c530cacb1c
Storage: Propagate RV to server on update+delete ( #111866 )
2025-10-01 18:00:02 +03:00
Ryan McKinley
2f2289f226
Chore: Update authlib (foder as top level argument) ( #111800 )
2025-10-01 14:40:28 +00:00
Will Assis
870131a4aa
unified-storage: restrict search to title of documents ( #111842 )
...
* restrict search to title of documents
2025-10-01 08:06:26 -04:00
Peter Štibraný
707c486a46
Rebuild search indexes asynchronously ( #111829 )
...
* Add "debouncer" queue, which can combine incoming elements.
* Rebuild indexes asynchronously.
* Remove duplicate method.
* Fix bleve tests.
* Extracted combineRebuildRequests and added test for it.
* Add TestShouldRebuildIndex
* Added TestFindIndexesForRebuild
* Added TestFindIndexesForRebuild
* Introduce index_rebuild_workers option.
* Add metric for rebuild queue length.
* Add TestRebuildIndexes.
* Fix import.
* Linter, review feedback.
2025-10-01 11:52:09 +02:00
Ryan McKinley
cfbf64c3fd
Validation: Move validation into apimachinery package ( #111736 )
2025-09-30 12:59:33 +00:00
Jean-Philippe Quéméner
d0e3e91b03
fix(folders): use namespace_uid for alert count ( #111773 )
2025-09-29 16:12:34 -05:00
Matheus Macabu
ffa9444256
Secrets: Add more details about decryption when there is an error ( #111741 )
2025-09-29 18:29:52 +02:00
Stephanie Hingtgen
e01e61a156
Trash: Keep provisioned objects out of the trash ( #111714 )
2025-09-28 20:33:57 +00:00
maicon
2e734549b5
Revert "Revert "Unistore: Add validation for resource names"" ( #111648 )
...
* Revert "Revert "Unistore: Add validation for resource names" (#111408 )"
This reverts commit b3ed600bca .
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-09-28 20:53:07 +03:00
Stephanie Hingtgen
e083c05532
Folders: Create default permissions on root level folder in API Service and cleanup after delete ( #111690 )
2025-09-26 17:16:07 -05:00
Jean-Philippe Quéméner
c66209bca8
feat(unified-storage): no SQL fallback for dashboards/folders in Mode 5 ( #111672 )
2025-09-26 15:47:03 +02:00
Ryan McKinley
bdefea9acf
Storage: Fast path when list with metadata.name=XYZ ( #111630 )
2025-09-25 15:54:38 +00:00
Peter Štibraný
357aa7d314
Improve search index eviction ( #111542 )
...
* Modify index eviction mechanism such that unowned indexes are also evicted.
* Propagate OwnsIndex function to bleve backend
Fix tests.
Stop eviction goroutine when stopping backend.
Make linter happy.
Make sure we stop backend created by tests.
Review suggestion.
Removed newline.
2025-09-24 16:54:35 +02:00
Will Assis
33ff6dbb9e
unified-storage: add feature flag to use ngram for indexing ( #111265 )
...
* unified-storage: add feature flag to use ngram instead of edge-ngram for indexing
2025-09-24 10:36:50 +02:00
Peter Štibraný
f062e5a85f
Stop background tasks and when stopping bleve backend. ( #111249 )
...
Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com >
2025-09-23 18:04:49 +02:00
maicon
b3ed600bca
Revert "Unistore: Add validation for resource names" ( #111408 )
...
Revert "Unistore: Add validation for resource names (#110990 )"
This reverts commit b63e3fd3ae .
2025-09-19 18:03:23 +00:00
Daniele Stefano Ferru
e69cc03ef9
Secret: add ability to configure extra owner decrypters ( #111301 )
...
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com >
2025-09-19 07:41:56 -05:00
maicon
b63e3fd3ae
Unistore: Add validation for resource names ( #110990 )
...
* Unistore: Add validation for resource names
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-09-19 09:37:17 -03:00
Alexander Zobnin
72d212c5f9
Authlib: Update authz client to use zookies ( #111291 )
...
* Authlib: Update authz client to use zookies
* fix zookie return
* fix linter
2025-09-18 16:24:22 +02:00
Ryan McKinley
9743e0c903
DualWriter: Error when folder+dashboard modes do not match when running mode4+ ( #111286 )
2025-09-18 16:43:39 +03:00
Peter Štibraný
48250a1605
Introduced options to ignore old indexes based on build time and build version. ( #111168 )
2025-09-17 10:59:59 +02:00
Mustafa Sencer Özcan
4c2240dcc3
fix: introduce an init lock for the storage backend integration tests ( #111166 )
2025-09-16 14:18:06 +00:00
Will Assis
6b2fb782c8
fix (unified-storage): search returning empty results when query includes small term ( #111140 )
...
* fix search not returning anything when a word in the query has less than 3 characters
* fix test name
* fmt
* remove trimspace
2025-09-16 08:55:23 -04:00
Ryan McKinley
0a79b3bdc5
Chore: Upgrade k8s.io/api v0.34.1 and grafana-app-sdk v0.43.1 ( #111009 )
2025-09-16 13:35:20 +03:00
Georges Chaudy
c251ebf4d5
kvstore: merge the metadata store into the datastore ( #110334 )
...
* migrate eventstore to datastore
* Add folder to event key
* lint
* lint
* lint
* lint
* remove foundkye
* refactor the Keys methods to move the Sort outside the ListKey method
* remove bad import
* fix missing params
* lint
* fix test
* perf improvement
2025-09-16 12:16:29 +02:00
Peter Štibraný
f77e99d965
Store build time and build version into index. ( #111010 )
2025-09-16 10:52:30 +02:00
Alexander Zobnin
294fd943c0
Chore: Update authlib ( #110880 )
...
* Chore: Update authlib
* exclude incompatible version of github.com/grafana/gomemcache
* Update go-jose to v4
* fix jose imports
* remove jose v3 from go.mod
* fix tests
* fix serialize
* fix failing live tests
* add v1 of ES256 testkeys. Port tests to use ES256 instead of HS256
* accept more signature algs for okta and azuread
* azure social graph token sig
* accept more signature algs for oauth refresh and jwt auth
* update workspace
* add a static signer for inproc
* rebase and fix ext_jwt
* fix jwt tests
* apply alex patch on gomemcache
* update linting
* fix ext_jwt panic
* update workspaces
---------
Co-authored-by: Jo Garnier <git@jguer.space >
2025-09-15 12:45:15 +02:00
owensmallwood
7ce971cba1
Unified Storage: Adds pruner for kv eventstore ( #110785 )
...
* Adds pruner for eventstore - default 24 hours. Adds tests.
* update comment
* remove delay on startup. formatting
* updates log message type and removes useless comment
* caller handles goroutine for runCleanupOldEvents()
* simplify timestamp extraction
* adds config for event pruning interval
* uses start and end key to get all expired events
* remove sort when listing keys in event pruner - order doesnt matter
* use snowflake constants
* log when we delete 0 rows
* pass time.Time to cleanup old events func
2025-09-12 14:40:16 -06:00
owensmallwood
310893292f
Unified Storage: Add sort order to keys func in datastore ( #110714 )
...
* Add sort order to keys func in datastore. Add test to not prune deleted events.
* include sort field in the ListRequestKey instead of it being a separate param
2025-09-11 14:12:30 -06:00
Mustafa Sencer Özcan
2bd76d4044
fix: bump context deadline for integration tests while backend initialization ( #110947 )
2025-09-11 17:25:13 +02:00
Peter Štibraný
c6c8c6e928
Remove feature toggles from bleve backend. ( #110951 )
...
* Remove feature toggles from search backend.
* Remove extra import.
* Remove unnecessary code.
2025-09-11 16:08:41 +02:00
Peter Štibraný
6fa6a5708a
Cleanup of old search functionality ( #110861 )
...
* Remove support for initMinSize.
Remove support for searchAfterWrite option, now it defaults to true.
* Remove reference to deprecated feature toggle.
* Remove feature toggle completely.
* Remove code related to indexing on watch events.
* Fix compilation error.
* Remove unused field.
2025-09-11 08:23:03 +00:00
Mustafa Sencer Özcan
b8b85fbf47
fix: add intrumentation for auth server grpc client ( #110875 )
2025-09-10 17:33:21 +02:00
Stephanie Hingtgen
323738d191
Provisioning: Fix check of who can update ( #110835 )
2025-09-10 09:04:10 +03:00
Ryan McKinley
7e8bbd2ec4
DualWrite: Avoid dynamic wrapper when mode5 is configured ( #110823 )
2025-09-09 19:38:33 +03:00
Peter Štibraný
b3cc317cbc
unified-storage search: Return bad request error for incomplete request. ( #110802 )
...
Return bad request error for incomplete request.
2025-09-09 14:15:45 +02:00
Peter Štibraný
7fd9ab9481
Replace check for integration tests. ( #110707 )
...
* Replace check for integration tests.
* Revert changes in pkg/tsdb/mysql packages.
* Fix formatting of few tests.
2025-09-08 15:49:49 +02:00
Peter Štibraný
d09708fe55
Move SkipIntegrationTestInShortMode to testutil. ( #110750 )
...
* Move SkipIntegrationTestInShortMode to testutil.
* make update-workspace
2025-09-08 12:50:31 +02:00
Will Assis
005da25698
fix: ListManagedObjects and CountManagedObjects panic when search is not configured ( #110726 )
...
fix ListManagedObjects and CountManagedObjects panicking when search index not configured
2025-09-05 20:58:12 +00:00
owensmallwood
dc1c5a610c
Unified Storage: Fix broken tests ( #110710 )
...
fix broken tests
2025-09-05 17:19:13 +00:00