Karl Persson
5115247818
Zanana: Fix list test ( #96401 )
...
Fix: List operation are not guaranteed to respond in a certain order
2024-11-14 10:13:59 +01:00
Brendan O'Handley
ad3fc95755
Revert "Prometheus: Check both error and http status for source of error " ( #96396 )
2024-11-14 04:19:30 +02:00
Tom Ratcliffe
bfecce320a
Alerting: Fix some templates RBAC UI action control/checks ( #94898 )
2024-11-13 17:14:15 +00:00
Santiago
9e408f842c
Alerting: Skip sanitizing labels when sending alerts to the remote Alertmanager ( #96251 )
...
* Alerting: Skip sanitizing labels when sending alerts to the remote Alertmanager
* fix drone image name
2024-11-13 11:21:44 -03:00
Roberto Jiménez Sánchez
7bfaf2a7bf
[Cloud Migrations] Fix panic in unit tests ( #96389 )
...
* Fix panic in unit test
* Reset mock to new one between tests
2024-11-13 16:06:32 +02:00
Carl Bergquist
16330e4113
Loki: Adds a suggestions
resource call that inject scopes for finding label/labelvalues ( #96025 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com>
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
2024-11-13 14:36:12 +01:00
Ryan McKinley
d9b87ef987
Storage: Add authz access client stubs ( #95548 )
...
authz stubs
authz stubs
lint fix
Add folder
move check.Name on creat
fix watch
2024-11-13 13:17:15 +01:00
Matheus Macabu
29ee90bc26
CloudMigrations: add parent folder name to alert rule resource ( #96366 )
2024-11-13 12:20:56 +01:00
Dana Axinte
924b0d0863
CloudMigration: Add user uid to on prem event collection ( #94804 )
...
* add useruid to report events
* test
2024-11-13 11:07:00 +00:00
Misi
275ee55e8f
Auth: Extend the SAMLStrategy with entity_id ( #96234 )
...
Add the ability to specify EntityID
2024-11-13 10:36:46 +01:00
lean.dev
750a0bed71
MigrationAssistant: Restrict dashboards, folders and datasources by the org id of the signed in user ( #96339 )
...
apply security patch: main/206-202410241510.patch
2024-11-12 13:03:16 -06:00
Alexander Akhmetov
580d073b96
Alerting: Add context to the logger in state manager Warm ( #96228 )
2024-11-12 19:41:05 +01:00
Ryan McKinley
e9956f2345
Storage: Always set a UID in the apiserver ( #96086 )
2024-11-12 18:58:32 +02:00
Roberto Jiménez Sánchez
7f99e943a6
Do not use the span recorder in test ( #96324 )
2024-11-12 17:55:53 +01:00
Alyssa (Bull) Joyner
2e687a1090
Azure Monitor: Fix JSON parsing error ( #96004 )
2024-11-12 08:07:43 -07:00
Piotr Jamróz
3a6858cf26
Frontend o11y: Report browser crashes to Faro ( #95772 )
...
* Report browser crashes to Faro
* Fix linting
* Change context log context prefix
* Update types
* Update crash detection library to report stale tabs
* Post merge fixes
2024-11-12 16:07:27 +01:00
Karl Persson
ae95a6158f
Zanana: Remove opefga from client and implement compile ( #96275 )
...
Zanana: Remove opefga from client and implement Compile
2024-11-12 15:30:34 +01:00
Georges Chaudy
f4e91da6b1
Unistore: fix fodler migration ( #96299 )
...
configure default migration for resource folder
2024-11-12 16:06:42 +02:00
Isabella Siu
749f59b3e3
Elasticsearch: Mark elasticsearch errors as downstream ( #96152 )
...
Elasticsearch: mark elasticsearch errors as downstream
2024-11-12 08:46:31 -05:00
Ieva
69a38c634c
RBAC: Enable action sets by default ( #96286 )
...
enable action sets by default
2024-11-12 12:39:51 +00:00
Andres Martinez Gotor
c3494614e3
PoC: Define userstorage API ( #95557 )
2024-11-12 12:56:41 +01:00
Georges Chaudy
c3571752b6
Unitstore: Fix the Folder migration ( #96078 )
...
* UniStore: Add folder to the SQL backend
This reverts commit aaa4f4a23e
.
* fix folder migration
2024-11-12 12:52:04 +01:00
Karl Persson
db6422c8a3
Zanzana: Use correct namespace when evaluating permission ( #96258 )
...
Use correct namespace
2024-11-12 11:52:29 +01:00
Roberto Jiménez Sánchez
fde9ddfc8c
[Cloud Migration] Skip flaky cloud migration unit test ( #96256 )
...
Skip Flaky Cloud Migration test
2024-11-12 11:08:35 +01:00
Gabriel MABILLE
cc9cdbe82d
Authz: Move extension proto up a layer ( #96254 )
...
* Authz: Move extension proto up a layer
* Lint
2024-11-12 10:19:12 +01:00
Karl Persson
8d74296b6c
Authn: Always set namespace ( #96230 )
...
* Rename from AllowedKubernetesNamespace to Namespace
* Use a sync hook to always set namespace for Identity.
* format
* Don't set uid when authenticating as user
2024-11-12 10:12:47 +01:00
Agnès Toulet
d2aca99d38
Public Dashboard: Support relative time range in panels when time picker is disabled ( #96076 )
...
Public Dashboard: Support relative time range in panels
2024-11-12 09:21:13 +01:00
Erik Sundell
4c0dde6f2f
Plugin Extensions: Streamline log messages ( #95943 )
...
* streamline log messages
* cleanup
* fix tests
* only log errors to the console
* more cleanup again
* cleanup
* Update public/app/features/plugins/extensions/errors.ts
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
* pr feedback
* remove white space
* Update public/app/features/plugins/extensions/registry/ExposedComponentsRegistry.ts
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
* revert touched file
* revert touched file
* fix tests
---------
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
2024-11-12 08:55:04 +01:00
Roberto Jiménez Sánchez
477326b9c3
[CloudMigrations] Fetch cloud migration status asynchronously ( #96084 )
...
* Single go-routine without touching too many lines.
* Fix unit tests
* Use require for Eventually
* Use a 10 second internal to poll for new results.
2024-11-11 19:26:30 +01:00
Ieva
c8f3173f2c
GAS: Set group attribute sync to private preview ( #96146 )
...
set GAS to private preview
2024-11-11 16:25:17 +00:00
Alexander Zobnin
b1fb581ab1
Zanzana: Evaluate access with Check request (server-side) ( #96213 )
...
* Zanzana: Evaluate access with Check request (server-side)
* Pass parent folder for checking access
* Review suggestions
* remove fixme comment
2024-11-11 16:39:21 +01:00
Will Browne
6bd1865749
Plugins: Fix flaky reverse proxy response tests ( #96051 )
...
tidy
2024-11-11 14:35:42 +00:00
Karl Persson
9f66843915
Zanzana: use namespace when performing reconciliation ( #96205 )
...
* Special handling for zanzana reconciliation if stack id is configured
* remove sync call
2024-11-11 13:48:49 +01:00
Ivana Huckova
e5519161f2
Zipkin: Run resource calls through backend with feature toggle enabled ( #96139 )
...
* Zipkin: Run resource calls througgh backend with feature toggle enabled
* Update
* Don't return early in createZipkinURL and add tests
* Update pkg/tsdb/zipkin/client.go
Co-authored-by: Sriram <153843+yesoreyeram@users.noreply.github.com>
* Update pkg/tsdb/zipkin/client.go
Co-authored-by: Sriram <153843+yesoreyeram@users.noreply.github.com>
* Update pkg/tsdb/zipkin/client.go
Co-authored-by: Sriram <153843+yesoreyeram@users.noreply.github.com>
* Update pkg/tsdb/zipkin/client_test.go
Co-authored-by: Sriram <153843+yesoreyeram@users.noreply.github.com>
* Update pkg/tsdb/zipkin/client_test.go
Co-authored-by: Sriram <153843+yesoreyeram@users.noreply.github.com>
* Update pkg/tsdb/zipkin/client_test.go
Co-authored-by: Sriram <153843+yesoreyeram@users.noreply.github.com>
* Update pkg/tsdb/zipkin/client_test.go
Co-authored-by: Sriram <153843+yesoreyeram@users.noreply.github.com>
* Fix lint
* Fix tests
---------
Co-authored-by: Sriram <153843+yesoreyeram@users.noreply.github.com>
2024-11-11 13:04:22 +01:00
Carl Bergquist
c7b6822a5e
Loki: Apply scopes to expression if feature toggle is enabled. ( #95917 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com>
Co-authored-by: Kyle Brandt <kyle@grafana.com>
2024-11-11 12:53:24 +01:00
Leonor Oliveira
a1de4cc5fc
Allow downgrade from any mode to mode 1 or 2. Allow setting all dual writer combinations ( #95968 )
...
* Allow downgrade from any mode to mode 1 or 2
* Allow for all combinations of dual writer setting
* Add all cases
* Include mode3
2024-11-11 10:52:36 +01:00
Ryan McKinley
c0de407fee
K8s/Dashboards: Delegate large objects to blob store ( #94943 )
2024-11-09 08:09:46 +03:00
Scott Lepper
f93fd77c9c
search: list and filter tags ( #96130 )
...
search: list and filter tags on the dashboard list
2024-11-08 16:39:08 -05:00
Brendan O'Handley
3f81f0d145
Prometheus: Check both error and http status for source of error ( #96060 )
...
* check error for source and check http status for source
* refactor
* add source to health check status code as well
* remove error where it will be nil
2024-11-08 23:19:14 +02:00
Fayzal Ghantiwala
5a143be653
Alerting: Add pagination to /api/prometheus/grafana/api/v1/rules ( #95959 )
...
* Intermediate step before refactoring
* Sort groups to paginate on them
* Formatting and improved test
* Address comments
* Update tests
2024-11-08 16:58:14 +00:00
Karl Persson
acf119a12c
Zanzana: resource sets on folder grants read on all children ( #96127 )
...
* resource sets on folder grants read on all children
* remove comment
* Add type for consistency
2024-11-08 16:53:51 +01:00
maicon
b5e636b126
UniStore: Legacy List Folders must return all folders ( #96062 )
...
* UniStore: Legacy List Folders must return all folders
Signed-off-by: Maicon Costa <maiconscosta@gmail.com>
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com>
2024-11-08 12:38:34 -03:00
Marc M.
9525891455
Pyroscope: Add limit number of series returned by the data source ( #95780 )
2024-11-08 17:22:29 +02:00
Gabriel MABILLE
bd53fa9580
LocalSigner: Remove unused dependency ( #96118 )
...
ID Token Signer: Remove unecessary deps
2024-11-08 15:46:16 +01:00
Alexander Zobnin
910ec7e7dc
Zanzana: Use separate store for each org ( #96015 )
...
* Move server init into server package
* map store name to id
* refactor model loading
* pass namespace into reconcilers and collectors
* refactor
* Extend authz server with Read and Write methods
* use new read/write in reconciler
* implement server side read and write
* Sync permissions for every org
* handle namespace in check and list
* split read and write
* provide conditions
* Fix client implementation
* fix nil conditions
* remove unused client code
* use lock for store access
* move type translators to common package
* fix folder collector
* fix store creation
* remove unused AuthorizationModelId
* fix server tests
* fix linter
2024-11-08 14:54:36 +01:00
Karl Persson
f0a5b444e3
Zanzana: generic resource only ( #96019 )
...
* Remove collectors
* Remove zanzana search check, we need to rewrite that part to the new schema
* Only use generic resource schema and cleanup code we don't want to keep / need to re-write
2024-11-08 09:30:41 +01:00
Adam Simpson
9b0644e5c8
chore: move DatasourceUid parsing to ruler instead ( #95972 )
...
Reverts #95629
This reverts commit 3adc7c8771
.
2024-11-07 21:48:29 -05:00
Stephanie Hingtgen
4e318e6285
Revert "Chore: Enable cache on golangci linter" ( #96069 )
...
Revert "Chore: Enable cache on golangci linter (#95471 )"
This reverts commit d5cde0b60a
.
2024-11-08 01:05:14 +02:00
Eric Leijonmarck
00c3c17035
Flaky tests alerting ( #96055 )
2024-11-07 21:08:51 +00:00
owensmallwood
d023cb5931
Unified Storage: Adds metric to count indexed docs by kind ( #96056 )
...
Adds metric to count indexed docs by kind
2024-11-07 16:12:13 -03:00