Graph Panel: Add feature toggle that will allow automatic migration to timeseries panel (#50631)

This commit is contained in:
Ryan McKinley
2022-06-10 17:12:56 -07:00
committed by GitHub
parent b6f97e8101
commit ae8dd73770
4 changed files with 46 additions and 5 deletions

View File

@@ -221,6 +221,12 @@ var (
State: FeatureStateAlpha,
RequiresRestart: true,
},
{
Name: "autoMigrateGraphPanels",
Description: "Replace the angular graph panel with timeseries",
State: FeatureStateBeta,
FrontendOnly: true,
},
{
Name: "prometheusWideSeries",
Description: "Enable wide series responses in the Prometheus datasource",

View File

@@ -163,6 +163,10 @@ const (
// Validate dashboard JSON POSTed to api/dashboards/db
FlagValidateDashboardsOnSave = "validateDashboardsOnSave"
// FlagAutoMigrateGraphPanels
// Replace the angular graph panel with timeseries
FlagAutoMigrateGraphPanels = "autoMigrateGraphPanels"
// FlagPrometheusWideSeries
// Enable wide series responses in the Prometheus datasource
FlagPrometheusWideSeries = "prometheusWideSeries"