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
Roberto Jiménez Sánchez
4eadc823a9
Provisioning: Move repository package to provisioning app ( #110228 )
...
* Move repository package to apps
* Move operators to grafana/grafana
* Go mod tidy
* Own package by git sync team for now
* Merged
* Do not use settings in local extra
* Remove dependency on webhook extra
* Hack to work around issue with secure contracts
* Sync Go modules
* Revert "Move operators to grafana/grafana"
This reverts commit 9f19b30a2e .
2025-09-02 09:45:44 +02:00
maicon
fccf58add7
Unistore: Only Shadow Search Traffic when running on modes > 0 ( #110302 )
...
* Unistore: Only Shadow Search Traffic when running on modes > 0
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-09-01 16:14:53 -03:00
Andreas Christou
0dc283b303
Graphite: Add backend feature toggle ( #110043 )
...
Add feature toggle
2025-09-01 15:13:47 +00:00
Roberto Jiménez Sánchez
4de9ec7310
Provisioning: Fix import cycle between grafana and provisioning app ( #110406 )
...
* Move operators to grafana/grafana
* Go mod tidy
2025-09-01 13:29:34 +00:00
Peter Štibraný
4475e2ad19
getClientToDistributeRequest: remove logging of selected client, fix logging of error ( #110403 )
2025-09-01 10:57:25 +00:00
Sven Grossmann
b6d7374b25
ExtensionSidebar: Remove feature flag and enable by default ( #109906 )
...
* ExtensionSidebar: Remove feature flag and enable by default
* ExtensionSidebar: Remove `isEnabled`
* ExtensionSidebar: Lint
* ExtensionSidebar: Lint
* ExtensionSidebar: Remove more FF
* i dont know why, but okay
2025-09-01 12:14:17 +02:00
Levente Balogh
d31e682345
Plugins: Expose core APIs only for certain plugins ( #107967 )
...
* feat(plugins): add a way to expose core apis only to certain plugins
* review: update naming
* review: update the owners of the feature toggle
* feat: share the restricted apis with extensions
* fix: linters
* feat: remove the `addPanel` api
* chore: fix linting and betterer issue
* tests: use `@ts-expect-error` for more clarity
2025-09-01 11:57:00 +02:00
Peter Štibraný
da43e2ae07
Don't use transaction in ListModifiedSince. ( #110392 )
...
* Don't use transaction in ListModifiedSince.
To guarantee that we don't include events with RV > LatestRV, we include the check in SQL query instead.
* Fix integration test by converting SQL comments into template comments.
2025-09-01 11:39:02 +02:00
Konrad Lalik
31114fb47c
Alerting: Add Triage feature toggle ( #110326 )
...
* Add state history config to frontend config object
* Add alertingTriage feature toggle
* Add Triage menu entry
* Add old state history config props for backward compatibility
2025-09-01 11:33:33 +02:00
Gabriel MABILLE
885812f694
AuthZ: Recover from an outdated cached folder tree ( #110293 )
2025-09-01 11:16:01 +02:00
Todd Treece
9416abc146
Storage: Set default list limit to 500 ( #110356 )
2025-09-01 11:09:40 +02:00
Peter Štibraný
238f121e10
LastModifiedSince: return latestRV even when it hasn't changed. ( #110391 )
...
Return latestRV.
2025-09-01 08:45:40 +00:00
Stephanie Hingtgen
232d68fb8c
Controllers: Make available as a target ( #110357 )
...
* Controllers: Add to build process
* Allow setting through env variables
2025-08-30 12:27:50 +02:00
Dominik Prokop
398ed84a60
Dashboard migration: Add missing metrics registration ( #110178 )
2025-08-29 18:37:39 -06:00
Ezequiel Victorero
d63e1ce04d
Cleanup: Restore 10 minute default value for background process ( #110355 )
2025-08-29 17:56:45 +00:00
Will Assis
18bc69f5c6
unified-storage: Bleve test cleanup ( #110240 )
...
* consolidate index build tests
* shut up logging in test
2025-08-29 15:35:31 +00:00
Nathan Vērzemnieks
72eeefabd7
Revert: DataSource: Support config CRUD from apiservers ( #106996 ) ( #110342 )
...
Revert "DataSource: Support config CRUD from apiservers (#106996 )"
This reverts commit eda94a6434 .
2025-08-29 14:49:57 +02:00
Peter Štibraný
3a3ba483b1
unified-storage: Skip query when ListModifiedSince cannot return anything. ( #110338 )
...
* Skip query when ListModifiedSince cannot return anything.
* Only save listRV if it's different than sinceRV. This saves a disk access if not needed.
* Add test for ListModifiedSince with same RV.
2025-08-29 14:49:20 +02:00
Aleksandar Petrov
e3f5a65372
Pyroscope: Process and display sampling annotations ( #109707 )
...
* pyroscope: process sampling annotations
* Enable annotations in classic explore
* Run prettier
* Revert unneeded change to plugin.json
* Tweak wording in sampling annotation
* Fix test
* Disable annotations by default
2025-08-29 13:14:22 +02:00
Roberto Jiménez Sánchez
fd9d41fe4f
Provisining: Fix flake in Github URL tests ( #110333 )
...
Remove unnecessary repository deletion in provisioning integration tests
2025-08-29 09:48:52 +00:00
Matheus Macabu
e5d91fd461
Extensions: Declare tempo as being used by Enterprise ( #110327 )
2025-08-29 11:13:44 +02:00
Zoltán Bedi
9edfe7bc0b
Pyroscope: Add start and end date to profiletypes call ( #110277 )
2025-08-29 10:05:33 +02:00
Ezequiel Victorero
4b43877324
ShortURL: Use the k8s API in the cleanup process ( #109938 )
2025-08-28 17:40:45 -03:00
Ryan McKinley
eda94a6434
DataSource: Support config CRUD from apiservers ( #106996 )
2025-08-28 22:28:26 +03:00
Yuri Tseretyan
15fab1cb99
Alerting: Update integration schema to support versions ( #109969 )
...
* add VersionedNotifierPlugin and method that converts NotifierPlugin to it
* return new schema if query parameter version=2
* add version to k8s model of integration
* fix open api snapshot
* add version to IntegrationConfig
* use current version on conversion
* create versioned integrations for test
2025-08-28 14:46:30 -04:00
Moustafa Baiou
c73b3ccf6e
Alerting: Fix copying of recording rule fields
...
Recording rule fields were not being copied correctly when duplicating an alert rule. This manifests as missing `TargetDataSourceUID` fields from the `Record` part of the rule when rules in a group are re-ordered.
Added some additional tests to ensure we cover the generation of recording rules in tests and fixed the copying logic to ensure all fields are copied correctly.
2025-08-28 14:07:00 -04:00
Ryan McKinley
43648d20c3
Preferences: Add read-only APIServer for preferences and dashboard stars ( #106109 )
2025-08-28 19:51:32 +03:00
Mustafa Sencer Özcan
1c840406b8
fix: improve rest client on integration tests ( #110289 )
2025-08-28 18:04:12 +02:00
Peter Štibraný
ad571b50e9
Create context with deadline inside goroutine. ( #110297 )
2025-08-28 15:33:34 +00:00
Peter Štibraný
7a8010be0c
search-after-write: improve observability ( #110288 )
...
* Improve tracing and observability around updating of index during search.
2025-08-28 16:02:47 +02:00
Nathan Vērzemnieks
bd5459fcf0
Plugins: Record plugin version in request metrics ( #110210 )
...
Plugins: record plugin version in request metrics
2025-08-28 15:05:39 +02:00
Misi
a5c05ba9c1
IAM: Moving code to the /pkg/apps/iam folder ( #109985 )
...
* wip
* Gen GetTeams with app sdk
* Revert some changes, cleanup
* Format iam_manifest.go
* Remove generated file
* Regenerate openapi defs
* Cleanup
* Remove TODO
2025-08-28 12:32:15 +02:00
Gabriel MABILLE
0284c3f1f9
grafana-iam: change resourcepermission to use a single verb (#110263 )
...
* `grafana-iam`: change resource permission to only allow a single action set for now
* api changes
2025-08-28 11:25:38 +02:00
Matheus Macabu
9b24e7eac8
Extensions: Declare tempo as being used by Enterprise ( #110261 )
2025-08-28 11:17:05 +02:00
Sonia Aguilar
98bd10965b
Alerting: Add feature toggle and extension point ( #110141 )
...
* Add feature toggle and extension point
* Update ff name for enrichment per rule
* update translations
* rename to addRuleFormEnrichmentSection
* pr feedback
* prettier
* update translations
* revert wrong change in tsconfig
2025-08-28 10:30:28 +02:00
maicon
12382d7f20
unistore/apistore: improve package docs ( #110242 )
...
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-08-27 19:00:05 -03:00