Use dw dynamic config (#91222)

* Remove kubernetesPlaylists feature_toggle

* Remove unified_storage_mode

* Remove double import

* Regenerate feature-toggles

* Read from config instead from feature_toggle

* cover scenario for when unified storage is not defined
This commit is contained in:
Leonor Oliveira
2024-08-13 09:03:28 +01:00
committed by GitHub
parent b67bcdb9b8
commit 0258842f87
14 changed files with 31 additions and 70 deletions

View File

@@ -112,7 +112,6 @@ export interface FeatureToggles {
disableClassicHTTPHistogram?: boolean;
formatString?: boolean;
transformationsVariableSupport?: boolean;
kubernetesPlaylists?: boolean;
kubernetesSnapshots?: boolean;
kubernetesDashboards?: boolean;
datasourceQueryTypes?: boolean;

View File

@@ -185,6 +185,7 @@ export class GrafanaBootConfig implements GrafanaConfig {
cloudMigrationPollIntervalMs = 2000;
reportingStaticContext?: Record<string, string>;
exploreDefaultTimeOffset = '1h';
unifiedStorage: Map<string, number> = new Map<string, number>();
/**
* Language used in Grafana's UI. This is after the user's preference (or deteceted locale) is resolved to one of