TimeSeriesQueryArgs

data class TimeSeriesQueryArgs(val prometheusQuery: Output<String>? = null, val timeSeriesFilter: Output<TimeSeriesFilterArgs>? = null, val timeSeriesFilterRatio: Output<TimeSeriesFilterRatioArgs>? = null, val timeSeriesQueryLanguage: Output<String>? = null, val unitOverride: Output<String>? = null) : ConvertibleToJava<TimeSeriesQueryArgs>

TimeSeriesQuery collects the set of supported methods for querying time series data from the Stackdriver metrics API.

Constructors

Link copied to clipboard
fun TimeSeriesQueryArgs(prometheusQuery: Output<String>? = null, timeSeriesFilter: Output<TimeSeriesFilterArgs>? = null, timeSeriesFilterRatio: Output<TimeSeriesFilterRatioArgs>? = null, timeSeriesQueryLanguage: Output<String>? = null, unitOverride: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): TimeSeriesQueryArgs

Properties

Link copied to clipboard
val prometheusQuery: Output<String>? = null

A query used to fetch time series with PromQL.

Link copied to clipboard

Filter parameters to fetch time series.

Link copied to clipboard

Parameters to fetch a ratio between two time series filters.

Link copied to clipboard
val timeSeriesQueryLanguage: Output<String>? = null

A query used to fetch time series with MQL.

Link copied to clipboard
val unitOverride: Output<String>? = null

The unit of data contained in fetched time series. If non-empty, this unit will override any unit that accompanies fetched data. The format is the same as the unit (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) field in MetricDescriptor.