Schema: Remove key from root DataQuery type (#64467)
This commit is contained in:
@@ -54,14 +54,13 @@ type LokiDataQuery struct {
|
||||
Expr string `json:"expr"`
|
||||
|
||||
// Hide true if query is disabled (ie should not be returned to the dashboard)
|
||||
// Note this does not always imply that the query should not be executed since
|
||||
// the results from a hidden query may be used as the input to other queries (SSE etc)
|
||||
Hide *bool `json:"hide,omitempty"`
|
||||
|
||||
// @deprecated, now use queryType.
|
||||
Instant *bool `json:"instant,omitempty"`
|
||||
|
||||
// Unique, guid like, string used in explore mode
|
||||
Key *string `json:"key,omitempty"`
|
||||
|
||||
// Used to override the name of the series.
|
||||
LegendFormat *string `json:"legendFormat,omitempty"`
|
||||
|
||||
@@ -75,7 +74,9 @@ type LokiDataQuery struct {
|
||||
// @deprecated, now use queryType.
|
||||
Range *bool `json:"range,omitempty"`
|
||||
|
||||
// A - Z
|
||||
// A unique identifier for the query within the list of targets.
|
||||
// In server side expressions, the refId is used as a variable name to identify results.
|
||||
// By default, the UI will assign A->Z; however setting meaningful names may be useful.
|
||||
RefId string `json:"refId"`
|
||||
|
||||
// Used to scale the interval value.
|
||||
|
||||
Reference in New Issue
Block a user