add public dashboards feature flag (#47364)
This commit is contained in:
@@ -41,6 +41,7 @@ export interface FeatureToggles {
|
||||
showFeatureFlagsInUI?: boolean;
|
||||
disable_http_request_histogram?: boolean;
|
||||
validatedQueries?: boolean;
|
||||
publicDashboards?: boolean;
|
||||
lokiLive?: boolean;
|
||||
swaggerUi?: boolean;
|
||||
featureHighlights?: boolean;
|
||||
|
||||
@@ -143,6 +143,12 @@ var (
|
||||
State: FeatureStateAlpha,
|
||||
RequiresDevMode: true,
|
||||
},
|
||||
{
|
||||
Name: "publicDashboards",
|
||||
Description: "enables public access to dashboards",
|
||||
State: FeatureStateAlpha,
|
||||
RequiresDevMode: true,
|
||||
},
|
||||
{
|
||||
Name: "lokiLive",
|
||||
Description: "support websocket streaming for loki (early prototype)",
|
||||
|
||||
@@ -107,6 +107,10 @@ const (
|
||||
// only execute the query saved in a panel
|
||||
FlagValidatedQueries = "validatedQueries"
|
||||
|
||||
// FlagPublicDashboards
|
||||
// enables public access to dashboards
|
||||
FlagPublicDashboards = "publicDashboards"
|
||||
|
||||
// FlagLokiLive
|
||||
// support websocket streaming for loki (early prototype)
|
||||
FlagLokiLive = "lokiLive"
|
||||
|
||||
Reference in New Issue
Block a user