Plugins: Add feature toggle for plugins auto-update (#103993)

This commit is contained in:
Hugo Kiyodi Oshiro
2025-04-16 13:44:39 +02:00
committed by GitHub
parent 519b75bd1e
commit c947732e0d
5 changed files with 29 additions and 0 deletions
@@ -1032,4 +1032,8 @@ export interface FeatureToggles {
* Enables creating metrics from profiles and storing them as recording rules
*/
metricsFromProfiles?: boolean;
/**
* Enables auto-updating of users installed plugins
*/
pluginsAutoUpdate?: boolean;
}
+8
View File
@@ -1775,6 +1775,14 @@ var (
Owner: grafanaObservabilityTracesAndProfilingSquad,
FrontendOnly: true,
},
{
Name: "pluginsAutoUpdate",
Description: "Enables auto-updating of users installed plugins",
Stage: FeatureStageExperimental,
FrontendOnly: false,
Owner: grafanaPluginsPlatformSquad,
},
}
)
+1
View File
@@ -232,3 +232,4 @@ localizationForPlugins,experimental,@grafana/plugins-platform-backend,false,fals
unifiedNavbars,GA,@grafana/plugins-platform-backend,false,false,true
logsPanelControls,preview,@grafana/observability-logs,false,false,true
metricsFromProfiles,experimental,@grafana/observability-traces-and-profiling,false,false,true
pluginsAutoUpdate,experimental,@grafana/plugins-platform-backend,false,false,false
1 Name Stage Owner requiresDevMode RequiresRestart FrontendOnly
232 unifiedNavbars GA @grafana/plugins-platform-backend false false true
233 logsPanelControls preview @grafana/observability-logs false false true
234 metricsFromProfiles experimental @grafana/observability-traces-and-profiling false false true
235 pluginsAutoUpdate experimental @grafana/plugins-platform-backend false false false
+4
View File
@@ -938,4 +938,8 @@ const (
// FlagMetricsFromProfiles
// Enables creating metrics from profiles and storing them as recording rules
FlagMetricsFromProfiles = "metricsFromProfiles"
// FlagPluginsAutoUpdate
// Enables auto-updating of users installed plugins
FlagPluginsAutoUpdate = "pluginsAutoUpdate"
)
+12
View File
@@ -2449,6 +2449,18 @@
"frontend": true
}
},
{
"metadata": {
"name": "pluginsAutoUpdate",
"resourceVersion": "1744729584489",
"creationTimestamp": "2025-04-15T15:06:24Z"
},
"spec": {
"description": "Enables auto-updating of users installed plugins",
"stage": "experimental",
"codeowner": "@grafana/plugins-platform-backend"
}
},
{
"metadata": {
"name": "pluginsCDNSyncLoader",