/** * NOTE: This file was auto generated. DO NOT EDIT DIRECTLY! * To change feature flags, edit: * pkg/services/featuremgmt/registry.go * Then run: * make gen-feature-toggles */ import { type ReactFlagEvaluationOptions } from "@openfeature/react-sdk"; export declare const FlagKeys: { /** Automatically syncs external Alertmanager datasource configuration as ExtraConfiguration in Grafana */ readonly AlertingSyncExternalAlertmanager: "alerting.syncExternalAlertmanager"; /** Enables new analytics framework */ readonly AnalyticsFramework: "analyticsFramework"; /** Enables the template dashboard assistant */ readonly AssistantFrontendToolsDashboardTemplates: "assistant.frontend.tools.dashboardTemplates"; /** Enables support for section level variables (rows and tabs) */ readonly DashboardSectionVariables: "dashboardSectionVariables"; /** Enables the Assistant button in the dashboard templates card */ readonly DashboardTemplatesAssistantButton: "dashboardTemplatesAssistantButton"; /** Use the new datasource API groups for datasource resource requests, frontend flag */ readonly DatasourcesApiserverUseNewAPIsForDatasourceResources: "datasources.apiserver.useNewAPIsForDatasourceResources"; /** Use the new datasource API groups for datasource CRUD requests, frontend flag */ readonly DatasourcesConfigUiUseNewDatasourceCRUDAPIs: "datasources.config.ui.useNewDatasourceCRUDAPIs"; /** Send Datsource health requests to /apis/ API routes instead of the legacy /api/datasources/uid/{uid}/health route. */ readonly DatasourcesApiServerEnableHealthEndpointFrontend: "datasourcesApiServerEnableHealthEndpointFrontend"; /** A/A test for recently viewed dashboards feature */ readonly ExperimentRecentlyViewedDashboards: "experimentRecentlyViewedDashboards"; /** Enable Faro session replay for Grafana */ readonly FaroSessionReplay: "faroSessionReplay"; /** Enables the new Flame Graph UI containing the Call Tree view */ readonly FlameGraphWithCallTree: "flameGraphWithCallTree"; /** Enables global and folder-scoped dashboard variables via dashboard.grafana.app */ readonly GlobalDashboardVariables: "globalDashboardVariables"; /** Enables UI changes for integrations that require a scope to always be selected (for example, hides the scope selector's Remove all button) */ readonly GrafanaEnableScopesFirstMode: "grafana.enableScopesFirstMode"; /** Enables usage of the new annotations API client */ readonly GrafanaKubernetesAnnotationsClient: "grafana.kubernetesAnnotationsClient"; /** Enables log level inference from log line contents when level is not defined as a field or a label */ readonly GrafanaLogLevelInference: "grafana.logLevelInference"; /** Enables a new UI for query errors and notices */ readonly GrafanaNewPanelQueryErrorsUI: "grafana.newPanelQueryErrorsUI"; /** Whether to use the new SharedPreferences functional component */ readonly GrafanaNewPreferencesPage: "grafana.newPreferencesPage"; /** Enables org-defined dashboard templates for enterprise */ readonly GrafanaOrgDashboardTemplates: "grafana.orgDashboardTemplates"; /** Enables firing an event for PanelEditNext feedback that triggers an in-house survey */ readonly GrafanaPanelEditNextFeedbackEvent: "grafana.panelEditNextFeedbackEvent"; /** Prevents flickering in dashboards */ readonly GrafanaScenesFlickeringFix: "grafana.scenesFlickeringFix"; /** Replaces the bundled home dashboard with the unified homepage React page */ readonly GrafanaUnifiedHomepage: "grafana.unifiedHomepage"; /** Enables the sidebar pane with new toggles and options in panel view mode */ readonly GrafanaViewPanelPane: "grafana.viewPanelPane"; /** Enables the new visual design refresh for the Grafana UI */ readonly GrafanaVisualDesignRefresh: "grafana.visualDesignRefresh"; /** Enables an inline version of Log Details that creates no new scrolls */ readonly InlineLogDetailsNoScrolls: "inlineLogDetailsNoScrolls"; /** Use stream shards to split queries into smaller subqueries */ readonly LokiShardSplitting: "lokiShardSplitting"; /** Enables managed plugins v2 (expanded rollout, community plugin coverage) */ readonly ManagedPluginsV2: "managedPluginsV2"; /** New Log Context component */ readonly NewLogContext: "newLogContext"; /** Enables the new logs panel */ readonly NewLogsPanel: "newLogsPanel"; /** Enables the new Saved queries (query library) modal experience */ readonly NewSavedQueriesExperience: "newSavedQueriesExperience"; /** Applies OTel formatting templates to displayed logs */ readonly OtelLogsFormatting: "otelLogsFormatting"; /** Initializes data source instance settings asynchronously from the API instead of synchronously from boot data */ readonly PluginsInitDataSourcesAsync: "plugins.initDataSourcesAsync"; /** Enables plugins setting from new apis */ readonly PluginsUseMTPluginSettings: "plugins.useMTPluginSettings"; /** Enables plugins decoupling from bootdata */ readonly PluginsUseMTPlugins: "plugins.useMTPlugins"; /** Enable configurable commit message, branch name, and pull request title conventions for Git Sync */ readonly ProvisioningGitConventions: "provisioning.gitConventions"; /** Render the README.md of a Git Sync provisioned folder inline below its dashboards list */ readonly ProvisioningReadmes: "provisioning.readmes"; /** Allow setting folder metadata for provisioned folders */ readonly ProvisioningFolderMetadata: "provisioningFolderMetadata"; /** Enables next generation query editor experience */ readonly QueryEditorNext: "queryEditorNext"; /** Store query history in browser IndexedDB instead of server-side */ readonly QueryHistoryLocalOnly: "queryHistory.localOnly"; /** Replace the Query History drawer with a new Recent Queries modal UI */ readonly QueryHistoryRecentQueriesUI: "queryHistory.recentQueriesUI"; /** Enables recently viewed dashboards section in the browsing dashboard page */ readonly RecentlyViewedDashboards: "recentlyViewedDashboards"; /** Enables reporting for any page in Grafana */ readonly ReportingAnyPageReporting: "reporting.anyPageReporting"; /** Enables the splash screen modal for introducing new Grafana features on first session */ readonly SplashScreen: "splashScreen"; /** Enables CodeMirror editor for SQL Expressions */ readonly SqlExpressionsCodeMirror: "sqlExpressionsCodeMirror"; /** Enables option to position series names above bars in the state timeline panel */ readonly StateTimelineNameAboveBars: "stateTimeline.nameAboveBars"; /** Enables the 'Customize with Assistant' button on suggested dashboard cards */ readonly SuggestedDashboardsAssistantButton: "suggestedDashboardsAssistantButton"; /** Enables a new internal parser for table panel which doesn't rely on constructing a dynamic function and works in more browser environments. */ readonly TableProtoRowParser: "table.protoRowParser"; }; /** * Automatically syncs external Alertmanager datasource configuration as ExtraConfiguration in Grafana * * **Details:** * - flag key: `alerting.syncExternalAlertmanager` * - default value: `false` */ export declare const useFlagAlertingSyncExternalAlertmanager: (options?: ReactFlagEvaluationOptions) => boolean; /** * Enables new analytics framework * * **Details:** * - flag key: `analyticsFramework` * - default value: `false` */ export declare const useFlagAnalyticsFramework: (options?: ReactFlagEvaluationOptions) => boolean; /** * Enables the template dashboard assistant * * **Details:** * - flag key: `assistant.frontend.tools.dashboardTemplates` * - default value: `false` */ export declare const useFlagAssistantFrontendToolsDashboardTemplates: (options?: ReactFlagEvaluationOptions) => boolean; /** * Enables support for section level variables (rows and tabs) * * **Details:** * - flag key: `dashboardSectionVariables` * - default value: `true` */ export declare const useFlagDashboardSectionVariables: (options?: ReactFlagEvaluationOptions) => boolean; /** * Enables the Assistant button in the dashboard templates card * * **Details:** * - flag key: `dashboardTemplatesAssistantButton` * - default value: `false` */ export declare const useFlagDashboardTemplatesAssistantButton: (options?: ReactFlagEvaluationOptions) => boolean; /** * Use the new datasource API groups for datasource resource requests, frontend flag * * **Details:** * - flag key: `datasources.apiserver.useNewAPIsForDatasourceResources` * - default value: `false` */ export declare const useFlagDatasourcesApiserverUseNewAPIsForDatasourceResources: (options?: ReactFlagEvaluationOptions) => boolean; /** * Use the new datasource API groups for datasource CRUD requests, frontend flag * * **Details:** * - flag key: `datasources.config.ui.useNewDatasourceCRUDAPIs` * - default value: `false` */ export declare const useFlagDatasourcesConfigUiUseNewDatasourceCRUDAPIs: (options?: ReactFlagEvaluationOptions) => boolean; /** * Send Datsource health requests to /apis/ API routes instead of the legacy /api/datasources/uid/{uid}/health route. * * **Details:** * - flag key: `datasourcesApiServerEnableHealthEndpointFrontend` * - default value: `false` */ export declare const useFlagDatasourcesApiServerEnableHealthEndpointFrontend: (options?: ReactFlagEvaluationOptions) => boolean; /** * A/A test for recently viewed dashboards feature * * **Details:** * - flag key: `experimentRecentlyViewedDashboards` * - default value: `false` */ export declare const useFlagExperimentRecentlyViewedDashboards: (options?: ReactFlagEvaluationOptions) => boolean; /** * Enable Faro session replay for Grafana * * **Details:** * - flag key: `faroSessionReplay` * - default value: `false` */ export declare const useFlagFaroSessionReplay: (options?: ReactFlagEvaluationOptions) => boolean; /** * Enables the new Flame Graph UI containing the Call Tree view * * **Details:** * - flag key: `flameGraphWithCallTree` * - default value: `false` */ export declare const useFlagFlameGraphWithCallTree: (options?: ReactFlagEvaluationOptions) => boolean; /** * Enables global and folder-scoped dashboard variables via dashboard.grafana.app * * **Details:** * - flag key: `globalDashboardVariables` * - default value: `false` */ export declare const useFlagGlobalDashboardVariables: (options?: ReactFlagEvaluationOptions) => boolean; /** * Enables UI changes for integrations that require a scope to always be selected (for example, hides the scope selector's Remove all button) * * **Details:** * - flag key: `grafana.enableScopesFirstMode` * - default value: `false` */ export declare const useFlagGrafanaEnableScopesFirstMode: (options?: ReactFlagEvaluationOptions) => boolean; /** * Enables usage of the new annotations API client * * **Details:** * - flag key: `grafana.kubernetesAnnotationsClient` * - default value: `false` */ export declare const useFlagGrafanaKubernetesAnnotationsClient: (options?: ReactFlagEvaluationOptions) => boolean; /** * Enables log level inference from log line contents when level is not defined as a field or a label * * **Details:** * - flag key: `grafana.logLevelInference` * - default value: `false` */ export declare const useFlagGrafanaLogLevelInference: (options?: ReactFlagEvaluationOptions) => boolean; /** * Enables a new UI for query errors and notices * * **Details:** * - flag key: `grafana.newPanelQueryErrorsUI` * - default value: `false` */ export declare const useFlagGrafanaNewPanelQueryErrorsUI: (options?: ReactFlagEvaluationOptions) => boolean; /** * Whether to use the new SharedPreferences functional component * * **Details:** * - flag key: `grafana.newPreferencesPage` * - default value: `false` */ export declare const useFlagGrafanaNewPreferencesPage: (options?: ReactFlagEvaluationOptions) => boolean; /** * Enables org-defined dashboard templates for enterprise * * **Details:** * - flag key: `grafana.orgDashboardTemplates` * - default value: `false` */ export declare const useFlagGrafanaOrgDashboardTemplates: (options?: ReactFlagEvaluationOptions) => boolean; /** * Enables firing an event for PanelEditNext feedback that triggers an in-house survey * * **Details:** * - flag key: `grafana.panelEditNextFeedbackEvent` * - default value: `false` */ export declare const useFlagGrafanaPanelEditNextFeedbackEvent: (options?: ReactFlagEvaluationOptions) => boolean; /** * Prevents flickering in dashboards * * **Details:** * - flag key: `grafana.scenesFlickeringFix` * - default value: `true` */ export declare const useFlagGrafanaScenesFlickeringFix: (options?: ReactFlagEvaluationOptions) => boolean; /** * Replaces the bundled home dashboard with the unified homepage React page * * **Details:** * - flag key: `grafana.unifiedHomepage` * - default value: `false` */ export declare const useFlagGrafanaUnifiedHomepage: (options?: ReactFlagEvaluationOptions) => boolean; /** * Enables the sidebar pane with new toggles and options in panel view mode * * **Details:** * - flag key: `grafana.viewPanelPane` * - default value: `false` */ export declare const useFlagGrafanaViewPanelPane: (options?: ReactFlagEvaluationOptions) => boolean; /** * Enables the new visual design refresh for the Grafana UI * * **Details:** * - flag key: `grafana.visualDesignRefresh` * - default value: `false` */ export declare const useFlagGrafanaVisualDesignRefresh: (options?: ReactFlagEvaluationOptions) => boolean; /** * Enables an inline version of Log Details that creates no new scrolls * * **Details:** * - flag key: `inlineLogDetailsNoScrolls` * - default value: `false` */ export declare const useFlagInlineLogDetailsNoScrolls: (options?: ReactFlagEvaluationOptions) => boolean; /** * Use stream shards to split queries into smaller subqueries * * **Details:** * - flag key: `lokiShardSplitting` * - default value: `false` */ export declare const useFlagLokiShardSplitting: (options?: ReactFlagEvaluationOptions) => boolean; /** * Enables managed plugins v2 (expanded rollout, community plugin coverage) * * **Details:** * - flag key: `managedPluginsV2` * - default value: `false` */ export declare const useFlagManagedPluginsV2: (options?: ReactFlagEvaluationOptions) => boolean; /** * New Log Context component * * **Details:** * - flag key: `newLogContext` * - default value: `true` */ export declare const useFlagNewLogContext: (options?: ReactFlagEvaluationOptions) => boolean; /** * Enables the new logs panel * * **Details:** * - flag key: `newLogsPanel` * - default value: `true` */ export declare const useFlagNewLogsPanel: (options?: ReactFlagEvaluationOptions) => boolean; /** * Enables the new Saved queries (query library) modal experience * * **Details:** * - flag key: `newSavedQueriesExperience` * - default value: `false` */ export declare const useFlagNewSavedQueriesExperience: (options?: ReactFlagEvaluationOptions) => boolean; /** * Applies OTel formatting templates to displayed logs * * **Details:** * - flag key: `otelLogsFormatting` * - default value: `false` */ export declare const useFlagOtelLogsFormatting: (options?: ReactFlagEvaluationOptions) => boolean; /** * Initializes data source instance settings asynchronously from the API instead of synchronously from boot data * * **Details:** * - flag key: `plugins.initDataSourcesAsync` * - default value: `false` */ export declare const useFlagPluginsInitDataSourcesAsync: (options?: ReactFlagEvaluationOptions) => boolean; /** * Enables plugins setting from new apis * * **Details:** * - flag key: `plugins.useMTPluginSettings` * - default value: `false` */ export declare const useFlagPluginsUseMTPluginSettings: (options?: ReactFlagEvaluationOptions) => boolean; /** * Enables plugins decoupling from bootdata * * **Details:** * - flag key: `plugins.useMTPlugins` * - default value: `false` */ export declare const useFlagPluginsUseMTPlugins: (options?: ReactFlagEvaluationOptions) => boolean; /** * Enable configurable commit message, branch name, and pull request title conventions for Git Sync * * **Details:** * - flag key: `provisioning.gitConventions` * - default value: `false` */ export declare const useFlagProvisioningGitConventions: (options?: ReactFlagEvaluationOptions) => boolean; /** * Render the README.md of a Git Sync provisioned folder inline below its dashboards list * * **Details:** * - flag key: `provisioning.readmes` * - default value: `true` */ export declare const useFlagProvisioningReadmes: (options?: ReactFlagEvaluationOptions) => boolean; /** * Allow setting folder metadata for provisioned folders * * **Details:** * - flag key: `provisioningFolderMetadata` * - default value: `true` */ export declare const useFlagProvisioningFolderMetadata: (options?: ReactFlagEvaluationOptions) => boolean; /** * Enables next generation query editor experience * * **Details:** * - flag key: `queryEditorNext` * - default value: `false` */ export declare const useFlagQueryEditorNext: (options?: ReactFlagEvaluationOptions) => boolean; /** * Store query history in browser IndexedDB instead of server-side * * **Details:** * - flag key: `queryHistory.localOnly` * - default value: `false` */ export declare const useFlagQueryHistoryLocalOnly: (options?: ReactFlagEvaluationOptions) => boolean; /** * Replace the Query History drawer with a new Recent Queries modal UI * * **Details:** * - flag key: `queryHistory.recentQueriesUI` * - default value: `false` */ export declare const useFlagQueryHistoryRecentQueriesUI: (options?: ReactFlagEvaluationOptions) => boolean; /** * Enables recently viewed dashboards section in the browsing dashboard page * * **Details:** * - flag key: `recentlyViewedDashboards` * - default value: `false` */ export declare const useFlagRecentlyViewedDashboards: (options?: ReactFlagEvaluationOptions) => boolean; /** * Enables reporting for any page in Grafana * * **Details:** * - flag key: `reporting.anyPageReporting` * - default value: `false` */ export declare const useFlagReportingAnyPageReporting: (options?: ReactFlagEvaluationOptions) => boolean; /** * Enables the splash screen modal for introducing new Grafana features on first session * * **Details:** * - flag key: `splashScreen` * - default value: `false` */ export declare const useFlagSplashScreen: (options?: ReactFlagEvaluationOptions) => boolean; /** * Enables CodeMirror editor for SQL Expressions * * **Details:** * - flag key: `sqlExpressionsCodeMirror` * - default value: `false` */ export declare const useFlagSqlExpressionsCodeMirror: (options?: ReactFlagEvaluationOptions) => boolean; /** * Enables option to position series names above bars in the state timeline panel * * **Details:** * - flag key: `stateTimeline.nameAboveBars` * - default value: `false` */ export declare const useFlagStateTimelineNameAboveBars: (options?: ReactFlagEvaluationOptions) => boolean; /** * Enables the 'Customize with Assistant' button on suggested dashboard cards * * **Details:** * - flag key: `suggestedDashboardsAssistantButton` * - default value: `false` */ export declare const useFlagSuggestedDashboardsAssistantButton: (options?: ReactFlagEvaluationOptions) => boolean; /** * Enables a new internal parser for table panel which doesn't rely on constructing a dynamic function and works in more browser environments. * * **Details:** * - flag key: `table.protoRowParser` * - default value: `false` */ export declare const useFlagTableProtoRowParser: (options?: ReactFlagEvaluationOptions) => boolean;