Plugins: Add feature toggles for long running queries (#54349)

* Add feature toggles for long running queries

* update feature flag name

* make feature toggle frontend only
This commit is contained in:
Kevin Yu 2022-09-05 08:39:45 -07:00 committed by GitHub
parent bfa35ff8d8
commit 34fe7a1119
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 0 deletions

View File

@ -65,4 +65,6 @@ export interface FeatureToggles {
topnav?: boolean;
customBranding?: boolean;
traceqlEditor?: boolean;
redshiftAsyncQueryDataSupport?: boolean;
athenaAsyncQueryDataSupport?: boolean;
}

View File

@ -273,5 +273,17 @@ var (
Description: "Show the TraceQL editor in the explore page",
State: FeatureStateAlpha,
},
{
Name: "redshiftAsyncQueryDataSupport",
Description: "Enable async query data support for Redshift",
State: FeatureStateAlpha,
FrontendOnly: true,
},
{
Name: "athenaAsyncQueryDataSupport",
Description: "Enable async query data support for Athena",
State: FeatureStateAlpha,
FrontendOnly: true,
},
}
)

View File

@ -202,4 +202,12 @@ const (
// FlagTraceqlEditor
// Show the TraceQL editor in the explore page
FlagTraceqlEditor = "traceqlEditor"
// FlagRedshiftAsyncQueryDataSupport
// Enable async query data support for Redshift
FlagRedshiftAsyncQueryDataSupport = "redshiftAsyncQueryDataSupport"
// FlagAthenaAsyncQueryDataSupport
// Enable async query data support for Athena
FlagAthenaAsyncQueryDataSupport = "athenaAsyncQueryDataSupport"
)