Class DataSet (2.1.0)

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

Groups a time series query definition with charting options. .. attribute:: time_series_query

Required. Fields for querying time series data from the Stackdriver metrics API.

:type: google.cloud.monitoring_dashboard_v1.types.TimeSeriesQuery

Attributes

NameDescription
plot_type google.cloud.monitoring_dashboard_v1.types.XyChart.DataSet.PlotType
How this data should be plotted on the chart.
legend_template str
A template string for naming TimeSeries in the resulting data set. This should be a string with interpolations of the form ${label_name}, which will resolve to the label's value.
min_alignment_period google.protobuf.duration_pb2.Duration
Optional. The lower bound on data point frequency for this data set, 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, the min_alignment_period should be at least 10 minutes. It would not make sense to fetch and align data at one minute intervals.

Classes

PlotType

PlotType(value)

The types of plotting strategies for data sets.