Cloud Monitoring Dashboards V1 API - Class Google::Cloud::Monitoring::Dashboard::V1::Scorecard::SparkChartView (v0.12.1)

Reference documentation and code samples for the Cloud Monitoring Dashboards V1 API class Google::Cloud::Monitoring::Dashboard::V1::Scorecard::SparkChartView.

A sparkChart is a small chart suitable for inclusion in a table-cell or inline in text. This message contains the configuration for a sparkChart to show up on a Scorecard, showing recent trends of the scorecard's timeseries.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#min_alignment_period

def min_alignment_period() -> ::Google::Protobuf::Duration
Returns
  • (::Google::Protobuf::Duration) — The lower bound on data point frequency in the chart implemented by specifying the minimum alignment period to use in a time series query. For example, if the data is published once every 10 minutes it would not make sense to fetch and align data at one minute intervals. This field is optional and exists only as a hint.

#min_alignment_period=

def min_alignment_period=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::Duration) — The lower bound on data point frequency in the chart implemented by specifying the minimum alignment period to use in a time series query. For example, if the data is published once every 10 minutes it would not make sense to fetch and align data at one minute intervals. This field is optional and exists only as a hint.
Returns
  • (::Google::Protobuf::Duration) — The lower bound on data point frequency in the chart implemented by specifying the minimum alignment period to use in a time series query. For example, if the data is published once every 10 minutes it would not make sense to fetch and align data at one minute intervals. This field is optional and exists only as a hint.

#spark_chart_type

def spark_chart_type() -> ::Google::Cloud::Monitoring::Dashboard::V1::SparkChartType
Returns

#spark_chart_type=

def spark_chart_type=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::SparkChartType
Parameter
Returns