Alexander Akhmetov
2ab8fdb0df
[release-12.1.2] Alerting: Add keepFiringFor and missing_series_evals_to_resolve to file provisioning ( #109710 )
...
* Alerting: Add keepFiringFor and missing_series_evals_to_resolve to file provisioning (#109699 )
* Fix MissingSeriesEvalsToResolve type
2025-08-18 10:43:47 +02:00
grafana-delivery-bot[bot]
2a87c627ad
[release-12.1.0] Alerting: Fix active time intervals when time interval is renamed ( #108547 )
...
Alerting: Fix active time intervals when time interval is renamed (#108534 )
(cherry picked from commit cc869e7668 )
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2025-07-23 18:26:50 +01:00
Stephanie Hingtgen
df07305465
Revert: Future-proofing query and data source model in Dashboard Sche… ( #107985 )
...
* Revert: Future-proofing query and data source model in Dashboard Schema v2
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2025-07-10 15:13:14 -05:00
Stephanie Hingtgen
f25d2fe7e2
Revert "Schema V2: Simplify annotations v1<->v2 conversions" ( #107984 )
...
Revert "Schema V2: Simplify annotations v1<->v2 conversions (#107390 )"
This reverts commit d5a1781fb6 .
2025-07-10 15:13:13 -05:00
Gabriel MABILLE
0417533b61
iam: add description field to roles (#107888 )
...
* iam: add description field to roles
* Openapi gen
* Revert launch change
2025-07-10 15:13:13 -05:00
maicon
4228ed789b
Folders: disable TestIntegrationFoldersGetAPIEndpointK8S ( #107897 )
...
* Folders: disable TestIntegrationFoldersGetAPIEndpointK8S
it's breaking the enteprise CI pipeline
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* Run only against sqlite
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* noop: force backend change
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-07-09 15:44:20 +00:00
Peter Štibraný
9d2eadcfd2
PoC: replace using testing.Short in storage/unified package with integration test skip method ( #107887 )
...
* PoC: check if testing.Short is called from integration tests only.
* Rename helper function.
* Fix logic.
* Remove skipping of integration tests from non-integration tests.
* Remove skipping of integration tests from non-integration tests.
* Fix import.
2025-07-09 15:32:10 +00:00
Will Browne
1e0fd825eb
Plugins: Simplify assetpath logic ( #107876 )
...
* simplify assetpath logic
* fix tests
2025-07-09 15:48:52 +01:00
Daniele Stefano Ferru
d7f7a19c56
Dashboard permissions: Update integration tests to take into account kubernetesDashboards flag value ( #107706 )
...
Dashboard permissions: Update integration tests to take into account flag value
2025-07-09 08:46:27 +02:00
maicon
79ebe2dc10
Folders: Ensure all folder tests under /pkg/tests/apis/folders are handled as integrations tests ( #107801 )
...
Folders: ensure integration tests are executed in our CI pipeline
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-07-08 16:32:41 -03:00
maicon
53537148e1
Folders: reenable unit tests ( #107751 )
...
* Folders: reenable unit test TestFoldersCreateAPIEndpointK8S
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* reenable unit test TestFoldersGetAPIEndpointK8S
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-07-08 11:26:45 -03:00
Dominik Prokop
d5a1781fb6
Schema V2: Simplify annotations v1<->v2 conversions ( #107390 )
...
* Initial migration pending to test
* Update tests
* apply feedback
* Remove unnecessary types
* Fix types
* Update tests
* fixing tests
* Default DS for transformer
* Update the default DS
* Update the generated sdk files
* Restore commented tests
* Update tests
* Updating snapshots
* fix
* Do not preserve empty datasource in panel spec
* update provisioning v2 sample dashboard
* Fix test
* Prettier
* Fix import e2e
* Prettier
* restore commented tests
* Update to support annotations
* Lint
* Make gen apps
* Make the build pass
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
* Update grafana-app-sdk to 0.39.2
* Workspace update
* make gen-cue
* Runtime error fix
* Update dashboard spec
* Update go workspaces
* Schema V2: Simplify annotations v1<->v2 conversions
* Update public/app/features/dashboard-scene/serialization/transformSceneToSaveModelSchemaV2.ts
* Cleanup and some more tests
* test improvement
* Update public/app/features/dashboard-scene/serialization/transformSceneToSaveModelSchemaV2.ts
* Update go.sum
* make generate
* Update public/app/features/dashboard-scene/serialization/transformSceneToSaveModelSchemaV2.ts
Co-authored-by: Haris Rozajac <58232930+harisrozajac@users.noreply.github.com >
* ts
* make gen-apps
* Update response transformers to correctly handle v2->v1 annotations
* Update dashboards openapi snapshot
---------
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com >
Co-authored-by: alexandra vargas <alexa1866@gmail.com >
Co-authored-by: Haris Rozajac <haris.rozajac12@gmail.com >
Co-authored-by: Igor Suleymanov <igor.suleymanov@grafana.com >
Co-authored-by: spinillos <selenepinillos@gmail.com >
Co-authored-by: Haris Rozajac <58232930+harisrozajac@users.noreply.github.com >
2025-07-08 14:42:30 +02:00
Yuri Tseretyan
d15e1ad8d0
Alerting: Fix route validation in provisioning service ( #107550 )
...
* introduce ExtraConfigsCrypto
* delete getLastConfiguration and move all code into method Get
* update legacy store to encrypt ExtraConfigs same way we do in MultiOrgAlertmanager
* update legacy store init
* delete PersistConfig
* remove unnecessary unmarshalling
* add better error
* add tests for legacy store
* add tests that cover extra config validation
* add integration test for conflicting routes
---------
Signed-off-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2025-07-07 12:16:31 -04:00
Todd Treece
37c480def4
K8s: Add support for stored subresources in app runner ( #105481 )
2025-07-07 11:25:23 -04:00
Ivan Ortega Alba
075770070e
Future-proofing query and data source model in Dashboard Schema v2 ( #104194 )
...
---------
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
Co-authored-by: alexandra vargas <alexa1866@gmail.com >
Co-authored-by: Haris Rozajac <haris.rozajac12@gmail.com >
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
Co-authored-by: Igor Suleymanov <igor.suleymanov@grafana.com >
Co-authored-by: spinillos <selenepinillos@gmail.com >
2025-07-07 15:31:25 +02:00
Misi
713f6d1551
IAM: Move resource definitions to apps/iam step 1 ( #107389 )
...
* wip
* Use serviceaccount model from /apps/iam
* revert version update
* Add tembinding, userteam, other improvements
* Change serviceaccounttoken spec
* Revert the change of ServiceAccountToken
* Revert the change of UserTeam
* Clean up
* Remove files that are not needed for now
* Lint
* Update sql query's integration tests
* Fix tests
* update openapi spec
* Move LastSeenAt to the annotations
* Updte openapi_snapshots
* Change lastSeenAt annotation name
2025-07-04 11:07:48 +02:00
Andrej Ocenas
e76f470b44
NestedFolderPicker: Migrate to app platform API ( #106926 )
...
* Add /children endpoint
* Update folder client
* Add comment
* Add feature toggle
* Add new version of useFoldersQuery
* Error handling
* Format
* Rename feature toggle
* Remove options and move root folder constant
* Fix feature toggle merge
* Add feature toggle again
* Rename useFoldersQuery files
* Update API spec
* Fix test
* Add test
* Better typings
---------
Co-authored-by: Clarity-89 <homes89@ukr.net >
2025-07-03 16:15:23 +02:00
Ryan McKinley
acabe86153
APIServer: Exclude internal GroupVersionKind from openapi ( #107551 )
2025-07-02 19:32:01 -07:00
Alexander Akhmetov
b483a04aec
Alerting: Send merged configuration to the remote alertmanager ( #107004 )
2025-07-02 21:35:24 +02:00
Matheus Macabu
7614089077
Secrets: Only register dependencies to start up ( #107504 )
2025-07-02 14:02:52 +02:00
Ryan McKinley
8b9e57f2f6
OFREP: Enable with standard aggregation ( #107349 )
2025-07-01 09:17:36 -07:00
Andres Martinez Gotor
2294620b2e
Advisor: Include optional more info in failures ( #107244 )
2025-07-01 10:49:16 +02:00
Dana Axinte
b46e305cb2
SecureValues: Remove actor prefix from decrypters ( #107433 )
...
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
2025-07-01 08:40:26 +01:00
Stephanie Hingtgen
b1d3155b60
K8s: Library Panels: Add rerouting for get ( #107362 )
2025-06-30 13:26:24 -05:00
maicon
55e29d4405
Unistore: Reenable integration tests ( #107340 )
...
* Unistore: Reenable integration tests
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-06-30 10:32:12 -03:00
Ivana Huckova
f7eab21f9f
Loki: Decouple data source plugin ( #107242 )
...
* WIP
* Update yarn.lock
* Align uuid dependency
* Add e2e test and update
* Update cue version
* Fix lint
* Update snapshot test
* Fix test that was importing from coupled module
* Fix lint
* Update public/app/plugins/datasource/loki/package.json
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com >
---------
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com >
2025-06-27 15:09:45 +02:00
Stephanie Hingtgen
f8189eece9
Dashboard Imports: Fix creating new library panels ( #107219 )
2025-06-26 05:23:05 -06:00
Alexander Akhmetov
b93cde0adb
Alerting: Use default identifier for extra configs in Alertmanager API ( #107049 )
2025-06-26 12:44:49 +02:00
Roberto Jiménez Sánchez
9a95430815
Provisioning: Increase timeout for flaky CreateGithubRepository integration test ( #107091 )
...
Increase timeout CreateGithubRepository test
2025-06-24 08:49:59 +00:00
Stephanie Hingtgen
63bc65fa4c
Dashboards: Fix history list for dashboard uids that end in - ( #107073 )
2025-06-22 06:56:45 -06:00
Stephanie Hingtgen
ef6e28b955
K8s: Make v0alpha1 opt-in ( #107056 )
2025-06-20 16:37:17 -05:00
Arati R.
0b7e2f5601
K8s/Dashboards: Add mode 1, 2 to dashboard TestIntegrationValidation ( #107018 )
...
* Add mode 1 to dashboard TestIntegrationValidation
* Reject update with version conflict also in mode 1
* Add integration testing for mode 2
2025-06-20 13:11:26 +02:00
Ivana Huckova
f0fab90072
Loki: Remove lokiSendDashboardPanelNames toggle ( #106991 )
2025-06-20 10:06:15 +02:00
Alexander Akhmetov
700c9a857c
Alerting: Return extra alertmanager config as a string for mimirtool ( #106959 )
2025-06-19 01:12:26 +02:00
Alexander Akhmetov
4b46da9214
Alerting: Hide extra Prometheus configuration secrets ( #106916 )
2025-06-18 17:01:19 +02:00
Alexander Akhmetov
426c334973
Alerting: API to create extra Alertmanager configurations ( #106904 )
...
What is this feature?
Implements the POST endpoint for deleting imported Mimir Alertmanager configurations:
POST /api/convert/api/v1/alerts
The API endpoint creates the extra Alertmanager configuration with the provided identifier and matchers.
2025-06-18 15:05:06 +02:00
Roberto Jiménez Sánchez
3cb62e370b
Provisioning: Add pure git repository type ( #106815 )
...
* Add repository type git to spec
* Register git type
* Update test checks
2025-06-18 09:05:37 +02:00
Dana Axinte
dbe815ee68
SecretsManager: keepers with secure values credentials ( #106761 )
...
* SecretsManager: keepers with secure values
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com >
* Keepers: Refactor extract secure values remove extra helper functions
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
---------
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
2025-06-16 14:37:36 +01:00
Roberto Jiménez Sánchez
0ae635974e
App Platform Provisioning: Fix flaky test to assert dashboards deletion on repository deletion ( #106753 )
...
Use assert instead of require within eventually
2025-06-16 11:46:09 +02:00
Dana Axinte
6097841e67
SecretsManager: add secure value store ( #106708 )
...
* SecretsManager: add secure value model and sql templates
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com >
Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com >
Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com >
* SecretsManager: secure value rest layer to use store
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com >
Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com >
Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com >
* SecretsManager: temporary add actor prefix to decrypters
* Remove list securevalue by namefor now
---------
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com >
Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com >
2025-06-16 10:19:44 +01:00
Stephanie Hingtgen
feeced9618
K8s: Dashboards /apis: Fix library element connections ( #106734 )
2025-06-13 21:40:39 +02:00
Jean-Philippe Quéméner
5f21f320f7
fix(unified-storage): use continue token containing both formats for dualwriter ( #106525 )
2025-06-13 15:59:46 +02:00
Kevin Minehart
910eb1dd9e
Security: apply patch 428 ( #106710 )
...
* declare dingding url as secret
patch raw settings before parsing because DingDing's config parser does not know about secrets
* fix integration test
---------
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2025-06-13 15:56:26 +02:00
Alexander Akhmetov
f7a52bc04e
Alerting: Fix group-level labels and query_offset in the import API ( #106379 )
...
What is this feature?
Fixes a bug when group-level query_offset and labels parameters are ignored and not saved
Why do we need this feature?
In the import API Prometheus YAML rule definitions are supported:
groups:
- name: group-1
interval: 1m
query_offset: 10m
labels:
severity: "warning"
rules:
- alert: Alert 0 > 0
expr: vector(0) > 0
But applying group-level labels and query_offset is broken and they are not saved right now because during the conversion of the API model to PrometheusRuleGroup they aren't saved to the new structure.
2025-06-06 11:21:39 +02:00
Alexander Akhmetov
e256f2d5e2
Alerting: Enable recording rules by default ( #105603 )
2025-06-02 10:56:05 +02:00
Will Browne
edb0865caa
Chore: Ensure we save correct default admin user in integration test DB setup ( #105752 )
...
* fix helper + amend tests
* fix import + remove unused var
* remove more users
* remove unused code
* update test comment
2025-05-28 11:25:01 +01:00
Ryan McKinley
10f2b76156
Chore: Update apps codegen to v0.38.2 ( #106111 )
2025-05-28 12:35:44 +03:00
Ryan McKinley
d4c446f42c
Chore: Update k8s.io to v0.33.1 ( #105307 )
2025-05-28 00:13:18 +03:00
Oscar Kilhed
4f18ad30c9
SchemaV2: Remove legacy rows from schema v2. ( #105238 )
...
* save transparent setting
* make sure we test both transparent and non transparent
* no more legacy rows
* schema changes
* Add testing, fix first row offset
* Remove legacy row from transform test
* Remove panel that's not present in layout
* Remove expects after removing the row, fix lint issues
* Remove unused commit
* update codegen
* update openapi snapshot
* Fix snapshot
* add missing default prop
* Fix repeating, fix first row, fix not flushing last row
* Use correct repeater
* fix lint, remove unused empty check
* update codegen
* update openapi test snapshot
2025-05-26 14:33:30 +02:00
Peter Štibraný
c4d3eb1cd0
Remove support for Google Spanner database. ( #105846 )
...
* Remove support for Google Spanner database.
2025-05-23 11:35:59 +02:00