mirror of
https://github.com/grafana/grafana.git
synced 2024-11-28 03:34:15 -06:00
a6eebc22e8
* cue mod init github.com/grafana/grafana/dashboard-schemas * dashboard-schemas: Document exporting to OpenAPI Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
20 lines
485 B
CUE
20 lines
485 B
CUE
package targets
|
|
|
|
#Prometheus: {
|
|
// Query expression.
|
|
expr: string
|
|
// Controls the name of the time series, using name or pattern.
|
|
legendFormat?: string
|
|
// Interval.
|
|
interval?: int | *1
|
|
// Target reference ID.
|
|
refId: string
|
|
// Perform an “instant” query, to return only the latest value that
|
|
// Prometheus has scraped for the requested time series.
|
|
instant: bool | *false
|
|
// Resolution.
|
|
intervalFactor?: int
|
|
// Format.
|
|
format: *"time_series" | "table" | "heat_map"
|
|
}
|