Gareth
20a11e0bc0
Tempo error source fix ( #112916 )
...
fix tempo error source
2025-10-24 16:58:58 +09:00
Gilles De Mey
62c5df36d6
Alerting: Always initialize an empty slice of routes for the routingtree ( #112880 )
2025-10-23 17:21:13 +02:00
Gábor Farkas
87f40c65e4
datasources: forward the x-forwarded-for header ( #112863 )
2025-10-23 17:14:50 +02:00
Yuri Tseretyan
8b7f119cad
Alerting: Provisioning to fix contact point type on save ( #112246 )
...
fix contact point type on create\update
2025-10-23 11:11:36 -04:00
Costa Alexoglou
2b9c138d7e
feat: allow service_name override ( #112875 )
2025-10-23 14:36:23 +00:00
Kevin Minehart
6b2b9bd7c2
CI: release windows no cgo ( #112870 )
...
* fix nocgo option
* set nocgo for windows and darwin
2025-10-23 16:12:07 +02:00
Misi
9c676b3ae7
IAM: Rename Name to Title in UserSpec ( #112862 )
...
* Use Title as the name of the display name for User
* Align tests
2025-10-23 16:03:28 +02:00
Selene
0ba040e866
Return the correct model ( #112858 )
2025-10-23 13:38:22 +00:00
Rafael Bortolon Paulovic
4e296fa9ec
fix: sqlite nocgo with ionice and parallel flag ( #112849 )
...
* chore: log test DB path
* fix: run sqlite_nocgo with parallel 4 and ionice to reduce IO operations
2025-10-23 14:08:39 +02:00
Kevin Minehart
2a0f149a63
pkg/build: Add nocgo option ( #112834 )
...
Add nocgo option
2025-10-23 12:01:18 +00:00
Peter Štibraný
a4aa3529c8
Cleanup old entries from resource_last_import_time table. ( #112438 )
...
* Cleanup old entries from resource_last_import_time table.
* Add index for last_import_time column.
* Address review feedback.
2025-10-23 11:17:08 +00:00
Tania
82e5b81a30
OpenFeature: Fix instrumentation in OFREP API ( #112845 )
...
OpenFeature: Fix instrumentation in ofrep api
2025-10-23 10:09:41 +00:00
ad9d8098ef
IAM: Add email, login field validation to User create/update API ( #112391 )
...
* wip
* wip
* wip
(cherry picked from commit 8cedf25892 )
* Search seems to be working, the validation is still wip
* Use keyword.Name analyzer for Filterable fields
* Only string fields should be indexed with keyword analyzer
* Change search query for email and login fields to use term query
* Remove unnecessary Exact from the resource protobuf definitions
Co-Authored-By: Ryan McKinley <ryantxu@gmail.com >
* Add legacy search support to the API
* Tests for legacy search, validate and integration tests for user
* Lint
* Add snapshot tests to userDocumentBuilder
* Address CodeQL issues
* Improvements, handle Mode2, tests should pass
* Change default limit from 0 to 1 for requests
* Cleanup
* Add fixme
* Update pkg/registry/apis/iam/register.go
Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com >
* Update pkg/registry/apis/iam/user/legacy_search.go
Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com >
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com >
2025-10-23 11:29:02 +02:00
Gábor Farkas
a53ce56bca
datasources: querier: handle the X-Real-IP header ( #112838 )
2025-10-23 10:47:48 +02:00
Mihai Doarna
3076f7a9b9
IAM: Implement the update method for team bindings ( #112788 )
...
* implement the update method for team bindings
* fix lint error
* add integration tests
* add integration test for non existing team binding
* try to fix lint error
2025-10-23 11:39:38 +03:00
xavi
043451685b
chore(iam): Remove skipTokenRotationIfRecent feature flag ( #112799 )
2025-10-23 10:02:41 +02:00
Serge Zaitsev
f3eabbf588
Chore: Add more metrics to annotation service to see its usage ( #112651 )
2025-10-23 09:48:07 +02:00
Jo
2e1704b56f
Access: Add AfterCreate hooks for Roles/Core Roles ( #112666 )
...
As part of migrating Grafana's authorization system to Zanzana (OpenFGA), we need to ensure that role permissions defined in the IAM API are automatically synced to the authorization backend. Without this sync, roles created through the API would not be enforced by Zanzana, creating an inconsistency between defined permissions and actual authorization decisions.
This is a critical piece of the dual-write pattern during the migration to Zanzana, ensuring that:
Role permissions are immediately available for authorization checks
The legacy RBAC system and new Zanzana system remain in sync
Users experience consistent permission enforcement regardless of which backend is queried
safe to revert
2025-10-23 09:47:39 +02:00
Andres Martinez Gotor
eb0824a881
Advisor: Add support for multiple orgs ( #112577 )
2025-10-23 09:22:31 +02:00
Hugo Häggmark
c0391ad2ea
Chore: Enable new pluginImporter ( #112625 )
...
* Chore: Enable new pluginImporter
* chore: remove pluginLoader
2025-10-23 06:18:23 +02:00
Roberto Jiménez Sánchez and Charandas Batra
c9daec7b6d
Provisioning: discontinue use of service identity based background tasks when onlyApiServer is true ( #112634 )
...
* Skip informers if Provisioning disable controllers is enabled
* Hydrate requester correctly for Grafana Live
* revert to old code because eventualRestConfig provider issues
---------
Co-authored-by: Charandas Batra <charandas.batra@grafana.com >
2025-10-23 00:35:46 +00:00
Dave Henderson
fbc81d2fd0
fix(accesscontrol): Reduce memory usage in GroupScopesByActionContext ( #112295 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2025-10-22 18:25:10 -04:00
Costa Alexoglou
b1ddba9767
docs: remove ai generated file ( #112821 )
2025-10-22 22:20:41 +02:00
Rafael Bortolon Paulovic
4ae5c2ea84
fix: retry with backoff busy/locked errors on SQLite TruncateDBTables ( #112667 )
...
* fix: SQLite truncate with retry/backoff on busy/locked errors
* fix: use retryer package for retrying SQLite TruncateDBTables
* fix: use dskit/backoff package to return last error
* fix: do not log number of attempts
2025-10-22 18:54:44 +02:00
Todd Treece
638a1808f8
Access Control: Add fixed role loader service ( #112747 )
2025-10-22 12:04:42 -04:00
Will Assis
13f44336f2
unified-storage: remove full ngram feature toggle ( #111994 )
...
* unified-storage: remove full ngram feature toggle
2025-10-22 10:11:40 -04:00
Todd Treece
815e782ad0
Server Lock: Handle context cancellation ( #112535 )
2025-10-22 08:27:51 -04:00
Peter Štibraný
3391163f9c
Check that we see less calls than allowed maximum. ( #112785 )
...
Check that we see less calls than allowed maximum.
2025-10-22 08:39:19 +00:00
Jack Baldry
1abb5aa0f9
Rename behavior related to the interactive learning plugin ( #112752 )
2025-10-22 09:06:21 +01:00
Gábor Farkas
8ab7a20265
update dependency grafana/grafana-plugin-sdk-go to v0.281.0 ( #112726 )
...
* go get github.com/grafana/grafana-plugin-sdk-go@v0.281 .0
* make update-workspace
* updated failing unit test
* disable deprecation warnings
* datasources: allow underscore-prefixed local time range
* updated go.work.sum
2025-10-22 09:02:11 +02:00
Todd Treece
069cc909ea
Revert "chore(tracing): Initialize tracing early, before wire" ( #112758 )
...
Revert "chore(tracing): Initialize tracing early, before wire (#112007 )"
This reverts commit 8ec162afec .
2025-10-21 21:23:09 +00:00
Georges Chaudy
9a154ac15f
kvstore: add batch delete ( #112723 )
...
-add batch delete to the grpc
2025-10-21 21:32:03 +02:00
Austin Pond
56b088aa2e
APIServer: Add Method for Installer-Based Apps to Self-Register with the APIRegistrar ( #112479 )
...
* [APIServer] Add the method RegisterAPIInstaller to the APIRegistrar interface, and implement it in the builder. This allows new installer-based apps to register themselves in enterprise.
* Rename RegisterAPIInstaller to RegisterAppInstaller
2025-10-21 14:25:16 -04:00
owensmallwood
c8664d303e
Unified Storage: Match all included tags ( #112748 )
...
* if you include multiple tags in the search query, search for them using AND logic
* go-fmt
2025-10-21 11:54:14 -06:00
dependabot[bot] and Dave Henderson
590230f107
deps(actions): bump actions/setup-go from 5.5.0 to 6.0.0 ( #112621 )
...
* deps(actions): bump actions/setup-go from 5.5.0 to 6.0.0
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 5.5.0 to 6.0.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v5.5.0...v6 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-version: 6.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* update enterprise imports
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
---------
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Henderson <dave.henderson@grafana.com >
2025-10-21 17:53:02 +00:00
Will Assis
545b7bf8ff
fix: file and file_meta migrations ( #112611 )
...
* fix file and file_meta migrations to check the database state to decide which migration to run
2025-10-21 12:46:32 -04:00
Stephanie Hingtgen
5d82502535
Dashboards: Set limit to default if negative; document functionality ( #112659 )
2025-10-21 11:06:02 -05:00
Matheus Macabu
5a798afb3f
AccessControl: Fix flaky set resource permission integration test ( #112738 )
...
* AccessControl: Fix flaky set resource permission integration test
* Also remove println
2025-10-21 15:45:35 +00:00
Georges Chaudy
eca379e98e
kvstore: update storage backend to use batch get ( #112704 )
...
* consume batchget
* remove rv
* remove un-necessary limit
* do not pass stop to the iterators
* ensure we return the error
2025-10-21 15:42:07 +00:00
Tania
451004d152
OpenFeature: Add debug logs ( #112724 )
2025-10-21 17:03:19 +02:00
Kyle Brandt
e930b3e6c4
SQL Expressions: Replace NaN/Inf values with Null ( #112641 )
...
This is because MySQL doesn't support storing of NaN valuels, and therefore go-mysql-server isn't going to either.
Float fields/columns are always mapped to be nullable now, otherwise we would have to replace NaN/Inf with 0.
2025-10-21 10:43:04 -04:00
Alexander Zobnin and Ieva
adf1224e82
AuthZ: Zanzana only evaluation toggle ( #112715 )
...
* Zanzana: Feature toggle to enable zanzana only evaluation
* refactor
* Update pkg/services/featuremgmt/toggles_gen.json
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
---------
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
2025-10-21 16:03:17 +02:00
Yuri Tseretyan
5f9a51418c
Alerting: Fix unmarshalling of GettableStatus to include time intervals ( #112602 )
...
* move test files into test-data
* add test for the bug
* populate time-intervals of gettableStatus config
2025-10-21 09:28:04 -04:00
Mihai Doarna
7d88b0130c
IAM: Generate a unique name for a new TeamBinding object ( #112525 )
...
* generate a unique name for TeamBinding and store it in the uid column
* generate testdata
* fix team binding name
2025-10-21 15:01:49 +03:00
Matheus Macabu
6158167163
CloudMigrations: Increase timeout of eventual checks and add debug message ( #112714 )
2025-10-21 12:58:29 +02:00
Georges Chaudy
7be30abab0
fix folder missing in the event key ( #112698 )
2025-10-21 10:40:56 +00:00
ismail simsek
5e8294c9d3
Chore: Mark prometheus query json unmarshaling errors as downstream error ( #112314 )
...
* mark json unmarshaling errors as downstream
* shortcut
2025-10-21 09:58:30 +00:00
Costa Alexoglou
4959197e37
fix: speedup client ( #112640 )
2025-10-21 10:48:43 +02:00
ismail simsek and Gareth
7c7c9490fb
Pyroscope: Add error source ( #112645 )
...
* set downstream errors in pyroscope
* Update pkg/tsdb/grafana-pyroscope-datasource/instance.go
Co-authored-by: Gareth <email@garethdawson.xyz >
* Update pkg/tsdb/grafana-pyroscope-datasource/instance.go
Co-authored-by: Gareth <email@garethdawson.xyz >
* more error source
---------
Co-authored-by: Gareth <email@garethdawson.xyz >
2025-10-21 10:00:59 +02:00
dependabot[bot] and Dave Henderson
05dff2f7cb
deps(go): bump github.com/open-feature/go-sdk from 1.14.1 to 1.16.0 ( #112489 )
...
* deps(go): bump github.com/open-feature/go-sdk from 1.14.1 to 1.16.0
Bumps [github.com/open-feature/go-sdk](https://github.com/open-feature/go-sdk ) from 1.14.1 to 1.16.0.
- [Release notes](https://github.com/open-feature/go-sdk/releases )
- [Changelog](https://github.com/open-feature/go-sdk/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-feature/go-sdk/compare/v1.14.1...v1.16.0 )
---
updated-dependencies:
- dependency-name: github.com/open-feature/go-sdk
dependency-version: 1.16.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* make update-workspace
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
* fix(lint): SA1019: openfeature.GetApiInstance is deprecated, using NewDefaultClient
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
---------
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Henderson <dave.henderson@grafana.com >
2025-10-20 19:56:00 +00:00