Class: Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesQuery

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#prometheus_query::String

Returns A query used to fetch time series with PromQL.

Returns:

  • (::String)

    A query used to fetch time series with PromQL.



46
47
48
49
# File 'proto_docs/google/monitoring/dashboard/v1/metrics.rb', line 46

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.

Returns:



46
47
48
49
# File 'proto_docs/google/monitoring/dashboard/v1/metrics.rb', line 46

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.

Returns:



46
47
48
49
# File 'proto_docs/google/monitoring/dashboard/v1/metrics.rb', line 46

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.

Returns:

  • (::String)

    A query used to fetch time series with MQL.



46
47
48
49
# File 'proto_docs/google/monitoring/dashboard/v1/metrics.rb', line 46

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.

Returns:

  • (::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 in MetricDescriptor.



46
47
48
49
# File 'proto_docs/google/monitoring/dashboard/v1/metrics.rb', line 46

class TimeSeriesQuery
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end