Skip to content

Commit

Permalink
FrameMeta: add PreferredVisualizationPluginId field to API (#705)
Browse files Browse the repository at this point in the history
* FrameMeta: add PreferredVisualizationPluginId field to API

* FrameMeta: add PreferredVisualizationPluginId field to API
  • Loading branch information
Umaaz authored Jul 7, 2023
1 parent a5f7ed7 commit 6a36850
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data/frame_meta.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ type FrameMeta struct {
// PreferredVisualization is currently used to show results in Explore only in preferred visualisation option.
PreferredVisualization VisType `json:"preferredVisualisationType,omitempty"`

// PreferredVisualizationPluginId sets the panel plugin id to use to render the data when using Explore. If
// the plugin cannot be found will fall back to PreferredVisualization.
PreferredVisualizationPluginID string `json:"preferredVisualisationPluginId,omitempty"`

// ExecutedQueryString is the raw query sent to the underlying system. All macros and templating
// have been applied. When metadata contains this value, it will be shown in the query inspector.
ExecutedQueryString string `json:"executedQueryString,omitempty"`
Expand Down

0 comments on commit 6a36850

Please sign in to comment.