Class TimeSeriesQuery (2.15.0)

TimeSeriesQuery(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
time_series_filter google.cloud.monitoring_dashboard_v1.types.TimeSeriesFilter
Filter parameters to fetch time series. This field is a member of oneof_ source.
time_series_filter_ratio google.cloud.monitoring_dashboard_v1.types.TimeSeriesFilterRatio
Parameters to fetch a ratio between two time series filters. This field is a member of oneof_ source.
time_series_query_language str
A query used to fetch time series with MQL. This field is a member of oneof_ source.
prometheus_query str
A query used to fetch time series with PromQL. This field is a member of oneof_ source.
unit_override str
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 in MetricDescriptor.
output_full_duration 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