Time Series Query Response
data class TimeSeriesQueryResponse(val prometheusQuery: String, val timeSeriesFilter: TimeSeriesFilterResponse, val timeSeriesFilterRatio: TimeSeriesFilterRatioResponse, val timeSeriesQueryLanguage: String, val unitOverride: String)
TimeSeriesQuery collects the set of supported methods for querying time series data from the Stackdriver metrics API.
Constructors
Link copied to clipboard
constructor(prometheusQuery: String, timeSeriesFilter: TimeSeriesFilterResponse, timeSeriesFilterRatio: TimeSeriesFilterRatioResponse, timeSeriesQueryLanguage: String, unitOverride: String)
Properties
Link copied to clipboard
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
A query used to fetch time series with MQL.
Link copied to clipboard
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.