Matheus Macabu
2ade94bbf7
SecretsManager: Add roles and access control to APIs ( #102456 )
2025-03-19 16:30:07 +01:00
Marco de Abreu
ce350df79b
Storage: Add resource version matching in unified storage API ( #102417 )
...
Add NotOlderThan support to getHistory
Add support for Exact
Add tests
Refactor tests
Add error test
Co-authored-by: Marco de Abreu <18629099+marcoabreu@users.noreply.github.com >
2025-03-19 16:16:48 +01:00
Mihai Doarna
e5b6b7b370
Team: Include user UID in GetTeamMembers() output ( #102373 )
...
* include user UID in GetTeamMembers() output
* move user.uid next to the other user fields
* generate openapi specs
* remove new line at EOF
* fix sql select syntax
* fix sql select syntax
* fix sql select syntax
* fix sql select syntax
2025-03-19 16:47:45 +02:00
Andres Martinez Gotor
ebddc79780
Stats: Propagate context when listing sandbox plugins ( #102207 )
2025-03-19 15:29:30 +01:00
Yuri Tseretyan
c3f00eb403
Alerting: log body of unexpected response from Mimir ( #102382 )
...
log body of unexpected response
Signed-off-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2025-03-19 10:14:05 -04:00
Tito Lins
42472dbe7e
Alerting: handle mimir BadRequest write errors ( #102027 )
2025-03-19 14:56:00 +01:00
Peter Štibraný
0566ddbf4d
Speed up truncation in mysql, postgres and sqlite in integration tests. ( #102439 )
...
Speed up truncation in sqlite, mysql and postgres integration tests.
2025-03-19 14:16:20 +01:00
Georges Chaudy
4927376f32
unistore: use the same connection string as grafana ( #102387 )
2025-03-19 13:56:54 +01:00
Matheus Macabu
3aba5cb2b7
SecretsManager: Bootstrap API service ( #102444 )
...
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com >
Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com >
2025-03-19 13:41:29 +01:00
Kyle Brandt
3f2ef07872
SSE: Fix goroutine leak in math operation expression parsing ( #102380 )
...
---------
Co-authored-by: Sam Jewell <sam.jewell@grafana.com >
2025-03-19 08:34:49 -04:00
Will Assis
216b6e96a9
fix(unified-storage): update instrumentation_server metric gatherer ( #102399 )
...
* update instrumentation_server used by the module server to use prometheus gatherer from wire instead of DefaultRegisterer
2025-03-19 08:15:13 -04:00
Peter Štibraný
0c58d39e76
Spanner-related fixes ( #102376 )
...
* Fix UNION syntax in resourcepermissions package.
* Fix migrations in usermig package to work with Spanner.
* Fix health query.
* Use more connections for integration tests.
* Add test-go-integration-spanner target to run integration tests against Spanner emulator.
* Add test for enterprise.
* Don't delete sequence number for migration_log.id column.
* Only bump max open connections to 20 for Spanner.
Lower integration test timeout.
2025-03-19 12:34:44 +01:00
Gabriel MABILLE
9a556fbde6
AuthZService: Add attributes to traces ( #102433 )
2025-03-19 12:21:39 +01:00
Jean-Philippe Quéméner
3e3ab8e064
fix(unified-storage): reduce lock contention when pruning ( #102425 )
2025-03-19 12:15:04 +01:00
Matheus Macabu
ac4b2a3200
SecretsManager: Add feature toggle ( #102420 )
...
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com >
2025-03-19 10:25:14 +01:00
xavi
045733aed6
[IAM] Clear user's permission cache after login ( #102311 )
2025-03-19 10:06:58 +01:00
Mustafa Sencer Özcan
ef94d21093
test(unified-storage): Create initial e2e test scenario for unified storage ( #102019 )
...
* test: introduce initial e2e test scenario for unified storage
* fix: lint
* chore: trigger build
* test: attach unified storage grpc service into grafana
* fix: lint and todos
* fix: err handling
* chore: trigger build
2025-03-19 09:21:04 +01:00
Matheus Macabu
450d76518e
Chore: Remove print from fake service account svc ( #102369 )
2025-03-19 09:14:26 +01:00
Stephanie Hingtgen
6c704484e9
K8s: Add sorting by more than titles ( #102403 )
2025-03-18 20:23:43 -05:00
owensmallwood
ec91ad6db7
Dashboard Provisioning: Dont wait on indexer when nothing deleted ( #102390 )
...
* adds debug log
* show dashboard uids as strings
* adds debug log
* don't wait when no deleted dashboards
* adds test
2025-03-18 17:36:10 -06:00
Sam Jewell
d7aeebe5e3
Sql Expressions: State when error is from GMS ( #102112 )
2025-03-18 22:41:42 +00:00
Alexander Akhmetov
a8a88f858a
Alerting: Remove uniqueness checks from the Prometheus conversion ( #102261 )
2025-03-18 18:38:27 +01:00
Yuri Tseretyan
69a62777c5
Fix flaky test TestIntegration_ListDeletedRules ( #102383 )
...
Signed-off-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2025-03-18 13:28:19 -04:00
Yuri Tseretyan
e39b17d701
Alerting: Remove constraints for uniqueness of rule title ( #102067 )
...
* fix having duplicated names in same group in the UI
---------
Co-authored-by: Sonia Aguilar <soniaaguilarpeiron@gmail.com >
2025-03-18 13:27:44 -04:00
Matheus Macabu
20f9902ed5
CloudMigrations: Remove public preview banner ( #102354 )
2025-03-18 16:21:16 +01:00
Alexander Akhmetov
04f20127a2
Revert "Alerting: Add an index to alert_rule_version table on (rule_org_id, rule_uid) ( #102347 )" ( #102368 )
...
This reverts commit 9491fa1895 .
2025-03-18 14:54:45 +01:00
Georges Chaudy
0bafd4e99d
unistore: update spanner ddl to include unistore tables ( #102198 )
...
* provision unistore tables
* update the tests to use generated namespace
* update ddl
* update ddl
* clean streams
* missing space
* use engine.db.query
2025-03-18 14:37:11 +01:00
Isabella Siu
8c5a4591fd
Cloudwatch: Do not parse log query grouping field to float ( #102244 )
2025-03-18 09:18:58 -04:00
Ryan McKinley
ff6a97f1a1
Provisioning: Update APIs in main ( #102345 )
2025-03-18 14:55:22 +02:00
Gábor Farkas
c28b49e5d1
datasources: querier: single-tenant auth ( #102049 )
2025-03-18 13:51:49 +01:00
ismail simsek
a4d98e465f
Chore: Remove dataplane as option from prom converter ( #102320 )
...
remove dataplane as option from prom converter
2025-03-18 13:10:22 +01:00
Jean-Philippe Quéméner
08994304d8
fix(unified-storage): check resource_api cfg for isHA ( #102283 )
2025-03-18 12:33:27 +01:00
Eric Leijonmarck
fc9e5110d7
Access: Add migration to remove datasources:drilldown ( #102188 )
...
* Add migration to remove datasources:drilldown
* remove role assignments as well
* rename to datasources:drilldown
* remove the role assignments
* made it simple instead
* Update pkg/services/sqlstore/migrations/accesscontrol/datasource_drilldown_removal.go
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
* Update pkg/services/sqlstore/migrations/accesscontrol/datasource_drilldown_removal.go
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
---------
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
2025-03-18 13:06:30 +02:00
Stephanie Hingtgen
c79c768421
Folders: Add pagination to list ( #102334 )
2025-03-18 04:56:06 -06:00
Alexander Akhmetov
695ac91290
Alerting: Add backend support for keep_firing_for ( #100750 )
...
What is this feature?
This PR introduces a new alert rule configuration option, keep_firing_for (Prometheus documentation).
keep_firing_for prevents alerts from resolving immediately after the alert condition returns to normal. Instead, they transition into a "Recovering" state and are not considered resolved by the Alertmanager. Once the recovery period ends (or after the next evaluation if it is bigger than keep_firing_for), the alert transitions to "Normal" if it doesn't start alerting again:
Before
+----------+ +----------+
| Alerting |---->| Normal |
+----------+ +----------+
-----
After
+----------+ +------------+ +----------+
| Alerting |----->| Recovering |---->| Normal |
+----------+ +------------+ +----------+
Why do we need this feature?
This feature prevents flapping alerts by adding a recovery period. This helps avoid false resolutions caused by brief alert
2025-03-18 11:24:48 +01:00
Alexander Akhmetov
9491fa1895
Alerting: Add an index to alert_rule_version table on (rule_org_id, rule_uid) ( #102347 )
2025-03-18 11:15:55 +01:00
Alexander Akhmetov
1d0a86252e
Alerting: Add target datasource support to Prometheus conversion ( #102307 )
2025-03-18 09:53:50 +01:00
Tom Ratcliffe
e14b2fa034
Chore: Add descriptions to frontend types for feature toggle generation ( #102230 )
...
Add descriptions to frontend types for feature toggle generation
2025-03-18 09:20:47 +02:00
dependabot[bot]
967425ab1b
Bump github.com/expr-lang/expr from 1.16.9 to 1.17.0 in /pkg/codegen ( #102333 )
...
* Bump github.com/expr-lang/expr from 1.16.9 to 1.17.0 in /pkg/codegen
Bumps [github.com/expr-lang/expr](https://github.com/expr-lang/expr ) from 1.16.9 to 1.17.0.
- [Release notes](https://github.com/expr-lang/expr/releases )
- [Commits](https://github.com/expr-lang/expr/compare/v1.16.9...v1.17.0 )
---
updated-dependencies:
- dependency-name: github.com/expr-lang/expr
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
* update workspace
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-18 09:49:03 +03:00
Stephanie Hingtgen
4755da0ff5
Folders: Fix user setting in api ( #102329 )
2025-03-17 18:33:09 -05:00
owensmallwood
c45a342303
Unified Storage Dashboard Provisioning: Wait for deleted dashboards to be updated in the indexer ( #102243 )
...
* wait for deleted dashboards to be updated in the indexer
* updates comment
* adds test
* make function private
* fix failing test - had to add a couple more mock Search calls
2025-03-17 16:46:26 -06:00
Dominik Broj
f7e0f095a2
Alerting: use 'Grafana IRM' wording in alerting contact point ( #102014 )
...
* chore: use 'Grafana IRM' wording in alerting contact point
* revert temp condition change
* remove unneeded ts assertion
* more renaming
* use translations
* update test
* running make i18n-extract
* avoid "simple" word in copy
2025-03-17 23:38:44 +02:00
ismail simsek
07024c9bac
Prometheus: Enable prometheusRunQueriesInParallel feature toggle by default ( #102127 )
...
enable prometheusRunQueriesInParallel by default
2025-03-17 22:13:59 +01:00
Stephanie Hingtgen
6019b21cc5
K8s: Dashboards: Fix multi-org provisioning flow ( #102266 )
2025-03-17 20:20:03 +02:00
Ryan McKinley
fd4e08e318
K8s/Dashboards: Remove slug annotation ( #102270 )
2025-03-17 19:01:29 +02:00
Ryan McKinley
261d7db0e6
Live: Update centrifuge and remove unreleased "gitops" ( #102256 )
2025-03-17 18:55:00 +02:00
beejeebus
3bdb2aa349
Plugins: Fix support for adhoc filters with raw queries in InfluxDB ( #101966 )
...
Plugins: Fix support for adhoc filters with raw queries in InfluxDB
Fixes #101635 .
2025-03-17 12:07:33 -04:00
Gábor Farkas
4302fec311
removed unused file ( #102281 )
2025-03-17 16:27:13 +01:00
Igor Suleymanov
424a178d96
Update dependencies for Grafana submodules ( #102296 )
...
* Update dependencies for Grafana submodules
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
* Update workspace
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
* Update owners
* Fix code owners of the dependency
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
---------
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
Co-authored-by: leonorfmartins <leonorfmartins@gmail.com >
2025-03-17 16:23:57 +02:00
Peter Štibraný
11552e5c57
Speed up truncation of Spanner tables (used in integration tests) ( #102278 )
...
Speed up truncation of Spanner tables.
2025-03-17 15:05:01 +01:00