Class TimeSeriesQuery
TimeSeriesQuery collects the set of supported methods for querying time series data from the Stackdriver metrics API.
Implements
Inherited Members
Namespace: Google.Apis.Monitoring.v1.Data
Assembly: Google.Apis.Monitoring.v1.dll
Syntax
public class TimeSeriesQuery : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
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.
Declaration
[JsonProperty("opsAnalyticsQuery")]
public virtual OpsAnalyticsQuery OpsAnalyticsQuery { get; set; }
Property Value
Type | Description |
---|---|
OpsAnalyticsQuery |
OutputFullDuration
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
Declaration
[JsonProperty("outputFullDuration")]
public virtual bool? OutputFullDuration { get; set; }
Property Value
Type | Description |
---|---|
bool? |
PrometheusQuery
A query used to fetch time series with PromQL.
Declaration
[JsonProperty("prometheusQuery")]
public virtual string PrometheusQuery { get; set; }
Property Value
Type | Description |
---|---|
string |
TimeSeriesFilter
Filter parameters to fetch time series.
Declaration
[JsonProperty("timeSeriesFilter")]
public virtual TimeSeriesFilter TimeSeriesFilter { get; set; }
Property Value
Type | Description |
---|---|
TimeSeriesFilter |
TimeSeriesFilterRatio
Parameters to fetch a ratio between two time series filters.
Declaration
[JsonProperty("timeSeriesFilterRatio")]
public virtual TimeSeriesFilterRatio TimeSeriesFilterRatio { get; set; }
Property Value
Type | Description |
---|---|
TimeSeriesFilterRatio |
TimeSeriesQueryLanguage
A query used to fetch time series with MQL.
Declaration
[JsonProperty("timeSeriesQueryLanguage")]
public virtual string TimeSeriesQueryLanguage { get; set; }
Property Value
Type | Description |
---|---|
string |
UnitOverride
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.
Declaration
[JsonProperty("unitOverride")]
public virtual string UnitOverride { get; set; }
Property Value
Type | Description |
---|---|
string |