TimeSeriesQuery class
TimeSeriesQuery collects the set of supported methods for querying time series data from the Stackdriver metrics API.
Constructors
-
TimeSeriesQuery({Input<
OpsAnalyticsQuery> ? opsAnalyticsQuery, Input<bool> ? outputFullDuration, Input<String> ? prometheusQuery, Input<TimeSeriesFilter> ? timeSeriesFilter, Input<TimeSeriesFilterRatio> ? timeSeriesFilterRatio, Input<String> ? timeSeriesQueryLanguage, Input<String> ? unitOverride}) -
Creates a new TimeSeriesQuery.
opsAnalyticsQueryPreview: A query used to fetch a time series, category series, or numeric series with SQL. This is a preview feature and may be subject to change before final release.outputFullDurationOptional. If set, Cloud Monitoring will treat the full query duration as the alignment period so that there will be only 1 output value.*Note: This could override the configured alignment period except for the cases where a series of data points are expected, like - XyChart - Scorecard's spark chartprometheusQueryA query used to fetch time series with PromQL.timeSeriesFilterFilter parameters to fetch time series.timeSeriesFilterRatioParameters to fetch a ratio between two time series filters.timeSeriesQueryLanguageA query used to fetch time series with MQL.unitOverrideThe 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.const -
TimeSeriesQuery.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
opsAnalyticsQuery
→ Input<
OpsAnalyticsQuery> ? -
Preview: A query used to fetch a time series, category series, or numeric series with SQL. This is a preview feature and may be subject to change before final release.
final
-
outputFullDuration
→ Input<
bool> ? -
Optional. If set, Cloud Monitoring will treat the full query duration as the alignment period so that there will be only 1 output value.*Note: This could override the configured alignment period except for the cases where a series of data points are expected, like - XyChart - Scorecard's spark chart
final
-
prometheusQuery
→ Input<
String> ? -
A query used to fetch time series with PromQL.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
timeSeriesFilter
→ Input<
TimeSeriesFilter> ? -
Filter parameters to fetch time series.
final
-
timeSeriesFilterRatio
→ Input<
TimeSeriesFilterRatio> ? -
Parameters to fetch a ratio between two time series filters.
final
-
timeSeriesQueryLanguage
→ Input<
String> ? -
A query used to fetch time series with MQL.
final
-
unitOverride
→ Input<
String> ? -
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.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited