mirror of
https://github.com/grafana/grafana.git
synced 2026-08-13 06:34:55 -05:00
Panel Query Options: Support query caching options (#82448)
* schema update * Panel Query Options: Support query caching options
This commit is contained in:
@@ -505,6 +505,9 @@ type MatcherConfig struct {
|
||||
|
||||
// Dashboard panels are the basic visualization building blocks.
|
||||
type Panel struct {
|
||||
// Sets panel queries cache timeout.
|
||||
CacheTimeout *string `json:"cacheTimeout,omitempty"`
|
||||
|
||||
// Ref to a DataSource instance
|
||||
Datasource *DataSourceRef `json:"datasource,omitempty"`
|
||||
|
||||
@@ -552,6 +555,9 @@ type Panel struct {
|
||||
// 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 `json:"pluginVersion,omitempty"`
|
||||
|
||||
// Overrides the data source configured time-to-live for a query cache item in milliseconds
|
||||
QueryCachingTTL *float32 `json:"queryCachingTTL,omitempty"`
|
||||
|
||||
// Name of template variable to repeat for.
|
||||
Repeat *string `json:"repeat,omitempty"`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user