Panel Query Options: Support query caching options (#82448)

* schema update

* Panel Query Options: Support query caching options
This commit is contained in:
Dominik Prokop
2024-02-14 09:19:39 -08:00
committed by GitHub
parent f016f95298
commit 62efe6e170
11 changed files with 123 additions and 4 deletions

View File

@@ -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.
*/