Plugins: Add toggle for prioritizing loading plugins from CDN (#111671)
add toggle for loading cdn plugins first
This commit is contained in:
@@ -1188,4 +1188,9 @@ export interface FeatureToggles {
|
||||
* @default false
|
||||
*/
|
||||
filterOutBotsFromFrontendLogs?: boolean;
|
||||
/**
|
||||
* Prioritize loading plugins from the CDN before other sources
|
||||
* @default false
|
||||
*/
|
||||
cdnPluginsLoadFirst?: boolean;
|
||||
}
|
||||
|
||||
@@ -2061,6 +2061,14 @@ var (
|
||||
Owner: grafanaPluginsPlatformSquad,
|
||||
Expression: "false",
|
||||
},
|
||||
{
|
||||
Name: "cdnPluginsLoadFirst",
|
||||
Description: "Prioritize loading plugins from the CDN before other sources",
|
||||
Stage: FeatureStageExperimental,
|
||||
FrontendOnly: false,
|
||||
Owner: grafanaPluginsPlatformSquad,
|
||||
Expression: "false",
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
@@ -264,3 +264,4 @@ dskitBackgroundServices,experimental,@grafana/plugins-platform-backend,false,tru
|
||||
pluginContainers,privatePreview,@grafana/plugins-platform-backend,false,true,false
|
||||
tempoSearchBackendMigration,GA,@grafana/oss-big-tent,false,true,false
|
||||
filterOutBotsFromFrontendLogs,experimental,@grafana/plugins-platform-backend,false,false,true
|
||||
cdnPluginsLoadFirst,experimental,@grafana/plugins-platform-backend,false,false,false
|
||||
|
||||
|
@@ -1066,4 +1066,8 @@ const (
|
||||
// FlagFilterOutBotsFromFrontendLogs
|
||||
// Filter out bots from collecting data for Frontend Observability
|
||||
FlagFilterOutBotsFromFrontendLogs = "filterOutBotsFromFrontendLogs"
|
||||
|
||||
// FlagCdnPluginsLoadFirst
|
||||
// Prioritize loading plugins from the CDN before other sources
|
||||
FlagCdnPluginsLoadFirst = "cdnPluginsLoadFirst"
|
||||
)
|
||||
|
||||
@@ -836,6 +836,33 @@
|
||||
"frontend": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"metadata": {
|
||||
"name": "cdnPluginsLoadFirst",
|
||||
"resourceVersion": "1758882341746",
|
||||
"creationTimestamp": "2025-09-26T10:25:41Z"
|
||||
},
|
||||
"spec": {
|
||||
"description": "Prioritize loading plugins from the CDN before other sources",
|
||||
"stage": "experimental",
|
||||
"codeowner": "@grafana/plugins-platform-backend",
|
||||
"expression": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"metadata": {
|
||||
"name": "cdnPluginsLoadedFirst",
|
||||
"resourceVersion": "1758881920003",
|
||||
"creationTimestamp": "2025-09-26T10:18:40Z",
|
||||
"deletionTimestamp": "2025-09-26T10:25:41Z"
|
||||
},
|
||||
"spec": {
|
||||
"description": "Prioritize loading plugins from the CDN before other sources",
|
||||
"stage": "experimental",
|
||||
"codeowner": "@grafana/plugins-platform-backend",
|
||||
"expression": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"metadata": {
|
||||
"name": "cloudRBACRoles",
|
||||
|
||||
Reference in New Issue
Block a user