Mihai Doarna
9d9dca3208
IAM: Adds the team creation endpoint in app platform ( #111003 )
...
* implement team creation for legacy store
* add generated code
* add basic integration test
* add new fields to get and list teams
* fix sql tests for teams
* register dual writer for team resource
* add generated code
* add more sql tests for team creation
* address feedback
* add integration tests
2025-09-18 14:43:07 +03:00
maicon
975ba0bf8b
Annotations: avoid IN on getAccessControlFilter if dashboardUID is present ( #111213 )
...
Annotations: avoid IN on getAccessControlFilter
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-09-18 07:47:54 -03:00
Ieva
7bd20b98ba
AuthZ: code and error cleanup ( #111037 )
...
* use API errors where possible
* fix test
2025-09-18 11:38:02 +01:00
Andreas Christou
51d3624bf9
Graphite: Migrate query endpoint entirely to backend ( #111138 )
...
* Update query type
* Support metric tank queries
- Update tests
- Appropriately set URL parameter
* Support queries via the backend
- Add the filterQuery and applyTemplateVariables methods
- Separate the frontend query path into its own function
- Ensure format is always json
- Add method for building backend query objects (maintain the existing template replacement logic)
- Fix a bug in metric find queries
* Update tests
* Fix lint
* Update types
2025-09-18 11:14:24 +01:00
Santiago
8f9d8f1154
Remote Alertmanager: Fix log line in the Mimir client ( #111293 )
2025-09-18 10:07:16 +00:00
Dana Axinte
1f071f5bd7
Secrets: Adding developer mode config ( #111008 )
...
adding developer mode and feature flags for e2e tests
2025-09-18 10:10:24 +01:00
Stephanie Hingtgen
90371c16c1
Folders: Add in mode3 tests ( #111276 )
2025-09-17 22:33:52 -03:00
Ryan McKinley
14b6e60f31
Folders: Add better integration tests ( #111241 )
2025-09-17 20:19:50 +03:00
Stephanie Hingtgen
91008cc82e
Provisioning: Fix cleanup ( #111257 )
2025-09-17 10:11:25 -05:00
Stephanie Hingtgen
ef0ed52ba7
Provisioning: Skip test while being looked at ( #111254 )
2025-09-17 14:46:19 +00:00
Stephanie Hingtgen
163b9007a7
Provisioning: Fix flaky tests and race condition in folder existing check ( #111209 )
...
Provisioning: Fix some of the flakiness
2025-09-17 08:37:10 -05:00
Yuri Tseretyan
c36b2ae191
Alerting: v0 schema for integrations (mimir) ( #110908 )
...
* generate schema for mimir integrations from schema on front-end
* review and fix the settings
* Update GetAvailableNotifiersV2 to return mimir as v0
* add version argument to GetSecretKeysForContactPointType
* update TestGetSecretKeysForContactPointType to include v0
* add type alias field to contain alternate types that different from Grafana's
* add support for msteamsv2
* update ConfigForIntegrationType to look for alternate type
* update IntegrationConfigFromType to use new result of ConfigForIntegrationType
* add reference to parent plugin to NotifierPluginVersion to allow getting plugin type by it's alias
* add tests to ensure consistency
* make API response stable
* add tests against snapshot + omit optional fields
2025-09-17 09:25:56 -04:00
Kristina and Ryan McKinley
a6db37c2b7
Correlations: Create first version of correlations on app platform ( #110843 )
...
* WIP
* Generate API
* use different logging, change typing as recommended
* Add feature flag and only add to installer when enabled
* add codeowner
* Lint/fmt
* fix dockerfile
* move from UID to group/name reference
* add generated code
* change from enterprise build
* build workspace
* Remove deprecated field, build api, build for enterprise, build workspace
* Not sure what caused this..
* Rebuild?
* Fix this file
* update sdk
* update sdk
* fix workspace
* fix test build
* add to go.mod
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2025-09-17 08:07:45 -05:00
Jean-Philippe Quéméner
4f43761630
fix(unified-storage): track mode 5 correctly ( #111234 )
2025-09-17 11:25:43 +00:00
Gabriel MABILLE and Ieva
ee34c015ce
grafana-iam: Fix context for identity store queries to work (#111228 )
...
`grafana-iam`: Fix context for identity store
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
2025-09-17 11:24:58 +01:00
Costa Alexoglou
0248a393d7
fix: dashboard upsert with empty ref ( #111190 )
...
* fix: dashboard upsert with empty ref
* chore: cleanup
* fix: branches in other git providers and linter
2025-09-17 11:49:15 +02:00
Peter Štibraný
48250a1605
Introduced options to ignore old indexes based on build time and build version. ( #111168 )
2025-09-17 10:59:59 +02:00
Stephanie Hingtgen
c85776614e
App sdk: Update to v0.45.0 ( #111222 )
2025-09-17 09:03:30 +03:00
Gareth and Andre Pereira
e28f67fb4c
Tempo: migrate search queries to the backend ( #109800 )
...
* migrate search queries to the backend
* set duration unit to ms
* remove error log for debugging
* support nested frames and improve url handling
* formatting in search.go
* space
* run make update-workspace
* remove un-necessary fmt.Sprintf
* add support for span table format
* update fn names and re-order
* support raw format
* revert go.mod and go.sum
* remove frontend logic
* remove any types from typescript
* fix golint
* add tests
* fix golangci-lint
* refactor and implement suggestions
* fix tests
* update data frame type
* remove console log
* fix
* use fallthough to traceql type
* use tempo backend for traceql queries
* update tests
* fix golangci-lint
* Correct types for Fields, allow nulls
* add feature toggle definition
* put backend logic behind feature toggle
* Change toggle default to false
* Remove console.log. Fix crash from missing table type
* fix tests
* fix backend tests
---------
Co-authored-by: Andre Pereira <adrapereira@gmail.com >
2025-09-17 12:02:08 +08:00
Stephanie Hingtgen
d451cb6dcc
Provisioning: Skip another flaky test ( #111198 )
2025-09-16 19:28:59 +00:00
Stephanie Hingtgen
c4d89a7a09
Provisioning: Add back most integration tests; skip flaky ones ( #111197 )
2025-09-16 14:50:08 -04:00
Alex Khomenko and Ryan McKinley
571b3226ba
Dashboard search: Return description in search results ( #110857 )
...
* DashList: Add description
* Support unified storage
* Support unified storage[2]
* Exclude description from field
* Cleanup
* add description
* Revert dashlist changes
* Update cue
* Fix test
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2025-09-16 18:17:22 +03:00
Mustafa Sencer Özcan
4c2240dcc3
fix: introduce an init lock for the storage backend integration tests ( #111166 )
2025-09-16 14:18:06 +00:00
Ezequiel Victorero
6811cc1aa9
Share: Remove new share drawer feature flag ( #111048 )
2025-09-16 10:57:49 -03:00
Misi and Gabriel MABILLE
29551a6edf
IAM: Implement Delete in Service Account API ( #110584 )
...
* wip
* IAM: Create Service Account
* Add dual writer
* Update openapi_test.go
* Add integration tests
* Add sql tests
* Add Role to SA spec, add validation, add DBTime, add tests
* Format, update test
* Fixes
* Add check for External
* wip
* Fix merge
* wip
* Use plugin name instead of title for ext svc account login
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
* Remove OrgID from DeleteUserCommand
* Use the new authorizer
* Fix tests
* cleanup
* Move test to enterprise
* Revert unnecessary change
* Address feedback
* Revert "Address feedback"
This reverts commit 8ab9559076 .
---------
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
2025-09-16 15:39:01 +02:00
Yuri Tseretyan
356521c9b9
Alerting: Annotation CanUse for receiver resource ( #110839 )
...
* add origin to receiver
* populate origin of the receiver
* set CanUse to false if origin is not Grafana
* set provenance if origin is imported
* set Grafana origin by default in conversion API
* set canUse annotation
* reject update\delete operations on resources with origin other than Grafana
* fail to create with wrong origin
2025-09-16 09:32:04 -04:00
Bogdan Matei
2ede582aa0
Dashboard: Add feature flag for undo/redo ( #111096 )
2025-09-16 16:03:16 +03:00
Will Assis
6b2fb782c8
fix (unified-storage): search returning empty results when query includes small term ( #111140 )
...
* fix search not returning anything when a word in the query has less than 3 characters
* fix test name
* fmt
* remove trimspace
2025-09-16 08:55:23 -04:00
Lucy Chen
be9ce8a5ff
CloudMigration: Fix flakey test ( #111126 )
...
* fix flakey test
* remove skip
* change require
2025-09-16 12:39:14 +00:00
Hugo Häggmark
35df3ae554
Chore: filter out bots from frontend logging ( #111157 )
...
* Chore: filter out bots from frontend logging
* chore: updates after PR feedback
* chore: change solution to use beforeSend
2025-09-16 14:13:06 +02:00
lean.dev
c6fe19b472
FeatureToggleAdminPage: fix owner of feature toggle ( #111172 )
2025-09-16 13:12:23 +01:00
Jo
321c3f8ec1
Authorization: update OpenFGA ( #111094 )
...
update openfga to v1.10
2025-09-16 13:23:46 +02:00
Tobias Skarhed
bf31c67159
Secrets: Add route for secrets UI ( #111161 )
...
Add secrets route
2025-09-16 13:00:37 +02:00
Ryan McKinley
0a79b3bdc5
Chore: Upgrade k8s.io/api v0.34.1 and grafana-app-sdk v0.43.1 ( #111009 )
2025-09-16 13:35:20 +03:00
Georges Chaudy
c251ebf4d5
kvstore: merge the metadata store into the datastore ( #110334 )
...
* migrate eventstore to datastore
* Add folder to event key
* lint
* lint
* lint
* lint
* remove foundkye
* refactor the Keys methods to move the Sort outside the ListKey method
* remove bad import
* fix missing params
* lint
* fix test
* perf improvement
2025-09-16 12:16:29 +02:00
Costa Alexoglou
8a352cc352
fix: reduce logs for Github repo.build ( #111117 )
...
* fix: reduce logs for Github repo.build
* ci: go workspace
2025-09-16 09:57:08 +00:00
Alexander Zobnin
38e5298807
Authz: Skip cache in List request if option provided ( #110864 )
...
* Authz: Skip cache in List request if option provided
* return timestamp with list response
* update authlib
* add skipCache option test
* refactor
* fix tests
* update workspaces
* Set zookies depending on cache hit
* update workspaces
* Fix nil pointer
2025-09-16 11:27:07 +02:00
Alexander Akhmetov
a5ad4715a6
Alerting: Fix start with unified_alerting disabled ( #111160 )
2025-09-16 08:56:09 +00:00
Peter Štibraný
f77e99d965
Store build time and build version into index. ( #111010 )
2025-09-16 10:52:30 +02:00
Eric Leijonmarck
868e3a5e8e
grafana-iam: Adds config opts for RBACRemoteClient for load balancing (#110819 )
2025-09-16 09:49:37 +01:00
Will Browne
b154763d04
Chore: Bump prometheus/client_golang to v1.23.2 ( #111123 )
...
bump prometheus/client_golang to v1.23.2
2025-09-16 09:26:50 +01:00
Todd Treece
d08a7abfbb
Provisioning: Temporarily skip flaky tests ( #111128 )
2025-09-15 16:45:29 -04:00
Kyle Brandt
4583402ba9
SQL Expressions: Instrumentation fix and extra testing ( #110778 )
2025-09-15 13:00:22 -04:00
Bruno
3b8ea08ad7
skip Test_GetSnapshotStatusFromGMS ( #111122 )
2025-09-15 16:45:46 +00:00
Bruno and Matheus Macabu
c61624ad3c
Query caching: add request deduplication middleware ( #110892 )
...
* secrets: update test to accept []byte(nil) and []byte{} (#110630 )
Co-authored-by: Matheus Macabu <macabu.matheus@gmail.com >
* Query caching: add request deduplication middleware
* log error if unable to build cache key
* remove TODO
* always use req.PluginContext.DataSourceInstanceSettings.UID
* make update-workspace
---------
Co-authored-by: Matheus Macabu <macabu.matheus@gmail.com >
2025-09-15 12:07:47 -03:00
Vadim Stepanov
d4bad37853
Alerting: Move notification historian to grafana/alerting ( #109078 )
...
* Move notification historian to grafana/alerting
* wip
* golangci-lint
* Revert "golangci-lint"
This reverts commit 10ccebad41 .
* JSONEncoder
* alertingInstrument
* go mod tidy
* go.work.sum
* make update-workspace
* merge
* revert go.mod changes
* github.com/grafana/alerting
* make update-workspace
* update github.com/grafana/alerting
* merge
2025-09-15 15:23:51 +01:00
Ryan McKinley
a5bd313f5a
ShortURL: Implement /goto with a sub-resource ( #110972 )
2025-09-15 16:56:20 +03:00
Will Browne
2df39fc71a
Plugins: Add metrics for fs + cloud provisioning info ( #111030 )
...
* add new metrics for plugin fs + cloud provisioning
* fix test
* update label
2025-09-15 14:54:16 +01:00
Andreas Christou
5d48747fea
Graphite: Backend version endpoint ( #110774 )
...
* Add lint rules
* Backend decoupling
- Add standalone files
- Add graphite query type
- Add logger to Service
- Create logger in the ProvideService method
- Use a pointer for the HTTP client provider
- Update logger usage everywhere
- Update tracer type
- Replace simplejson with json
- Add dummy CallResource and CheckHealth methods
- Update tests
* Update ConfigEditor imports
* Update types imports
* Update datasource
- Switch to using semver package
- Update imports
* Update store imports
* Update helper imports and notification creation
* Update context import
* Update version numbers and logic
* Copy array_move from core
* Test updates
* Add required files and update plugin.json
* Update core references and packages
* Remove commented code
* Update wire
* Lint
* Fix import
* Copy null type
* More lint
* Update snapshot
* Refactor backend
- Split query logic into separate file
- Move utils to separate file
* Add health-check logic
- Support backend healthcheck if the FF is enabled
* Remove query import support as unneeded
* Add test
* Add util function for decoding responses
* Add events types
* Add resource handler
* Add events handler and generic resource req handler
* Tests
* Update frontend
- Add types
- Update events function to support backend requests
* Lint and typing
* Lint
* Add metrics find endpoint
- Add types
- Add generic response parser
- Add endpoint
- Tests
* Update FE functoin to use backend endpoint
* Lint
* Simplify request
* Update test
* Metrics expand type
* Extract shared logic and add metric expand endpoint
* Update tests
* Call metric expand from backend
* Rename type for clarity
* Add get resource req handler
* Refactor doGraphiteRequest, parseResponse
Update tests
* Migrate functions endpoint to backend
* Support tags autocomplete in backend
- Add tests
- Add types
- Remove unneeded comments
* Support tag values autocomplete
- Remove unused frontend endpoints
- Add types
- Update tests
* Support the version endpoint
* Add tests
* Review
* Review
* Fix packages
* Format
* Fix merge issues
* Review
* Fix undefined values
* Extract request creation
- Add method for create requests generically with tests
- Replace usage in query method
- Update usages in resource handlers
- Update tests
- Update types
2025-09-15 12:56:08 +01:00
Alexander Zobnin and Jo Garnier
294fd943c0
Chore: Update authlib ( #110880 )
...
* Chore: Update authlib
* exclude incompatible version of github.com/grafana/gomemcache
* Update go-jose to v4
* fix jose imports
* remove jose v3 from go.mod
* fix tests
* fix serialize
* fix failing live tests
* add v1 of ES256 testkeys. Port tests to use ES256 instead of HS256
* accept more signature algs for okta and azuread
* azure social graph token sig
* accept more signature algs for oauth refresh and jwt auth
* update workspace
* add a static signer for inproc
* rebase and fix ext_jwt
* fix jwt tests
* apply alex patch on gomemcache
* update linting
* fix ext_jwt panic
* update workspaces
---------
Co-authored-by: Jo Garnier <git@jguer.space >
2025-09-15 12:45:15 +02:00