mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
This reverts commit 20b603ee1a
.
This commit is contained in:
committed by
GitHub
parent
367a403406
commit
924224eefb
@@ -1391,7 +1391,7 @@ For more information about Grafana Enterprise, refer to [Grafana Enterprise]({{<
|
||||
|
||||
### enable
|
||||
|
||||
Keys of alpha features to enable, separated by space. Available alpha features are: `transformations`, `standaloneAlerts`
|
||||
Keys of alpha features to enable, separated by space. Available alpha features are: `transformations`
|
||||
|
||||
## [date_formats]
|
||||
|
||||
|
@@ -42,7 +42,6 @@ export interface FeatureToggles {
|
||||
meta: boolean;
|
||||
datasourceInsights: boolean;
|
||||
reportGrid: boolean;
|
||||
standaloneAlerts: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -56,7 +56,6 @@ export class GrafanaBootConfig implements GrafanaConfig {
|
||||
meta: false,
|
||||
datasourceInsights: false,
|
||||
reportGrid: false,
|
||||
standaloneAlerts: false,
|
||||
};
|
||||
licenseInfo: LicenseInfo = {} as LicenseInfo;
|
||||
rendererAvailable = false;
|
||||
|
@@ -315,11 +315,6 @@ func (c Cfg) IsExpressionsEnabled() bool {
|
||||
return c.FeatureToggles["expressions"]
|
||||
}
|
||||
|
||||
// IsStandaloneAlertsEnabled returns whether the standalone alerts feature is enabled.
|
||||
func (c Cfg) IsStandaloneAlertsEnabled() bool {
|
||||
return c.FeatureToggles["standaloneAlerts"]
|
||||
}
|
||||
|
||||
// IsLiveEnabled returns if grafana live should be enabled
|
||||
func (c Cfg) IsLiveEnabled() bool {
|
||||
return c.FeatureToggles["live"]
|
||||
|
Reference in New Issue
Block a user