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
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