mirror of
https://github.com/grafana/grafana.git
synced 2025-01-17 12:03:26 -06:00
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"
|
||
|
}
|