diff --git a/docs/sources/administration/configuration.md b/docs/sources/administration/configuration.md index 4a9106482d3..6ac1f0f6015 100644 --- a/docs/sources/administration/configuration.md +++ b/docs/sources/administration/configuration.md @@ -1371,6 +1371,14 @@ Configures the Profile section. Enable or disable the Profile section. Default is `enabled`. +## [query_history] + +Configures Query history in Explore. + +### enabled + +Enable or disable the Query history. Default is `disabled`. + ## [metrics] For detailed instructions, refer to [Internal Grafana metrics]({{< relref "view-server/internal-metrics.md" >}}). diff --git a/packages/grafana-data/src/types/config.ts b/packages/grafana-data/src/types/config.ts index bc7c0f13a15..f1233175bc0 100644 --- a/packages/grafana-data/src/types/config.ts +++ b/packages/grafana-data/src/types/config.ts @@ -153,6 +153,7 @@ export interface GrafanaConfig { alertingMinInterval: number; authProxyEnabled: boolean; exploreEnabled: boolean; + queryHistoryEnabled: boolean; helpEnabled: boolean; profileEnabled: boolean; ldapEnabled: boolean; diff --git a/packages/grafana-runtime/src/config.ts b/packages/grafana-runtime/src/config.ts index a37143b9de8..9aef491b0c8 100644 --- a/packages/grafana-runtime/src/config.ts +++ b/packages/grafana-runtime/src/config.ts @@ -47,6 +47,7 @@ export class GrafanaBootConfig implements GrafanaConfig { angularSupportEnabled = false; authProxyEnabled = false; exploreEnabled = false; + queryHistoryEnabled = false; helpEnabled = false; profileEnabled = false; ldapEnabled = false;