Reference documentation and code samples for the Cloud Monitoring Dashboards V1 API class Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesQuery.
TimeSeriesQuery collects the set of supported methods for querying time series data from the Stackdriver metrics API.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#output_full_duration
def output_full_duration() -> ::Boolean
-
(::Boolean) —
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
#output_full_duration=
def output_full_duration=(value) -> ::Boolean
-
value (::Boolean) —
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
-
(::Boolean) —
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
#prometheus_query
def prometheus_query() -> ::String
- (::String) — A query used to fetch time series with PromQL.
#prometheus_query=
def prometheus_query=(value) -> ::String
- value (::String) — A query used to fetch time series with PromQL.
- (::String) — A query used to fetch time series with PromQL.
#time_series_filter
def time_series_filter() -> ::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilter
- (::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilter) — Filter parameters to fetch time series.
#time_series_filter=
def time_series_filter=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilter
- value (::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilter) — Filter parameters to fetch time series.
- (::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilter) — Filter parameters to fetch time series.
#time_series_filter_ratio
def time_series_filter_ratio() -> ::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilterRatio
- (::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilterRatio) — Parameters to fetch a ratio between two time series filters.
#time_series_filter_ratio=
def time_series_filter_ratio=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilterRatio
- value (::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilterRatio) — Parameters to fetch a ratio between two time series filters.
- (::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilterRatio) — Parameters to fetch a ratio between two time series filters.
#time_series_query_language
def time_series_query_language() -> ::String
- (::String) — A query used to fetch time series with MQL.
#time_series_query_language=
def time_series_query_language=(value) -> ::String
- value (::String) — A query used to fetch time series with MQL.
- (::String) — A query used to fetch time series with MQL.
#unit_override
def unit_override() -> ::String
-
(::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
field inMetricDescriptor
.
#unit_override=
def unit_override=(value) -> ::String
-
value (::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
field inMetricDescriptor
.
-
(::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
field inMetricDescriptor
.