Will Assis and Georges Chaudy
ea7c370edd
unified-storage: add ListSinceModified to kv store ( #110250 )
...
* implement ListKeysSince in event store
implement data store version
---------
Co-authored-by: Georges Chaudy <chaudyg@gmail.com >
2025-09-04 12:26:40 -04:00
mohammad-hamid and Gabriel Mabille
abcdf20105
grafana-iam: Implement resourcepermission get (#110256 )
...
* resource permissions get
* address review feedback
* address comments
- read using rp name
- narrow by scope and actionsets
- update sql tests
* align with verb simplification
* keep original format to avoid conflicts
* add sqltests
* cleanup
* Remove unecessary errors
* Move query template to queries
* Use splitN to make sure we have three parts
* Revert user permission management for now. We don't need it
* Revert error change
* group permissions by resource
* extract parse scope
* Move sql_test
* Move & test parseScope
* Add tests to getResourcePermission
* Linting
* Use namespace
* Add test to the backend
* Ongoing tests
* Remove pagination, fix query boolean, insert basic role binding
* Linting
* Straightened the created and updated times
* error handling and uniformization with other backend
* Restore comments to avoid later conflicts
* Integration testing
* switch to function, no need to make it a method
* isServiceAccount should default to FALSE instead of TRUE :surprised:
* PR feedback
* Sort spec permissions
* Shouldn't happen but double proofing
---------
Co-authored-by: Gabriel Mabille <gabriel.mabille@grafana.com >
2025-09-04 17:14:15 +02:00
Ezequiel Victorero
76c8fcf99d
Saved Queries: Promote to public preview ( #110551 )
2025-09-04 11:52:00 -03:00
Mihai Turdean
f1dffca140
IAM Folder Reconciler: Make operator available as a target when running the grafana binary. ( #110567 )
2025-09-04 08:22:17 -06:00
Roberto Jiménez Sánchez
57ea65dc42
Provisioning: Decrypt using Secrets Service in Operators ( #110589 )
...
* Use real secrets servicer decrypter
* Add also server name just in case
2025-09-04 16:18:14 +02:00
Bruno
6b5cacfade
use standard sql in secure_value_lease_inactive.sql ( #110532 )
...
* use standard sql in secure_value_lease_inactive.sql
* ci
2025-09-04 10:01:05 -03:00
Alexander Akhmetov
100528e274
Alerting: Support retry with backoff in alert rule evaluation ( #99710 )
2025-09-04 13:56:03 +02:00
Ryan McKinley
8052ecb3ba
Dashboards: Remove panel plugin provider from migrations ( #110477 )
2025-09-04 14:17:22 +03:00
Roberto Jiménez Sánchez
3d009ff7ed
Provisioning: Build and use repository factory in repository controller ( #110585 )
...
Build and use repository factory
2025-09-04 13:12:56 +02:00
Ryan McKinley
145a50be4d
Folders: Improve folder parent testing ( #110439 )
2025-09-04 10:50:31 +00:00
Roberto Jiménez Sánchez
7d630ec3b1
Provisioning: Refactor tweaks to support MT controllers ( #110581 )
...
* Refactor common code to support MT controllers
* Delete original status files
2025-09-04 10:06:50 +00:00
Matias Chomicki
df685757ff
New Logs Panel: remove sibling visualization ( #110444 )
...
* New Logs Panel: remove sibling visualization
* More removals
* Update provisioned dashboard
* Update translations
2025-09-04 11:27:50 +02:00
Alexander Akhmetov
c9707a7463
Alerting: Bump alertenrichment API version to v1beta1 ( #110466 )
2025-09-04 09:32:29 +02:00
Adela Almasan
4f70b93ca6
Actions: Infinity authentication ( #109493 )
2025-09-03 20:56:30 -05:00
Stephanie Hingtgen
4527530cd2
Provisioning: update readme to skip migrations ( #110561 )
2025-09-03 21:09:44 +00:00
Costa Alexoglou
3d2cef5f07
feat: provides MT Dashboard service ( #110447 )
2025-09-03 20:41:37 +00:00
Yuri Tseretyan
7d32640179
Alerting: Fix ticker tests to not fail if channel is empty ( #110538 )
2025-09-03 16:21:47 -04:00
Stephanie Hingtgen
84ae9ea71b
Provisioning: Add scaffolding for repo controller ( #110543 )
2025-09-03 17:30:41 +00:00
Kyle Brandt
00ab80a2f6
SQL Expressions: Add Exemplars to instrumentation ( #110481 )
...
follow up to #109633
2025-09-03 17:25:44 +00:00
Stephanie Hingtgen
8e41d5929a
Operators: Cleanup registration process ( #110539 )
2025-09-03 16:36:42 +00:00
Yuri Tseretyan
1e0aaa29af
Alerting: Comprehensive payload for Alertmanager convert API tests ( #110485 )
...
* do not remove global config
* create more comprehensive payload for mimir alertmanager testing
2025-09-03 12:11:55 -04:00
Alexander Akhmetov
8a7c1f595a
Alerting: Backend state filtering for history UI ( #109647 )
2025-09-03 17:47:03 +02:00
Peter Štibraný
642d43ff49
search-after-write: Reuse index even if docs count doesn't match ( #110527 )
...
* search-after-write: Reuse index even if docs count doesn't match
* Revert unrelated change.
2025-09-03 15:35:46 +00:00
Kyle Brandt
ea7fa58ba8
SQL Expressions: Switch feature toggle to public preview ( #110473 )
2025-09-03 17:11:00 +02:00
maicon
fa20755d4b
fix: Synchronously notify subscribers when writing Create events to CDK backend ( #110476 )
...
* Remove goroutine when writing events on CDK backend
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-09-03 11:49:04 -03:00
Ashley Harrison
9b18987df1
Playwright: Changes needed for enterprise tests ( #110424 )
...
* enterprise scaffolding
* clean up gitignore, add enterprise to playwright config
* add workflows
* setup enterprise in the workflows
* update permissions
* try update license path
* add TODO
* undo workflow changes
* remove commands
* add extensions folder
* update gitignore
* include the whole public folder
* add comment
* review comments
2025-09-03 15:45:54 +01:00
Yuri Tseretyan
0351a37e99
Alerting: Remote Alertmanager to calculate hash of the request payload instead of just the configuration v2 ( #109139 )
...
* Revert "Revert "Alerting: Remote Alertmanager to calculate hash of the reques…"
This reverts commit cbf256120e .
* log the decision
Signed-off-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
---------
Signed-off-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2025-09-03 14:01:25 +00:00
Josh Hunt
bda895ec03
Metrics: Add http_response_size_bytes metric ( #110428 )
...
* Metrics: Add http_response_size_bytes metric
* add better handler names for public asset paths
* fix tests
* comment
* remove debug log
* exemplar
2025-09-03 14:47:38 +01:00
Ihor Yeromin
dc16562050
AdHoc Filter: Enable to GA ( #110445 )
...
* chore(adhoc-filter): enable to GA
2025-09-03 13:21:33 +00:00
Igor Suleymanov
a07a8d0ba2
Fix listing and getting dashboard versions across different API versions ( #109860 )
...
* Fix listing and getting dashboard versions across different API versions
What
This commit updates dashboard version service to use API version aware
API client. The service now also supports parsing different API version
representation of dashboards.
The API version aware client is also updated to support listing across
versions.
Why
Currently listing or getting specific versions is broken for all v2
versions of the dashboard API, especially if the dashboard being checked
is still saved using v1 APIs.
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
* Remove superfluous tracing spans
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
---------
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
2025-09-03 13:51:11 +03:00
Dominik Prokop and Igor Suleymanov
6c517f82ed
Dashboards: Enable kubernetesDashboards by default ( #107618 )
...
* Dashboards: Enable kubernetesDashboards by default
* Update integration test to account for the FT being enabled by default
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
---------
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
Co-authored-by: Igor Suleymanov <igor.suleymanov@grafana.com >
2025-09-03 12:01:55 +02:00
Georges Chaudy
1758fa8fbb
unistore: use scorch indexing instead of upside_down ( #110463 )
...
* use scorchwith in memory
* comments
* refactor
2025-09-03 11:06:08 +02:00
Gábor Farkas
0bfec936b3
datasources: querier: add user to query ( #109917 )
2025-09-03 09:29:26 +02:00
Marc Sanmiquel
cb77e97996
Pyroscope: Fix incorrect rate calculation from flamegraph totals ( #110470 )
...
* fix(pyroscope): remove incorrect rate calculation from flamegraph totals
* update CHANGELOG.md
2025-09-03 08:15:06 +01:00
Daniele Stefano Ferru
451d6abe15
Provisioning: Fix patching released resources when Repository is deleted ( #110295 )
...
* Provisioning: Use merge patch instead of json path to release orphan resources
* rolling back to json Patch
* adding TODO for testing
* adding integration test
* using struct
* addressing comments on tests
2025-09-02 21:13:43 +02:00
Kyle Brandt
d97836f407
SQL Expressions: Return error on malformed input ( #110479 )
...
Fixup on a misleading error being returned due to a missing return statement in the code. Was returning the error "conversion succeeded but no frames" even though there was an error.
2025-09-02 14:49:04 -04:00
Ihor Yeromin and Kyle Brandt
bdf9583ada
SSE: Return error messages instead of 500 on SSE command parse errors ( #109480 )
...
fixes #108897
---------
Co-authored-by: Kyle Brandt <kyle@grafana.com >
2025-09-02 18:00:14 +00:00
Ryan McKinley
fdac98cdda
ShortURL: Avoid teris-io/shortid ( #110456 )
2025-09-02 17:01:20 +00:00
Will Browne
81fa79cdf6
Plugins: Add metric for connection request unavailable errors ( #110454 )
...
add metric for connection request unavailable errors
2025-09-02 17:23:07 +01:00
Serge Zaitsev
cdd7a2cfd2
Chore: Disable CGo in tests ( #108764 )
...
* make cgo optional for sqlite
* update go.mod; check error code differently
* reduce api surface even more
* move test errors into sqlite package
* CGO_ENABLED=0 in unit tests
* disable for enterprise, too
* add driver name constant
* remove unused constants
* make test an integration one
* try integration tests without cgo
* implement error codes for modernc sqlite driver
* typo fix
* missing return
* use error pointer as an interface
* alias the driver
* update workspace, check for test errors too
* check error properly
* add missing driver after rebase
* fix missing import after rebase
* debugging, lets try again
* properly parse options, revert many previous changes
* remove another log
* better url parsing
* revert test rename, leave it for later
* revert reusedSession in unistore
* revert more code
* remove driver name
* revert formatting
* add integration test without cgo for sqlite
* remove tracing and logging
* bring driver alias back
* fix type
* wrong package
2025-09-02 17:24:30 +02:00
Ryan McKinley
146caddf1f
Chore: update feature toggle stats from git ( #110457 )
2025-09-02 17:15:08 +03:00
xavi
16b7535dd4
Forbid more redirect patterns ( #110337 )
2025-09-02 16:12:39 +02:00
f8cd7049e8
Secrets: garbage collection ( #110247 )
...
* clean up older secret versions
* start gargbage collection worker as background service
* make gen-go
* fix typo
* make update-workspace
* undo go mod changes
* undo go work sum changes
* Update pkg/registry/apis/secret/garbagecollectionworker/worker.go
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
* Update pkg/registry/apis/secret/garbagecollectionworker/worker.go
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
* default gc_worker_batch_size to 1 minute
* fix typo
* fix typo
* add test to ensure cleaning up secure values is idempotent
* make gen-go
* make update-workspace
* undo go.mod and .sum changes
* undo enterprise imports
---------
Co-authored-by: Matheus Macabu <macabu.matheus@gmail.com >
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
2025-09-02 11:11:01 -03:00
Jean-Philippe Quéméner
6d5fe47790
fix(unified-storage): use contextual logger for permissions ( #110455 )
2025-09-02 15:53:37 +02:00
Jean-Philippe Quéméner
5fb72d1b04
fix(unified-strorage): optimize allocations ( #110448 )
2025-09-02 15:43:48 +02:00
Tom Ratcliffe
2a5ba2e74a
Folders: Fix folder parents error handling ( #109605 )
2025-09-02 14:25:28 +01:00
Matheus Macabu
9816c48ab2
Secrets: Add UI feature toggle ( #110451 )
2025-09-02 15:25:22 +02:00
Alexander Akhmetov
9d9f464679
Alerting: Add alertenrichment API types ( #110396 )
2025-09-02 13:33:54 +02:00
Andreas Christou
1a8d25375a
Azure: Resource picker improvements ( #109458 ) ( #109520 )
...
* Azure: Create feature toggle for resource picker improvements (#109458 )
Create feature toggle
* Azure: Resource picker subscriptions filter (#109527 )
* Create feature toggle
* Fix namespace typo
* Retrieving default subscription ID
* Style updates
- Filter input styling
- Improved modal styling
* Pass data source to resource field
* Search style updates
* Function to support fetching filtered rows
* Filtering nested rows
* Filtering search
* Support subscriptions filtering
- Support filtering in resource graph functions
- Subscriptions filter component
* getSubscriptions tests
* Fix logs query editor test
* Update data source mock
* Update resourcePickerData tests
* Update tests, lint, and i18n
* Lint and test
* Simplify type
* Azure: Resource picker types filter (#109528 )
* Create feature toggle
* Fix namespace typo
* Retrieving default subscription ID
* Style updates
- Filter input styling
- Improved modal styling
* Pass data source to resource field
* Search style updates
* Function to support fetching filtered rows
* Filtering nested rows
* Filtering search
* Support subscriptions filtering
- Support filtering in resource graph functions
- Subscriptions filter component
* getSubscriptions tests
* Fix logs query editor test
* Update data source mock
* Update resourcePickerData tests
* Add types filter
* Update tests, lint, and i18n
* Lint and test
* Simplify type
* Rename variable for clarity
* Azure: Resource picker locations filter (#109530 )
* Create feature toggle
* Fix namespace typo
* Retrieving default subscription ID
* Style updates
- Filter input styling
- Improved modal styling
* Pass data source to resource field
* Search style updates
* Function to support fetching filtered rows
* Filtering nested rows
* Filtering search
* Support subscriptions filtering
- Support filtering in resource graph functions
- Subscriptions filter component
* getSubscriptions tests
* Fix logs query editor test
* Update data source mock
* Update resourcePickerData tests
* Add types filter
* Locations filter
* Update tests, lint, and i18n
* Minor test updates
* Imports
* Lint and test
* Simplify type
* Rename variable for clarity
* Rename var
* Azure: Resource picker filters tests (#109590 )
* Create feature toggle
* Fix namespace typo
* Retrieving default subscription ID
* Style updates
- Filter input styling
- Improved modal styling
* Pass data source to resource field
* Search style updates
* Function to support fetching filtered rows
* Filtering nested rows
* Filtering search
* Support subscriptions filtering
- Support filtering in resource graph functions
- Subscriptions filter component
* getSubscriptions tests
* Fix logs query editor test
* Update data source mock
* Update resourcePickerData tests
* Add types filter
* Locations filter
* Update tests, lint, and i18n
* Minor test updates
* Imports
* Lint and test
* Resource picker filter tests
* Update tests
* Simplify type
* Rename variable for clarity
* Rename var
* Azure: Resource picker - recent resources (#109596 )
* Create feature toggle
* Fix namespace typo
* Retrieving default subscription ID
* Style updates
- Filter input styling
- Improved modal styling
* Pass data source to resource field
* Search style updates
* Function to support fetching filtered rows
* Filtering nested rows
* Filtering search
* Support subscriptions filtering
- Support filtering in resource graph functions
- Subscriptions filter component
* getSubscriptions tests
* Fix logs query editor test
* Update data source mock
* Update resourcePickerData tests
* Add types filter
* Locations filter
* Update tests, lint, and i18n
* Minor test updates
* Imports
* Lint and test
* Resource picker filter tests
* Update tests
* Event for filter usage
* Function to support local storage
* Recent resources view
- Add LocalStorageValueProvider to store recent resources
- Add tabbed view to support switching between recent resources and resource picker
- Extract the base resource picker out to a functional component for reusability
- Extract the base resource table out to a functional component for reusability
* Update i18n keys
* Export resource key
* Add no recent resources text
* Run legacy tests with feature toggle off
* Add filters test without feature toggle
* Don't use as type assertions
* Add tests for recent resources
* Store resources for each query type
* i18n-extract
* Simplify type
* Minor performance improvement
* Rename variable for clarity
* Rename var
* Add placeholders
* Azure: Resource picker tests (#110175 )
* Minor simplifying refactor
* Add more tests
* Update E2E
2025-09-02 11:02:01 +01:00
Matheus Macabu
1e926a29c0
Secrets: Extract external facing decrypt types to apps ( #110432 )
2025-09-02 10:30:29 +02:00