Explore: Implement feature toggle for logs sample (#62291)

* Explore: Implement feature toggle for logs sample

* Run pkg/services/featuremgmt/toggles_gen_test.go

* Remove boolean

* Update copy
This commit is contained in:
Ivana Huckova
2023-01-27 17:30:25 +01:00
committed by GitHub
parent 1ef7cfda3f
commit d5294eb8fa
5 changed files with 17 additions and 1 deletions
+8
View File
@@ -426,6 +426,14 @@ var (
State: FeatureStateBeta,
FrontendOnly: true,
},
{
Name: "logsSampleInExplore",
Description: "Enables access to the logs sample feature in Explore",
State: FeatureStateStable,
Expression: "true", //turned on by default
FrontendOnly: true,
},
{
Name: "logsContextDatasourceUi",
Description: "Allow datasource to provide custom UI for context view",
+4
View File
@@ -311,6 +311,10 @@ const (
// Launch the Command Palette from the top navigation search box
FlagTopNavCommandPalette = "topNavCommandPalette"
// FlagLogsSampleInExplore
// Enables access to the logs sample feature in Explore
FlagLogsSampleInExplore = "logsSampleInExplore"
// FlagLogsContextDatasourceUi
// Allow datasource to provide custom UI for context view
FlagLogsContextDatasourceUi = "logsContextDatasourceUi"