mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Panel Query Options: Support query caching options (#82448)
* schema update * Panel Query Options: Support query caching options
This commit is contained in:
@@ -692,6 +692,10 @@ export const defaultDashboardCursorSync: DashboardCursorSync = DashboardCursorSy
|
||||
* Dashboard panels are the basic visualization building blocks.
|
||||
*/
|
||||
export interface Panel {
|
||||
/**
|
||||
* Sets panel queries cache timeout.
|
||||
*/
|
||||
cacheTimeout?: string;
|
||||
/**
|
||||
* The datasource used in all targets.
|
||||
*/
|
||||
@@ -748,6 +752,10 @@ export interface Panel {
|
||||
* The version of the plugin that is used for this panel. This is used to find the plugin to display the panel and to migrate old panel configs.
|
||||
*/
|
||||
pluginVersion?: string;
|
||||
/**
|
||||
* Overrides the data source configured time-to-live for a query cache item in milliseconds
|
||||
*/
|
||||
queryCachingTTL?: number;
|
||||
/**
|
||||
* Name of template variable to repeat for.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user