Class: Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesQuery
- Inherits:
-
Object
- Object
- Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesQuery
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/monitoring/dashboard/v1/metrics.rb
Overview
TimeSeriesQuery collects the set of supported methods for querying time series data from the Stackdriver metrics API.
Instance Attribute Summary collapse
-
#output_full_duration ⇒ ::Boolean
Optional.
-
#prometheus_query ⇒ ::String
A query used to fetch time series with PromQL.
-
#time_series_filter ⇒ ::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilter
Filter parameters to fetch time series.
-
#time_series_filter_ratio ⇒ ::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilterRatio
Parameters to fetch a ratio between two time series filters.
-
#time_series_query_language ⇒ ::String
A query used to fetch time series with MQL.
-
#unit_override ⇒ ::String
The unit of data contained in fetched time series.
Instance Attribute Details
#output_full_duration ⇒ ::Boolean
Returns 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.
55 56 57 58 |
# File 'proto_docs/google/monitoring/dashboard/v1/metrics.rb', line 55 class TimeSeriesQuery include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#prometheus_query ⇒ ::String
Returns A query used to fetch time series with PromQL.
55 56 57 58 |
# File 'proto_docs/google/monitoring/dashboard/v1/metrics.rb', line 55 class TimeSeriesQuery include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#time_series_filter ⇒ ::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilter
Returns Filter parameters to fetch time series.
55 56 57 58 |
# File 'proto_docs/google/monitoring/dashboard/v1/metrics.rb', line 55 class TimeSeriesQuery include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#time_series_filter_ratio ⇒ ::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilterRatio
Returns Parameters to fetch a ratio between two time series filters.
55 56 57 58 |
# File 'proto_docs/google/monitoring/dashboard/v1/metrics.rb', line 55 class TimeSeriesQuery include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#time_series_query_language ⇒ ::String
Returns A query used to fetch time series with MQL.
55 56 57 58 |
# File 'proto_docs/google/monitoring/dashboard/v1/metrics.rb', line 55 class TimeSeriesQuery include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#unit_override ⇒ ::String
Returns 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
.
55 56 57 58 |
# File 'proto_docs/google/monitoring/dashboard/v1/metrics.rb', line 55 class TimeSeriesQuery include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |