Todd Treece
da6b02a2b0
K8s: Add k8s codegen PR check ( #91903 )
2024-08-14 11:06:37 -04:00
Andres Martinez Gotor
44290ddf32
Adapt plugin page to preinstalled plugins ( #91874 )
2024-08-14 17:04:59 +02:00
Karl Persson
e9bb3b4d73
Annotations: only set userID if caller is a user or service account ( #91898 )
...
* Ignore errors when extracting current user id
* Only set userID if caller is user or service account
* Fix patch api
2024-08-14 16:07:15 +02:00
Andres Martinez Gotor
55381a3e77
Add check for update/uninstall of plugins ( #91889 )
2024-08-14 14:57:37 +02:00
Karl Persson
8d36111420
IDForwarding: Set identity type and uid ( #91830 )
...
* Set identity type and uid
* Set uid without prefix
* Update authlib version
* Update to new claim name
2024-08-14 10:51:44 +02:00
Ryan McKinley and Kristian Bremberg
427dad26a2
Swagger: Add a custom swagger/api page ( #91785 )
...
Co-authored-by: Kristian Bremberg <kristian.bremberg@grafana.com >
2024-08-14 09:03:00 +03:00
Todd Treece
dacf11b048
K8s: Fix hack/update-codegen ( #91867 )
2024-08-14 08:17:05 +03:00
Todd Treece
1b0e6b5c09
K8s: Data Plane Aggregator ( #91228 )
2024-08-13 22:28:17 +03:00
Todd Treece
4ce82d3f14
Chore: Update k8s.io dependencies to v0.30.0 ( #91851 )
2024-08-13 14:01:48 -04:00
Yuri Tseretyan
7b919e3277
Alerting: MuteTimeService to support TimeInterval and MuteTimeInterval fields in Alertmanager config ( #91500 )
...
* update notification policy provisioing to consider time intervals
* change names of intervals to be in order
2024-08-13 11:37:21 -04:00
Leonor Oliveira
d52d04b6d8
Revert "Use dw dynamic config" ( #91846 )
...
Revert "Use dw dynamic config (#91222 )"
This reverts commit 0258842f87 .
2024-08-13 17:24:26 +02:00
Mihai Doarna
b4db8bb967
LDAP: Remove omitempty flag from json annotation ( #91843 )
...
* remove omitempty flag from json annotation
* fix unit test
2024-08-13 18:17:52 +03:00
Yuri Tseretyan
db33df5041
Alerting: Template API to return errutil errors ( #91821 )
2024-08-13 10:59:19 -04:00
Andres Martinez Gotor
9067797eb4
Feature: Allow to install plugins through configuration ( #91790 )
2024-08-13 16:57:55 +02:00
Bruno
90b44fdcbf
Cloud migrations: GetSnapshotList only returns snapshots that belong to a session that exists ( #91798 )
...
* Cloud migrations: GetSnapshotList only returns snapshots that belong to a session that exists
* Cloud migrations: test GetSnapshotList
* add one more test case for GetSnapshotList
* fix test
* store encryption key for testing
2024-08-13 09:57:53 -03:00
Alexander Akhmetov
149f02aebe
Alerting: Add rule_group label to grafana_alerting_rule_group_rules metric ( #88289 )
...
* Alerting: Add rule_group label to grafana_alerting_rule_group_rules metric (#62361 )
* Alerting: Delete rule group metrics when the rule group is deleted
This commit addresses the issue where the GroupRules metric (a GaugeVec)
keeps its value and is not deleted when an alert rule is removed from the rule registry.
Previously, when an alert rule with orgID=1 was active, the metric was:
grafana_alerting_rule_group_rules{org="1",state="active"} 1
However, after deleting this rule, subsequent calls to updateRulesMetrics
did not update the gauge value, causing the metric to incorrectly remain at 1.
The fix ensures that when updateRulesMetrics is called it
also deletes the group rule metrics with the corresponding label values if needed.
2024-08-13 13:27:23 +02:00
Jeff Levin
8961f392f0
add team_member index on user_id org_id ( #91819 )
...
This pr adds a composite index on on the team_member table on user_id and org_id
2024-08-13 13:58:00 +03:00
Alexander Akhmetov
b2eeb0dd6e
Alerting: update rule versions on folder move ( #88376 )
...
* Alerting: update rule versions on folder move (#88361 )
* Add tracing to folder.Move and folder.Update
2024-08-13 12:26:26 +02:00
Yulia Shanyrova and Giuseppe Guerra
8044cb50f1
Plugins: Plugin details right panel is added. All the details were moved from thee top to the right panel ( #90325 )
...
* PluginDetailsRight panel is added. All the details were moved from the top to the right panel
* Add feature toggle pluginsDetailsRightPanel,Fix build, fix review comments
* Fix the typo
Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com >
* hasAccessToExplore
* changes after review, add translations
* fix betterer
* fix betterer
* fix css error
* fix betterer
* fix translation labels, fix position of the right panel
* fix the build
* add condition to show updatedAt for plugin details
* add test to check 2 new fields at plugin details right panel;
* change the gap and remove report abuse button from core plugins
* add more tests
---------
Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com >
2024-08-13 11:55:30 +02:00
Ana Ivanov
8467838bef
Navigation: Remove grafana-aws-app from Infrastructure navigation ( #91524 )
...
Remove grafana-aws-app from Infrastructure navigation
2024-08-13 11:54:30 +03:00
Karl Persson
8bcd9c2594
Identity: Remove typed id ( #91801 )
...
* Refactor identity struct to store type in separate field
* Update ResolveIdentity to take string representation of typedID
* Add IsIdentityType to requester interface
* Use IsIdentityType from interface
* Remove usage of TypedID
* Remote typedID struct
* fix GetInternalID
2024-08-13 10:18:28 +02:00
Leonor Oliveira
0258842f87
Use dw dynamic config ( #91222 )
...
* Remove kubernetesPlaylists feature_toggle
* Remove unified_storage_mode
* Remove double import
* Regenerate feature-toggles
* Read from config instead from feature_toggle
* cover scenario for when unified storage is not defined
2024-08-13 10:03:28 +02:00
Konrad Lalik
b67bcdb9b8
Alerting: Handle namespace and group query string params in Ruler API ( #91533 )
...
* Handle namespace and group query string params in Ruler API
* Use the new namespace and group query params when slashes in names
* Add validation, add group handling in GMA Api
* Move constants
* Use checkForPathSeparator function
* Fix linter issue
2024-08-13 08:31:07 +02:00
owensmallwood
8fb334cf77
Unified Storage: Adds back readme to resource store ( #91812 )
...
adds back readme to resource store
2024-08-12 13:48:14 -06:00
Andres Martinez Gotor
d342e76f63
Chore: Add skeleton for background plugin installer ( #91743 )
2024-08-12 16:39:31 +02:00
Fayzal Ghantiwala
25dbb32cea
Alerting: Vendor in latest grafana/alerting package ( #91786 )
...
* temp
* vendor
* Remove dead code
* Vendoring
2024-08-12 15:37:15 +01:00
c9ddc688a2
Prometheus: Add support to make parallel queries ( #90316 )
...
* Add support for prometheus datasource to make parallel queries
* Incorporate review comments
* Update pkg/promlib/querydata/request.go
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
* Fix lint
* Add parallel queries behind feature flag
* Fixing lint issue
* Update go.mod
* Update pkg/promlib/querydata/request.go
* Update pkg/promlib/querydata/request.go
---------
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
Co-authored-by: Charandas <542168+charandas@users.noreply.github.com >
2024-08-12 14:31:39 +02:00
Santiago
5487ea444a
Alerting: Update remote Alertmanager config marshalling in test ( #91791 )
2024-08-12 13:45:22 +02:00
Andreas Christou
82d051f336
AzureMonitor: Mark Azure Prometheus exemplars as public preview ( #91674 )
...
Mark Azure Prom exemplars as public preview
2024-08-12 11:11:45 +01:00
Ieva
6e7bc028d0
RBCA: Better separation between action set svc and store ( #91491 )
...
better separation between action set svc and store
2024-08-12 10:07:33 +01:00
Ashley Harrison
ab3e8652aa
Adhoc Filters: add new feature toggle for 'one of' operator ( #91688 )
...
add new feature toggle for 'one of'
2024-08-12 09:56:42 +01:00
Karl Persson
7f1ae1cd54
Identity: Update authlib to version that has correct commit to claims ( #91784 )
...
* Update authlib to version that has correct commit to claims
2024-08-12 09:39:48 +02:00
Ryan McKinley
e106df6d0b
Auth: Update unified storage to depend on AuthInfo rather than Requester ( #91783 )
...
depend on authlib user info
2024-08-12 09:49:34 +03:00
Ryan McKinley
21d4a4f49e
Auth: use IdentityType from authlib ( #91763 )
2024-08-12 09:26:53 +03:00
Todd Treece
75f0b3a228
K8s: Test for changes to aggregator's postStartHooks ( #91771 )
2024-08-10 20:32:57 -04:00
Todd Treece
5972dd0b59
Chore: Update names of DisabledPostStartHooks ( #91767 )
2024-08-09 16:57:08 -04:00
Andreas Christou
24c9aad5bb
Bump grafana-azure-sdk-go and related dependencies ( #91124 )
...
* Bump Azure SDK and related dependencies
* Update go.mods
* update-workspace
* Update go files
2024-08-09 13:12:19 -04:00
Andreas Christou
ee18c64453
OpenTSDB: Fix test ( #91761 )
...
Fix test
2024-08-09 19:53:04 +03:00
Ryan McKinley
243c0935fc
Auth: Use claims.AuthInfo in requester ( #91739 )
2024-08-09 19:46:56 +03:00
Andreas Christou
06509712ec
OpenTSDB: Fix data frame construction ( #90991 )
...
* Update type and frame construction
* Update tests
* Keep dataField name as value
2024-08-09 17:16:29 +01:00
Yuri Tseretyan and brendamuir
1108a00668
Alerting: Support for optimistic concurrency in priovisioning Tempate API ( #91195 )
...
* support optimistic concurrency in template service
* update request handler to get version from query parameter
* return not found if a new template is set with version
* update PUT api to set version
* update documentation + for mute timings
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-08-09 11:40:07 -04:00
Agni Bhattacharyya
be32630de5
Auth: Skip email extraction when api url is not present ( #91699 )
...
* Auth: Skip email extraction when api url is not present
* fix lint: reduce cyclomatic complexity
2024-08-09 18:20:54 +03:00
Karl Persson
bcfb66b416
Identity: remove GetTypedID ( #91745 )
2024-08-09 18:20:24 +03:00
Michael Mandrus and Matheus Macabu
eee3a75b8b
CloudMigrations: Misc cleanup before codefreeze ( #91725 )
...
* fix retry logic
* slight adjustments
* fix disconnect and connect events
* Update pkg/services/cloudmigration/cloudmigrationimpl/snapshot_mgmt.go
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
---------
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
2024-08-09 17:38:08 +03:00
lean.dev
e20c7342a9
CloudMigration: Removes snapshot and resources when deleting a session ( #91548 )
2024-08-09 16:42:45 +03:00
Alexander Zobnin
1cc438a56c
Zanzana: Evaluate dashboard and folder permissions ( #91539 )
...
* Zanzana: basic folder permissions checks
* Fix managed permissions for teams
* fix sync batch size
* add dashboards actions translations
* migrate folder tree
* migrate dashboard folders
* remove action sets from schema
* Adding more dashboard and folder-related permissions
* refactor
* Correctly translate dashboard permissions in folders
* fix dashboard parent permissions
2024-08-09 13:48:56 +02:00
Todd Treece
122e291134
Chore: Add dataplaneAggregator feature toggle ( #91715 )
2024-08-09 04:41:07 -04:00
Todd Treece
c5c206d8a6
Semconv: Add k8s.dataplaneservice.name ( #91714 )
2024-08-09 04:39:37 -04:00
Todd Treece
7f155b2b6f
Chore: Add go workspace scripts ( #91707 )
2024-08-08 16:51:17 -04:00
Kristin Laemmert
54177ca619
experiment: use read replica for Get and Find Dashboards ( #91706 )
2024-08-08 14:22:55 -04:00