dashboard

package
v0.0.0-...-e165f0f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Aggregation_Aligner_name = map[int32]string{
	0:  "ALIGN_NONE",
	1:  "ALIGN_DELTA",
	2:  "ALIGN_RATE",
	3:  "ALIGN_INTERPOLATE",
	4:  "ALIGN_NEXT_OLDER",
	10: "ALIGN_MIN",
	11: "ALIGN_MAX",
	12: "ALIGN_MEAN",
	13: "ALIGN_COUNT",
	14: "ALIGN_SUM",
	15: "ALIGN_STDDEV",
	16: "ALIGN_COUNT_TRUE",
	24: "ALIGN_COUNT_FALSE",
	17: "ALIGN_FRACTION_TRUE",
	18: "ALIGN_PERCENTILE_99",
	19: "ALIGN_PERCENTILE_95",
	20: "ALIGN_PERCENTILE_50",
	21: "ALIGN_PERCENTILE_05",
	23: "ALIGN_PERCENT_CHANGE",
}
View Source
var Aggregation_Aligner_value = map[string]int32{
	"ALIGN_NONE":           0,
	"ALIGN_DELTA":          1,
	"ALIGN_RATE":           2,
	"ALIGN_INTERPOLATE":    3,
	"ALIGN_NEXT_OLDER":     4,
	"ALIGN_MIN":            10,
	"ALIGN_MAX":            11,
	"ALIGN_MEAN":           12,
	"ALIGN_COUNT":          13,
	"ALIGN_SUM":            14,
	"ALIGN_STDDEV":         15,
	"ALIGN_COUNT_TRUE":     16,
	"ALIGN_COUNT_FALSE":    24,
	"ALIGN_FRACTION_TRUE":  17,
	"ALIGN_PERCENTILE_99":  18,
	"ALIGN_PERCENTILE_95":  19,
	"ALIGN_PERCENTILE_50":  20,
	"ALIGN_PERCENTILE_05":  21,
	"ALIGN_PERCENT_CHANGE": 23,
}
View Source
var Aggregation_Reducer_name = map[int32]string{
	0:  "REDUCE_NONE",
	1:  "REDUCE_MEAN",
	2:  "REDUCE_MIN",
	3:  "REDUCE_MAX",
	4:  "REDUCE_SUM",
	5:  "REDUCE_STDDEV",
	6:  "REDUCE_COUNT",
	7:  "REDUCE_COUNT_TRUE",
	15: "REDUCE_COUNT_FALSE",
	8:  "REDUCE_FRACTION_TRUE",
	9:  "REDUCE_PERCENTILE_99",
	10: "REDUCE_PERCENTILE_95",
	11: "REDUCE_PERCENTILE_50",
	12: "REDUCE_PERCENTILE_05",
}
View Source
var Aggregation_Reducer_value = map[string]int32{
	"REDUCE_NONE":          0,
	"REDUCE_MEAN":          1,
	"REDUCE_MIN":           2,
	"REDUCE_MAX":           3,
	"REDUCE_SUM":           4,
	"REDUCE_STDDEV":        5,
	"REDUCE_COUNT":         6,
	"REDUCE_COUNT_TRUE":    7,
	"REDUCE_COUNT_FALSE":   15,
	"REDUCE_FRACTION_TRUE": 8,
	"REDUCE_PERCENTILE_99": 9,
	"REDUCE_PERCENTILE_95": 10,
	"REDUCE_PERCENTILE_50": 11,
	"REDUCE_PERCENTILE_05": 12,
}
View Source
var ChartOptions_Mode_name = map[int32]string{
	0: "MODE_UNSPECIFIED",
	1: "COLOR",
	2: "X_RAY",
	3: "STATS",
}
View Source
var ChartOptions_Mode_value = map[string]int32{
	"MODE_UNSPECIFIED": 0,
	"COLOR":            1,
	"X_RAY":            2,
	"STATS":            3,
}
View Source
var PickTimeSeriesFilter_Direction_name = map[int32]string{
	0: "DIRECTION_UNSPECIFIED",
	1: "TOP",
	2: "BOTTOM",
}
View Source
var PickTimeSeriesFilter_Direction_value = map[string]int32{
	"DIRECTION_UNSPECIFIED": 0,
	"TOP":                   1,
	"BOTTOM":                2,
}
View Source
var PickTimeSeriesFilter_Method_name = map[int32]string{
	0: "METHOD_UNSPECIFIED",
	1: "METHOD_MEAN",
	2: "METHOD_MAX",
	3: "METHOD_MIN",
	4: "METHOD_SUM",
	5: "METHOD_LATEST",
}
View Source
var PickTimeSeriesFilter_Method_value = map[string]int32{
	"METHOD_UNSPECIFIED": 0,
	"METHOD_MEAN":        1,
	"METHOD_MAX":         2,
	"METHOD_MIN":         3,
	"METHOD_SUM":         4,
	"METHOD_LATEST":      5,
}
View Source
var SparkChartType_name = map[int32]string{
	0: "SPARK_CHART_TYPE_UNSPECIFIED",
	1: "SPARK_LINE",
	2: "SPARK_BAR",
}
View Source
var SparkChartType_value = map[string]int32{
	"SPARK_CHART_TYPE_UNSPECIFIED": 0,
	"SPARK_LINE":                   1,
	"SPARK_BAR":                    2,
}
View Source
var StatisticalTimeSeriesFilter_Method_name = map[int32]string{
	0: "METHOD_UNSPECIFIED",
	1: "METHOD_CLUSTER_OUTLIER",
}
View Source
var StatisticalTimeSeriesFilter_Method_value = map[string]int32{
	"METHOD_UNSPECIFIED":     0,
	"METHOD_CLUSTER_OUTLIER": 1,
}
View Source
var Text_Format_name = map[int32]string{
	0: "FORMAT_UNSPECIFIED",
	1: "MARKDOWN",
	2: "RAW",
}
View Source
var Text_Format_value = map[string]int32{
	"FORMAT_UNSPECIFIED": 0,
	"MARKDOWN":           1,
	"RAW":                2,
}
View Source
var Threshold_Color_name = map[int32]string{
	0: "COLOR_UNSPECIFIED",
	4: "YELLOW",
	6: "RED",
}
View Source
var Threshold_Color_value = map[string]int32{
	"COLOR_UNSPECIFIED": 0,
	"YELLOW":            4,
	"RED":               6,
}
View Source
var Threshold_Direction_name = map[int32]string{
	0: "DIRECTION_UNSPECIFIED",
	1: "ABOVE",
	2: "BELOW",
}
View Source
var Threshold_Direction_value = map[string]int32{
	"DIRECTION_UNSPECIFIED": 0,
	"ABOVE":                 1,
	"BELOW":                 2,
}
View Source
var XyChart_Axis_Scale_name = map[int32]string{
	0: "SCALE_UNSPECIFIED",
	1: "LINEAR",
	2: "LOG10",
}
View Source
var XyChart_Axis_Scale_value = map[string]int32{
	"SCALE_UNSPECIFIED": 0,
	"LINEAR":            1,
	"LOG10":             2,
}
View Source
var XyChart_DataSet_PlotType_name = map[int32]string{
	0: "PLOT_TYPE_UNSPECIFIED",
	1: "LINE",
	2: "STACKED_AREA",
	3: "STACKED_BAR",
	4: "HEATMAP",
}
View Source
var XyChart_DataSet_PlotType_value = map[string]int32{
	"PLOT_TYPE_UNSPECIFIED": 0,
	"LINE":                  1,
	"STACKED_AREA":          2,
	"STACKED_BAR":           3,
	"HEATMAP":               4,
}

Functions

func RegisterDashboardsServiceServer

func RegisterDashboardsServiceServer(s *grpc.Server, srv DashboardsServiceServer)

Types

type Aggregation

type Aggregation struct {
	// The alignment period for per-[time series][TimeSeries]
	// alignment. If present, `alignmentPeriod` must be at least 60
	// seconds.  After per-time series alignment, each time series will
	// contain data points only on the period boundaries. If
	// `perSeriesAligner` is not specified or equals `ALIGN_NONE`, then
	// this field is ignored. If `perSeriesAligner` is specified and
	// does not equal `ALIGN_NONE`, then this field must be defined;
	// otherwise an error is returned.
	AlignmentPeriod *duration.Duration `protobuf:"bytes,1,opt,name=alignment_period,json=alignmentPeriod,proto3" json:"alignment_period,omitempty"`
	// The approach to be used to align individual time series. Not all
	// alignment functions may be applied to all time series, depending
	// on the metric type and value type of the original time
	// series. Alignment may change the metric type or the value type of
	// the time series.
	//
	// Time series data must be aligned in order to perform cross-time
	// series reduction. If `crossSeriesReducer` is specified, then
	// `perSeriesAligner` must be specified and not equal `ALIGN_NONE`
	// and `alignmentPeriod` must be specified; otherwise, an error is
	// returned.
	PerSeriesAligner Aggregation_Aligner `` /* 168-byte string literal not displayed */
	// The approach to be used to combine time series. Not all reducer
	// functions may be applied to all time series, depending on the
	// metric type and the value type of the original time
	// series. Reduction may change the metric type of value type of the
	// time series.
	//
	// Time series data must be aligned in order to perform cross-time
	// series reduction. If `crossSeriesReducer` is specified, then
	// `perSeriesAligner` must be specified and not equal `ALIGN_NONE`
	// and `alignmentPeriod` must be specified; otherwise, an error is
	// returned.
	CrossSeriesReducer Aggregation_Reducer `` /* 174-byte string literal not displayed */
	// The set of fields to preserve when `crossSeriesReducer` is
	// specified. The `groupByFields` determine how the time series are
	// partitioned into subsets prior to applying the aggregation
	// function. Each subset contains time series that have the same
	// value for each of the grouping fields. Each individual time
	// series is a member of exactly one subset. The
	// `crossSeriesReducer` is applied to each subset of time series.
	// It is not possible to reduce across different resource types, so
	// this field implicitly contains `resource.type`.  Fields not
	// specified in `groupByFields` are aggregated away.  If
	// `groupByFields` is not specified and all the time series have
	// the same resource type, then the time series are aggregated into
	// a single output time series. If `crossSeriesReducer` is not
	// defined, this field is ignored.
	GroupByFields        []string `protobuf:"bytes,5,rep,name=group_by_fields,json=groupByFields,proto3" json:"group_by_fields,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Describes how to combine multiple time series to provide different views of the data. Aggregation consists of an alignment step on individual time series (`alignment_period` and `per_series_aligner`) followed by an optional reduction step of the data across the aligned time series (`cross_series_reducer` and `group_by_fields`). For more details, see Aggregation(/monitoring/api/learn_more#aggregation).

func (*Aggregation) Descriptor

func (*Aggregation) Descriptor() ([]byte, []int)

func (*Aggregation) GetAlignmentPeriod

func (m *Aggregation) GetAlignmentPeriod() *duration.Duration

func (*Aggregation) GetCrossSeriesReducer

func (m *Aggregation) GetCrossSeriesReducer() Aggregation_Reducer

func (*Aggregation) GetGroupByFields

func (m *Aggregation) GetGroupByFields() []string

func (*Aggregation) GetPerSeriesAligner

func (m *Aggregation) GetPerSeriesAligner() Aggregation_Aligner

func (*Aggregation) ProtoMessage

func (*Aggregation) ProtoMessage()

func (*Aggregation) Reset

func (m *Aggregation) Reset()

func (*Aggregation) String

func (m *Aggregation) String() string

func (*Aggregation) XXX_DiscardUnknown

func (m *Aggregation) XXX_DiscardUnknown()

func (*Aggregation) XXX_Marshal

func (m *Aggregation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Aggregation) XXX_Merge

func (m *Aggregation) XXX_Merge(src proto.Message)

func (*Aggregation) XXX_Size

func (m *Aggregation) XXX_Size() int

func (*Aggregation) XXX_Unmarshal

func (m *Aggregation) XXX_Unmarshal(b []byte) error

type Aggregation_Aligner

type Aggregation_Aligner int32

The Aligner describes how to bring the data points in a single time series into temporal alignment.

const (
	// No alignment. Raw data is returned. Not valid if cross-time
	// series reduction is requested. The value type of the result is
	// the same as the value type of the input.
	Aggregation_ALIGN_NONE Aggregation_Aligner = 0
	// Align and convert to delta metric type. This alignment is valid
	// for cumulative metrics and delta metrics. Aligning an existing
	// delta metric to a delta metric requires that the alignment
	// period be increased. The value type of the result is the same
	// as the value type of the input.
	//
	// One can think of this aligner as a rate but without time units; that
	// is, the output is conceptually (second_point - first_point).
	Aggregation_ALIGN_DELTA Aggregation_Aligner = 1
	// Align and convert to a rate. This alignment is valid for
	// cumulative metrics and delta metrics with numeric values. The output is a
	// gauge metric with value type
	// [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
	//
	// One can think of this aligner as conceptually providing the slope of
	// the line that passes through the value at the start and end of the
	// window. In other words, this is conceptually ((y1 - y0)/(t1 - t0)),
	// and the output unit is one that has a "/time" dimension.
	//
	// If, by rate, you are looking for percentage change, see the
	// `ALIGN_PERCENT_CHANGE` aligner option.
	Aggregation_ALIGN_RATE Aggregation_Aligner = 2
	// Align by interpolating between adjacent points around the
	// period boundary. This alignment is valid for gauge
	// metrics with numeric values. The value type of the result is the same
	// as the value type of the input.
	Aggregation_ALIGN_INTERPOLATE Aggregation_Aligner = 3
	// Align by shifting the oldest data point before the period
	// boundary to the boundary. This alignment is valid for gauge
	// metrics. The value type of the result is the same as the
	// value type of the input.
	Aggregation_ALIGN_NEXT_OLDER Aggregation_Aligner = 4
	// Align time series via aggregation. The resulting data point in
	// the alignment period is the minimum of all data points in the
	// period. This alignment is valid for gauge and delta metrics with numeric
	// values. The value type of the result is the same as the value
	// type of the input.
	Aggregation_ALIGN_MIN Aggregation_Aligner = 10
	// Align time series via aggregation. The resulting data point in
	// the alignment period is the maximum of all data points in the
	// period. This alignment is valid for gauge and delta metrics with numeric
	// values. The value type of the result is the same as the value
	// type of the input.
	Aggregation_ALIGN_MAX Aggregation_Aligner = 11
	// Align time series via aggregation. The resulting data point in
	// the alignment period is the average or arithmetic mean of all
	// data points in the period. This alignment is valid for gauge and delta
	// metrics with numeric values. The value type of the output is
	// [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
	Aggregation_ALIGN_MEAN Aggregation_Aligner = 12
	// Align time series via aggregation. The resulting data point in
	// the alignment period is the count of all data points in the
	// period. This alignment is valid for gauge and delta metrics with numeric
	// or Boolean values. The value type of the output is
	// [INT64][google.api.MetricDescriptor.ValueType.INT64].
	Aggregation_ALIGN_COUNT Aggregation_Aligner = 13
	// Align time series via aggregation. The resulting data point in
	// the alignment period is the sum of all data points in the
	// period. This alignment is valid for gauge and delta metrics with numeric
	// and distribution values. The value type of the output is the
	// same as the value type of the input.
	Aggregation_ALIGN_SUM Aggregation_Aligner = 14
	// Align time series via aggregation. The resulting data point in
	// the alignment period is the standard deviation of all data
	// points in the period. This alignment is valid for gauge and delta metrics
	// with numeric values. The value type of the output is
	// [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
	Aggregation_ALIGN_STDDEV Aggregation_Aligner = 15
	// Align time series via aggregation. The resulting data point in
	// the alignment period is the count of True-valued data points in the
	// period. This alignment is valid for gauge metrics with
	// Boolean values. The value type of the output is
	// [INT64][google.api.MetricDescriptor.ValueType.INT64].
	Aggregation_ALIGN_COUNT_TRUE Aggregation_Aligner = 16
	// Align time series via aggregation. The resulting data point in
	// the alignment period is the count of False-valued data points in the
	// period. This alignment is valid for gauge metrics with
	// Boolean values. The value type of the output is
	// [INT64][google.api.MetricDescriptor.ValueType.INT64].
	Aggregation_ALIGN_COUNT_FALSE Aggregation_Aligner = 24
	// Align time series via aggregation. The resulting data point in
	// the alignment period is the fraction of True-valued data points in the
	// period. This alignment is valid for gauge metrics with Boolean values.
	// The output value is in the range [0, 1] and has value type
	// [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
	Aggregation_ALIGN_FRACTION_TRUE Aggregation_Aligner = 17
	// Align time series via aggregation. The resulting data point in
	// the alignment period is the 99th percentile of all data
	// points in the period. This alignment is valid for gauge and delta metrics
	// with distribution values. The output is a gauge metric with value type
	// [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
	Aggregation_ALIGN_PERCENTILE_99 Aggregation_Aligner = 18
	// Align time series via aggregation. The resulting data point in
	// the alignment period is the 95th percentile of all data
	// points in the period. This alignment is valid for gauge and delta metrics
	// with distribution values. The output is a gauge metric with value type
	// [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
	Aggregation_ALIGN_PERCENTILE_95 Aggregation_Aligner = 19
	// Align time series via aggregation. The resulting data point in
	// the alignment period is the 50th percentile of all data
	// points in the period. This alignment is valid for gauge and delta metrics
	// with distribution values. The output is a gauge metric with value type
	// [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
	Aggregation_ALIGN_PERCENTILE_50 Aggregation_Aligner = 20
	// Align time series via aggregation. The resulting data point in
	// the alignment period is the 5th percentile of all data
	// points in the period. This alignment is valid for gauge and delta metrics
	// with distribution values. The output is a gauge metric with value type
	// [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
	Aggregation_ALIGN_PERCENTILE_05 Aggregation_Aligner = 21
	// Align and convert to a percentage change. This alignment is valid for
	// gauge and delta metrics with numeric values. This alignment conceptually
	// computes the equivalent of "((current - previous)/previous)*100"
	// where previous value is determined based on the alignmentPeriod.
	// In the event that previous is 0 the calculated value is infinity with the
	// exception that if both (current - previous) and previous are 0 the
	// calculated value is 0.
	// A 10 minute moving mean is computed at each point of the time window
	// prior to the above calculation to smooth the metric and prevent false
	// positives from very short lived spikes.
	// Only applicable for data that is >= 0. Any values < 0 are treated as
	// no data. While delta metrics are accepted by this alignment special care
	// should be taken that the values for the metric will always be positive.
	// The output is a gauge metric with value type
	// [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
	Aggregation_ALIGN_PERCENT_CHANGE Aggregation_Aligner = 23
)

func (Aggregation_Aligner) EnumDescriptor

func (Aggregation_Aligner) EnumDescriptor() ([]byte, []int)

func (Aggregation_Aligner) String

func (x Aggregation_Aligner) String() string

type Aggregation_Reducer

type Aggregation_Reducer int32

A Reducer describes how to aggregate data points from multiple time series into a single time series.

const (
	// No cross-time series reduction. The output of the aligner is
	// returned.
	Aggregation_REDUCE_NONE Aggregation_Reducer = 0
	// Reduce by computing the mean across time series for each
	// alignment period. This reducer is valid for delta and
	// gauge metrics with numeric or distribution values. The value type of the
	// output is [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
	Aggregation_REDUCE_MEAN Aggregation_Reducer = 1
	// Reduce by computing the minimum across time series for each
	// alignment period. This reducer is valid for delta and
	// gauge metrics with numeric values. The value type of the output
	// is the same as the value type of the input.
	Aggregation_REDUCE_MIN Aggregation_Reducer = 2
	// Reduce by computing the maximum across time series for each
	// alignment period. This reducer is valid for delta and
	// gauge metrics with numeric values. The value type of the output
	// is the same as the value type of the input.
	Aggregation_REDUCE_MAX Aggregation_Reducer = 3
	// Reduce by computing the sum across time series for each
	// alignment period. This reducer is valid for delta and
	// gauge metrics with numeric and distribution values. The value type of
	// the output is the same as the value type of the input.
	Aggregation_REDUCE_SUM Aggregation_Reducer = 4
	// Reduce by computing the standard deviation across time series
	// for each alignment period. This reducer is valid for delta
	// and gauge metrics with numeric or distribution values. The value type of
	// the output is [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
	Aggregation_REDUCE_STDDEV Aggregation_Reducer = 5
	// Reduce by computing the count of data points across time series
	// for each alignment period. This reducer is valid for delta
	// and gauge metrics of numeric, Boolean, distribution, and string value
	// type. The value type of the output is
	// [INT64][google.api.MetricDescriptor.ValueType.INT64].
	Aggregation_REDUCE_COUNT Aggregation_Reducer = 6
	// Reduce by computing the count of True-valued data points across time
	// series for each alignment period. This reducer is valid for delta
	// and gauge metrics of Boolean value type. The value type of
	// the output is [INT64][google.api.MetricDescriptor.ValueType.INT64].
	Aggregation_REDUCE_COUNT_TRUE Aggregation_Reducer = 7
	// Reduce by computing the count of False-valued data points across time
	// series for each alignment period. This reducer is valid for delta
	// and gauge metrics of Boolean value type. The value type of
	// the output is [INT64][google.api.MetricDescriptor.ValueType.INT64].
	Aggregation_REDUCE_COUNT_FALSE Aggregation_Reducer = 15
	// Reduce by computing the fraction of True-valued data points across time
	// series for each alignment period. This reducer is valid for delta
	// and gauge metrics of Boolean value type. The output value is in the
	// range [0, 1] and has value type
	// [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
	Aggregation_REDUCE_FRACTION_TRUE Aggregation_Reducer = 8
	// Reduce by computing 99th percentile of data points across time series
	// for each alignment period. This reducer is valid for gauge and delta
	// metrics of numeric and distribution type. The value of the output is
	// [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]
	Aggregation_REDUCE_PERCENTILE_99 Aggregation_Reducer = 9
	// Reduce by computing 95th percentile of data points across time series
	// for each alignment period. This reducer is valid for gauge and delta
	// metrics of numeric and distribution type. The value of the output is
	// [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]
	Aggregation_REDUCE_PERCENTILE_95 Aggregation_Reducer = 10
	// Reduce by computing 50th percentile of data points across time series
	// for each alignment period. This reducer is valid for gauge and delta
	// metrics of numeric and distribution type. The value of the output is
	// [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]
	Aggregation_REDUCE_PERCENTILE_50 Aggregation_Reducer = 11
	// Reduce by computing 5th percentile of data points across time series
	// for each alignment period. This reducer is valid for gauge and delta
	// metrics of numeric and distribution type. The value of the output is
	// [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]
	Aggregation_REDUCE_PERCENTILE_05 Aggregation_Reducer = 12
)

func (Aggregation_Reducer) EnumDescriptor

func (Aggregation_Reducer) EnumDescriptor() ([]byte, []int)

func (Aggregation_Reducer) String

func (x Aggregation_Reducer) String() string

type ChartOptions

type ChartOptions struct {
	// The chart mode.
	Mode                 ChartOptions_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=google.monitoring.dashboard.v1.ChartOptions_Mode" json:"mode,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Options to control visual rendering of a chart.

func (*ChartOptions) Descriptor

func (*ChartOptions) Descriptor() ([]byte, []int)

func (*ChartOptions) GetMode

func (m *ChartOptions) GetMode() ChartOptions_Mode

func (*ChartOptions) ProtoMessage

func (*ChartOptions) ProtoMessage()

func (*ChartOptions) Reset

func (m *ChartOptions) Reset()

func (*ChartOptions) String

func (m *ChartOptions) String() string

func (*ChartOptions) XXX_DiscardUnknown

func (m *ChartOptions) XXX_DiscardUnknown()

func (*ChartOptions) XXX_Marshal

func (m *ChartOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChartOptions) XXX_Merge

func (m *ChartOptions) XXX_Merge(src proto.Message)

func (*ChartOptions) XXX_Size

func (m *ChartOptions) XXX_Size() int

func (*ChartOptions) XXX_Unmarshal

func (m *ChartOptions) XXX_Unmarshal(b []byte) error

type ChartOptions_Mode

type ChartOptions_Mode int32

Chart mode options.

const (
	// Mode is unspecified. The view will default to `COLOR`.
	ChartOptions_MODE_UNSPECIFIED ChartOptions_Mode = 0
	// The chart distinguishes data series using different color. Line
	// colors may get reused when there are many lines in the chart.
	ChartOptions_COLOR ChartOptions_Mode = 1
	// The chart uses the Stackdriver x-ray mode, in which each
	// data set is plotted using the same semi-transparent color.
	ChartOptions_X_RAY ChartOptions_Mode = 2
	// The chart displays statistics such as average, median, 95th percentile,
	// and more.
	ChartOptions_STATS ChartOptions_Mode = 3
)

func (ChartOptions_Mode) EnumDescriptor

func (ChartOptions_Mode) EnumDescriptor() ([]byte, []int)

func (ChartOptions_Mode) String

func (x ChartOptions_Mode) String() string

type ColumnLayout

type ColumnLayout struct {
	// The columns of content to display.
	Columns              []*ColumnLayout_Column `protobuf:"bytes,1,rep,name=columns,proto3" json:"columns,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

A simplified layout that divides the available space into vertical columns and arranges a set of widgets vertically in each column.

func (*ColumnLayout) Descriptor

func (*ColumnLayout) Descriptor() ([]byte, []int)

func (*ColumnLayout) GetColumns

func (m *ColumnLayout) GetColumns() []*ColumnLayout_Column

func (*ColumnLayout) ProtoMessage

func (*ColumnLayout) ProtoMessage()

func (*ColumnLayout) Reset

func (m *ColumnLayout) Reset()

func (*ColumnLayout) String

func (m *ColumnLayout) String() string

func (*ColumnLayout) XXX_DiscardUnknown

func (m *ColumnLayout) XXX_DiscardUnknown()

func (*ColumnLayout) XXX_Marshal

func (m *ColumnLayout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ColumnLayout) XXX_Merge

func (m *ColumnLayout) XXX_Merge(src proto.Message)

func (*ColumnLayout) XXX_Size

func (m *ColumnLayout) XXX_Size() int

func (*ColumnLayout) XXX_Unmarshal

func (m *ColumnLayout) XXX_Unmarshal(b []byte) error

type ColumnLayout_Column

type ColumnLayout_Column struct {
	// The relative weight of this column. The column weight is used to adjust
	// the width of columns on the screen (relative to peers).
	// Greater the weight, greater the width of the column on the screen.
	// If omitted, a value of 1 is used while rendering.
	Weight int64 `protobuf:"varint,1,opt,name=weight,proto3" json:"weight,omitempty"`
	// The display widgets arranged vertically in this column.
	Widgets              []*Widget `protobuf:"bytes,2,rep,name=widgets,proto3" json:"widgets,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

Defines the layout properties and content for a column.

func (*ColumnLayout_Column) Descriptor

func (*ColumnLayout_Column) Descriptor() ([]byte, []int)

func (*ColumnLayout_Column) GetWeight

func (m *ColumnLayout_Column) GetWeight() int64

func (*ColumnLayout_Column) GetWidgets

func (m *ColumnLayout_Column) GetWidgets() []*Widget

func (*ColumnLayout_Column) ProtoMessage

func (*ColumnLayout_Column) ProtoMessage()

func (*ColumnLayout_Column) Reset

func (m *ColumnLayout_Column) Reset()

func (*ColumnLayout_Column) String

func (m *ColumnLayout_Column) String() string

func (*ColumnLayout_Column) XXX_DiscardUnknown

func (m *ColumnLayout_Column) XXX_DiscardUnknown()

func (*ColumnLayout_Column) XXX_Marshal

func (m *ColumnLayout_Column) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ColumnLayout_Column) XXX_Merge

func (m *ColumnLayout_Column) XXX_Merge(src proto.Message)

func (*ColumnLayout_Column) XXX_Size

func (m *ColumnLayout_Column) XXX_Size() int

func (*ColumnLayout_Column) XXX_Unmarshal

func (m *ColumnLayout_Column) XXX_Unmarshal(b []byte) error

type CreateDashboardRequest

type CreateDashboardRequest struct {
	// Required. The project on which to execute the request. The format is
	// `"projects/{project_id_or_number}"`. The {project_id_or_number} must match
	// the dashboard resource name.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The initial dashboard specification.
	Dashboard            *Dashboard `protobuf:"bytes,2,opt,name=dashboard,proto3" json:"dashboard,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

The `CreateDashboard` request.

func (*CreateDashboardRequest) Descriptor

func (*CreateDashboardRequest) Descriptor() ([]byte, []int)

func (*CreateDashboardRequest) GetDashboard

func (m *CreateDashboardRequest) GetDashboard() *Dashboard

func (*CreateDashboardRequest) GetParent

func (m *CreateDashboardRequest) GetParent() string

func (*CreateDashboardRequest) ProtoMessage

func (*CreateDashboardRequest) ProtoMessage()

func (*CreateDashboardRequest) Reset

func (m *CreateDashboardRequest) Reset()

func (*CreateDashboardRequest) String

func (m *CreateDashboardRequest) String() string

func (*CreateDashboardRequest) XXX_DiscardUnknown

func (m *CreateDashboardRequest) XXX_DiscardUnknown()

func (*CreateDashboardRequest) XXX_Marshal

func (m *CreateDashboardRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateDashboardRequest) XXX_Merge

func (m *CreateDashboardRequest) XXX_Merge(src proto.Message)

func (*CreateDashboardRequest) XXX_Size

func (m *CreateDashboardRequest) XXX_Size() int

func (*CreateDashboardRequest) XXX_Unmarshal

func (m *CreateDashboardRequest) XXX_Unmarshal(b []byte) error

type Dashboard

type Dashboard struct {
	// The resource name of the dashboard.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The mutable, human-readable name.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// `etag` is used for optimistic concurrency control as a way to help
	// prevent simultaneous updates of a policy from overwriting each other.
	// An `etag` is returned in the response to `GetDashboard`, and
	// users are expected to put that etag in the request to `UpdateDashboard` to
	// ensure that their change will be applied to the same version of the
	// Dashboard configuration. The field should not be passed during
	// dashboard creation.
	Etag string `protobuf:"bytes,4,opt,name=etag,proto3" json:"etag,omitempty"`
	// A dashboard's root container element that defines the layout style.
	//
	// Types that are valid to be assigned to Layout:
	//	*Dashboard_GridLayout
	//	*Dashboard_RowLayout
	//	*Dashboard_ColumnLayout
	Layout               isDashboard_Layout `protobuf_oneof:"layout"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

A Google Stackdriver dashboard. Dashboards define the content and layout of pages in the Stackdriver web application.

func (*Dashboard) Descriptor

func (*Dashboard) Descriptor() ([]byte, []int)

func (*Dashboard) GetColumnLayout

func (m *Dashboard) GetColumnLayout() *ColumnLayout

func (*Dashboard) GetDisplayName

func (m *Dashboard) GetDisplayName() string

func (*Dashboard) GetEtag

func (m *Dashboard) GetEtag() string

func (*Dashboard) GetGridLayout

func (m *Dashboard) GetGridLayout() *GridLayout

func (*Dashboard) GetLayout

func (m *Dashboard) GetLayout() isDashboard_Layout

func (*Dashboard) GetName

func (m *Dashboard) GetName() string

func (*Dashboard) GetRowLayout

func (m *Dashboard) GetRowLayout() *RowLayout

func (*Dashboard) ProtoMessage

func (*Dashboard) ProtoMessage()

func (*Dashboard) Reset

func (m *Dashboard) Reset()

func (*Dashboard) String

func (m *Dashboard) String() string

func (*Dashboard) XXX_DiscardUnknown

func (m *Dashboard) XXX_DiscardUnknown()

func (*Dashboard) XXX_Marshal

func (m *Dashboard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Dashboard) XXX_Merge

func (m *Dashboard) XXX_Merge(src proto.Message)

func (*Dashboard) XXX_OneofWrappers

func (*Dashboard) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Dashboard) XXX_Size

func (m *Dashboard) XXX_Size() int

func (*Dashboard) XXX_Unmarshal

func (m *Dashboard) XXX_Unmarshal(b []byte) error

type Dashboard_ColumnLayout

type Dashboard_ColumnLayout struct {
	ColumnLayout *ColumnLayout `protobuf:"bytes,9,opt,name=column_layout,json=columnLayout,proto3,oneof"`
}

type Dashboard_GridLayout

type Dashboard_GridLayout struct {
	GridLayout *GridLayout `protobuf:"bytes,5,opt,name=grid_layout,json=gridLayout,proto3,oneof"`
}

type Dashboard_RowLayout

type Dashboard_RowLayout struct {
	RowLayout *RowLayout `protobuf:"bytes,8,opt,name=row_layout,json=rowLayout,proto3,oneof"`
}

type DashboardsServiceClient

type DashboardsServiceClient interface {
	// Creates a new custom dashboard.
	//
	// This method requires the `monitoring.dashboards.create` permission
	// on the specified project. For more information, see
	// [Google Cloud IAM](https://cloud.google.com/iam).
	CreateDashboard(ctx context.Context, in *CreateDashboardRequest, opts ...grpc.CallOption) (*Dashboard, error)
	// Lists the existing dashboards.
	//
	// This method requires the `monitoring.dashboards.list` permission
	// on the specified project. For more information, see
	// [Google Cloud IAM](https://cloud.google.com/iam).
	ListDashboards(ctx context.Context, in *ListDashboardsRequest, opts ...grpc.CallOption) (*ListDashboardsResponse, error)
	// Fetches a specific dashboard.
	//
	// This method requires the `monitoring.dashboards.get` permission
	// on the specified dashboard. For more information, see
	// [Google Cloud IAM](https://cloud.google.com/iam).
	GetDashboard(ctx context.Context, in *GetDashboardRequest, opts ...grpc.CallOption) (*Dashboard, error)
	// Deletes an existing custom dashboard.
	//
	// This method requires the `monitoring.dashboards.delete` permission
	// on the specified dashboard. For more information, see
	// [Google Cloud IAM](https://cloud.google.com/iam).
	DeleteDashboard(ctx context.Context, in *DeleteDashboardRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Replaces an existing custom dashboard with a new definition.
	//
	// This method requires the `monitoring.dashboards.update` permission
	// on the specified dashboard. For more information, see
	// [Google Cloud IAM](https://cloud.google.com/iam).
	UpdateDashboard(ctx context.Context, in *UpdateDashboardRequest, opts ...grpc.CallOption) (*Dashboard, error)
}

DashboardsServiceClient is the client API for DashboardsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type DashboardsServiceServer

type DashboardsServiceServer interface {
	// Creates a new custom dashboard.
	//
	// This method requires the `monitoring.dashboards.create` permission
	// on the specified project. For more information, see
	// [Google Cloud IAM](https://cloud.google.com/iam).
	CreateDashboard(context.Context, *CreateDashboardRequest) (*Dashboard, error)
	// Lists the existing dashboards.
	//
	// This method requires the `monitoring.dashboards.list` permission
	// on the specified project. For more information, see
	// [Google Cloud IAM](https://cloud.google.com/iam).
	ListDashboards(context.Context, *ListDashboardsRequest) (*ListDashboardsResponse, error)
	// Fetches a specific dashboard.
	//
	// This method requires the `monitoring.dashboards.get` permission
	// on the specified dashboard. For more information, see
	// [Google Cloud IAM](https://cloud.google.com/iam).
	GetDashboard(context.Context, *GetDashboardRequest) (*Dashboard, error)
	// Deletes an existing custom dashboard.
	//
	// This method requires the `monitoring.dashboards.delete` permission
	// on the specified dashboard. For more information, see
	// [Google Cloud IAM](https://cloud.google.com/iam).
	DeleteDashboard(context.Context, *DeleteDashboardRequest) (*empty.Empty, error)
	// Replaces an existing custom dashboard with a new definition.
	//
	// This method requires the `monitoring.dashboards.update` permission
	// on the specified dashboard. For more information, see
	// [Google Cloud IAM](https://cloud.google.com/iam).
	UpdateDashboard(context.Context, *UpdateDashboardRequest) (*Dashboard, error)
}

DashboardsServiceServer is the server API for DashboardsService service.

type DeleteDashboardRequest

type DeleteDashboardRequest struct {
	// Required. The resource name of the Dashboard. The format is
	// `"projects/{project_id_or_number}/dashboards/{dashboard_id}"`.
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `DeleteDashboard` request.

func (*DeleteDashboardRequest) Descriptor

func (*DeleteDashboardRequest) Descriptor() ([]byte, []int)

func (*DeleteDashboardRequest) GetName

func (m *DeleteDashboardRequest) GetName() string

func (*DeleteDashboardRequest) ProtoMessage

func (*DeleteDashboardRequest) ProtoMessage()

func (*DeleteDashboardRequest) Reset

func (m *DeleteDashboardRequest) Reset()

func (*DeleteDashboardRequest) String

func (m *DeleteDashboardRequest) String() string

func (*DeleteDashboardRequest) XXX_DiscardUnknown

func (m *DeleteDashboardRequest) XXX_DiscardUnknown()

func (*DeleteDashboardRequest) XXX_Marshal

func (m *DeleteDashboardRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteDashboardRequest) XXX_Merge

func (m *DeleteDashboardRequest) XXX_Merge(src proto.Message)

func (*DeleteDashboardRequest) XXX_Size

func (m *DeleteDashboardRequest) XXX_Size() int

func (*DeleteDashboardRequest) XXX_Unmarshal

func (m *DeleteDashboardRequest) XXX_Unmarshal(b []byte) error

type GetDashboardRequest

type GetDashboardRequest struct {
	// Required. The resource name of the Dashboard. The format is one of
	// `"dashboards/{dashboard_id}"` (for system dashboards) or
	// `"projects/{project_id_or_number}/dashboards/{dashboard_id}"`
	// (for custom dashboards).
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `GetDashboard` request.

func (*GetDashboardRequest) Descriptor

func (*GetDashboardRequest) Descriptor() ([]byte, []int)

func (*GetDashboardRequest) GetName

func (m *GetDashboardRequest) GetName() string

func (*GetDashboardRequest) ProtoMessage

func (*GetDashboardRequest) ProtoMessage()

func (*GetDashboardRequest) Reset

func (m *GetDashboardRequest) Reset()

func (*GetDashboardRequest) String

func (m *GetDashboardRequest) String() string

func (*GetDashboardRequest) XXX_DiscardUnknown

func (m *GetDashboardRequest) XXX_DiscardUnknown()

func (*GetDashboardRequest) XXX_Marshal

func (m *GetDashboardRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetDashboardRequest) XXX_Merge

func (m *GetDashboardRequest) XXX_Merge(src proto.Message)

func (*GetDashboardRequest) XXX_Size

func (m *GetDashboardRequest) XXX_Size() int

func (*GetDashboardRequest) XXX_Unmarshal

func (m *GetDashboardRequest) XXX_Unmarshal(b []byte) error

type GridLayout

type GridLayout struct {
	// The number of columns into which the view's width is divided. If omitted
	// or set to zero, a system default will be used while rendering.
	Columns int64 `protobuf:"varint,1,opt,name=columns,proto3" json:"columns,omitempty"`
	// The informational elements that are arranged into the columns row-first.
	Widgets              []*Widget `protobuf:"bytes,2,rep,name=widgets,proto3" json:"widgets,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

A basic layout divides the available space into vertical columns of equal width and arranges a list of widgets using a row-first strategy.

func (*GridLayout) Descriptor

func (*GridLayout) Descriptor() ([]byte, []int)

func (*GridLayout) GetColumns

func (m *GridLayout) GetColumns() int64

func (*GridLayout) GetWidgets

func (m *GridLayout) GetWidgets() []*Widget

func (*GridLayout) ProtoMessage

func (*GridLayout) ProtoMessage()

func (*GridLayout) Reset

func (m *GridLayout) Reset()

func (*GridLayout) String

func (m *GridLayout) String() string

func (*GridLayout) XXX_DiscardUnknown

func (m *GridLayout) XXX_DiscardUnknown()

func (*GridLayout) XXX_Marshal

func (m *GridLayout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GridLayout) XXX_Merge

func (m *GridLayout) XXX_Merge(src proto.Message)

func (*GridLayout) XXX_Size

func (m *GridLayout) XXX_Size() int

func (*GridLayout) XXX_Unmarshal

func (m *GridLayout) XXX_Unmarshal(b []byte) error

type ListDashboardsRequest

type ListDashboardsRequest struct {
	// Required. The scope of the dashboards to list. A project scope must be
	// specified in the form of `"projects/{project_id_or_number}"`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// A positive number that is the maximum number of results to return.
	// If unspecified, a default of 1000 is used.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// If this field is not empty then it must contain the `nextPageToken` value
	// returned by a previous call to this method.  Using this field causes the
	// method to return additional results from the previous method call.
	PageToken            string   `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `ListDashboards` request.

func (*ListDashboardsRequest) Descriptor

func (*ListDashboardsRequest) Descriptor() ([]byte, []int)

func (*ListDashboardsRequest) GetPageSize

func (m *ListDashboardsRequest) GetPageSize() int32

func (*ListDashboardsRequest) GetPageToken

func (m *ListDashboardsRequest) GetPageToken() string

func (*ListDashboardsRequest) GetParent

func (m *ListDashboardsRequest) GetParent() string

func (*ListDashboardsRequest) ProtoMessage

func (*ListDashboardsRequest) ProtoMessage()

func (*ListDashboardsRequest) Reset

func (m *ListDashboardsRequest) Reset()

func (*ListDashboardsRequest) String

func (m *ListDashboardsRequest) String() string

func (*ListDashboardsRequest) XXX_DiscardUnknown

func (m *ListDashboardsRequest) XXX_DiscardUnknown()

func (*ListDashboardsRequest) XXX_Marshal

func (m *ListDashboardsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListDashboardsRequest) XXX_Merge

func (m *ListDashboardsRequest) XXX_Merge(src proto.Message)

func (*ListDashboardsRequest) XXX_Size

func (m *ListDashboardsRequest) XXX_Size() int

func (*ListDashboardsRequest) XXX_Unmarshal

func (m *ListDashboardsRequest) XXX_Unmarshal(b []byte) error

type ListDashboardsResponse

type ListDashboardsResponse struct {
	// The list of requested dashboards.
	Dashboards []*Dashboard `protobuf:"bytes,1,rep,name=dashboards,proto3" json:"dashboards,omitempty"`
	// If there are more results than have been returned, then this field is set
	// to a non-empty value.  To see the additional results,
	// use that value as `pageToken` in the next call to this method.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `ListDashboards` request.

func (*ListDashboardsResponse) Descriptor

func (*ListDashboardsResponse) Descriptor() ([]byte, []int)

func (*ListDashboardsResponse) GetDashboards

func (m *ListDashboardsResponse) GetDashboards() []*Dashboard

func (*ListDashboardsResponse) GetNextPageToken

func (m *ListDashboardsResponse) GetNextPageToken() string

func (*ListDashboardsResponse) ProtoMessage

func (*ListDashboardsResponse) ProtoMessage()

func (*ListDashboardsResponse) Reset

func (m *ListDashboardsResponse) Reset()

func (*ListDashboardsResponse) String

func (m *ListDashboardsResponse) String() string

func (*ListDashboardsResponse) XXX_DiscardUnknown

func (m *ListDashboardsResponse) XXX_DiscardUnknown()

func (*ListDashboardsResponse) XXX_Marshal

func (m *ListDashboardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListDashboardsResponse) XXX_Merge

func (m *ListDashboardsResponse) XXX_Merge(src proto.Message)

func (*ListDashboardsResponse) XXX_Size

func (m *ListDashboardsResponse) XXX_Size() int

func (*ListDashboardsResponse) XXX_Unmarshal

func (m *ListDashboardsResponse) XXX_Unmarshal(b []byte) error

type PickTimeSeriesFilter

type PickTimeSeriesFilter struct {
	// `rankingMethod` is applied to each time series independently to produce the
	// value which will be used to compare the time series to other time series.
	RankingMethod PickTimeSeriesFilter_Method `` /* 165-byte string literal not displayed */
	// How many time series to return.
	NumTimeSeries int32 `protobuf:"varint,2,opt,name=num_time_series,json=numTimeSeries,proto3" json:"num_time_series,omitempty"`
	// How to use the ranking to select time series that pass through the filter.
	Direction            PickTimeSeriesFilter_Direction `` /* 139-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

Describes a ranking-based time series filter. Each input time series is ranked with an aligner. The filter lets through up to `num_time_series` time series, selecting them based on the relative ranking.

func (*PickTimeSeriesFilter) Descriptor

func (*PickTimeSeriesFilter) Descriptor() ([]byte, []int)

func (*PickTimeSeriesFilter) GetDirection

func (*PickTimeSeriesFilter) GetNumTimeSeries

func (m *PickTimeSeriesFilter) GetNumTimeSeries() int32

func (*PickTimeSeriesFilter) GetRankingMethod

func (m *PickTimeSeriesFilter) GetRankingMethod() PickTimeSeriesFilter_Method

func (*PickTimeSeriesFilter) ProtoMessage

func (*PickTimeSeriesFilter) ProtoMessage()

func (*PickTimeSeriesFilter) Reset

func (m *PickTimeSeriesFilter) Reset()

func (*PickTimeSeriesFilter) String

func (m *PickTimeSeriesFilter) String() string

func (*PickTimeSeriesFilter) XXX_DiscardUnknown

func (m *PickTimeSeriesFilter) XXX_DiscardUnknown()

func (*PickTimeSeriesFilter) XXX_Marshal

func (m *PickTimeSeriesFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PickTimeSeriesFilter) XXX_Merge

func (m *PickTimeSeriesFilter) XXX_Merge(src proto.Message)

func (*PickTimeSeriesFilter) XXX_Size

func (m *PickTimeSeriesFilter) XXX_Size() int

func (*PickTimeSeriesFilter) XXX_Unmarshal

func (m *PickTimeSeriesFilter) XXX_Unmarshal(b []byte) error

type PickTimeSeriesFilter_Direction

type PickTimeSeriesFilter_Direction int32

Describes the ranking directions.

const (
	// Not allowed in well-formed requests.
	PickTimeSeriesFilter_DIRECTION_UNSPECIFIED PickTimeSeriesFilter_Direction = 0
	// Pass the highest ranking inputs.
	PickTimeSeriesFilter_TOP PickTimeSeriesFilter_Direction = 1
	// Pass the lowest ranking inputs.
	PickTimeSeriesFilter_BOTTOM PickTimeSeriesFilter_Direction = 2
)

func (PickTimeSeriesFilter_Direction) EnumDescriptor

func (PickTimeSeriesFilter_Direction) EnumDescriptor() ([]byte, []int)

func (PickTimeSeriesFilter_Direction) String

type PickTimeSeriesFilter_Method

type PickTimeSeriesFilter_Method int32

The value reducers that can be applied to a PickTimeSeriesFilter.

const (
	// Not allowed in well-formed requests.
	PickTimeSeriesFilter_METHOD_UNSPECIFIED PickTimeSeriesFilter_Method = 0
	// Select the mean of all values.
	PickTimeSeriesFilter_METHOD_MEAN PickTimeSeriesFilter_Method = 1
	// Select the maximum value.
	PickTimeSeriesFilter_METHOD_MAX PickTimeSeriesFilter_Method = 2
	// Select the minimum value.
	PickTimeSeriesFilter_METHOD_MIN PickTimeSeriesFilter_Method = 3
	// Compute the sum of all values.
	PickTimeSeriesFilter_METHOD_SUM PickTimeSeriesFilter_Method = 4
	// Select the most recent value.
	PickTimeSeriesFilter_METHOD_LATEST PickTimeSeriesFilter_Method = 5
)

func (PickTimeSeriesFilter_Method) EnumDescriptor

func (PickTimeSeriesFilter_Method) EnumDescriptor() ([]byte, []int)

func (PickTimeSeriesFilter_Method) String

type RowLayout

type RowLayout struct {
	// The rows of content to display.
	Rows                 []*RowLayout_Row `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

A simplified layout that divides the available space into rows and arranges a set of widgets horizontally in each row.

func (*RowLayout) Descriptor

func (*RowLayout) Descriptor() ([]byte, []int)

func (*RowLayout) GetRows

func (m *RowLayout) GetRows() []*RowLayout_Row

func (*RowLayout) ProtoMessage

func (*RowLayout) ProtoMessage()

func (*RowLayout) Reset

func (m *RowLayout) Reset()

func (*RowLayout) String

func (m *RowLayout) String() string

func (*RowLayout) XXX_DiscardUnknown

func (m *RowLayout) XXX_DiscardUnknown()

func (*RowLayout) XXX_Marshal

func (m *RowLayout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RowLayout) XXX_Merge

func (m *RowLayout) XXX_Merge(src proto.Message)

func (*RowLayout) XXX_Size

func (m *RowLayout) XXX_Size() int

func (*RowLayout) XXX_Unmarshal

func (m *RowLayout) XXX_Unmarshal(b []byte) error

type RowLayout_Row

type RowLayout_Row struct {
	// The relative weight of this row. The row weight is used to adjust the
	// height of rows on the screen (relative to peers). Greater the weight,
	// greater the height of the row on the screen. If omitted, a value
	// of 1 is used while rendering.
	Weight int64 `protobuf:"varint,1,opt,name=weight,proto3" json:"weight,omitempty"`
	// The display widgets arranged horizontally in this row.
	Widgets              []*Widget `protobuf:"bytes,2,rep,name=widgets,proto3" json:"widgets,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

Defines the layout properties and content for a row.

func (*RowLayout_Row) Descriptor

func (*RowLayout_Row) Descriptor() ([]byte, []int)

func (*RowLayout_Row) GetWeight

func (m *RowLayout_Row) GetWeight() int64

func (*RowLayout_Row) GetWidgets

func (m *RowLayout_Row) GetWidgets() []*Widget

func (*RowLayout_Row) ProtoMessage

func (*RowLayout_Row) ProtoMessage()

func (*RowLayout_Row) Reset

func (m *RowLayout_Row) Reset()

func (*RowLayout_Row) String

func (m *RowLayout_Row) String() string

func (*RowLayout_Row) XXX_DiscardUnknown

func (m *RowLayout_Row) XXX_DiscardUnknown()

func (*RowLayout_Row) XXX_Marshal

func (m *RowLayout_Row) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RowLayout_Row) XXX_Merge

func (m *RowLayout_Row) XXX_Merge(src proto.Message)

func (*RowLayout_Row) XXX_Size

func (m *RowLayout_Row) XXX_Size() int

func (*RowLayout_Row) XXX_Unmarshal

func (m *RowLayout_Row) XXX_Unmarshal(b []byte) error

type Scorecard

type Scorecard struct {
	// Fields for querying time series data from the
	// Stackdriver metrics API.
	TimeSeriesQuery *TimeSeriesQuery `protobuf:"bytes,1,opt,name=time_series_query,json=timeSeriesQuery,proto3" json:"time_series_query,omitempty"`
	// Defines the optional additional chart shown on the scorecard. If
	// neither is included - then a default scorecard is shown.
	//
	// Types that are valid to be assigned to DataView:
	//	*Scorecard_GaugeView_
	//	*Scorecard_SparkChartView_
	DataView isScorecard_DataView `protobuf_oneof:"data_view"`
	// The thresholds used to determine the state of the scorecard given the
	// time series' current value. For an actual value x, the scorecard is in a
	// danger state if x is less than or equal to a danger threshold that triggers
	// below, or greater than or equal to a danger threshold that triggers above.
	// Similarly, if x is above/below a warning threshold that triggers
	// above/below, then the scorecard is in a warning state - unless x also puts
	// it in a danger state. (Danger trumps warning.)
	//
	// As an example, consider a scorecard with the following four thresholds:
	// {
	//   value: 90,
	//   category: 'DANGER',
	//   trigger: 'ABOVE',
	// },
	// {
	//   value: 70,
	//   category: 'WARNING',
	//   trigger: 'ABOVE',
	// },
	// {
	//   value: 10,
	//   category: 'DANGER',
	//   trigger: 'BELOW',
	// },
	// {
	//   value: 20,
	//   category: 'WARNING',
	//   trigger: 'BELOW',
	// }
	//
	// Then: values less than or equal to 10 would put the scorecard in a DANGER
	// state, values greater than 10 but less than or equal to 20 a WARNING state,
	// values strictly between 20 and 70 an OK state, values greater than or equal
	// to 70 but less than 90 a WARNING state, and values greater than or equal to
	// 90 a DANGER state.
	Thresholds           []*Threshold `protobuf:"bytes,6,rep,name=thresholds,proto3" json:"thresholds,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

A widget showing the latest value of a metric, and how this value relates to one or more thresholds.

func (*Scorecard) Descriptor

func (*Scorecard) Descriptor() ([]byte, []int)

func (*Scorecard) GetDataView

func (m *Scorecard) GetDataView() isScorecard_DataView

func (*Scorecard) GetGaugeView

func (m *Scorecard) GetGaugeView() *Scorecard_GaugeView

func (*Scorecard) GetSparkChartView

func (m *Scorecard) GetSparkChartView() *Scorecard_SparkChartView

func (*Scorecard) GetThresholds

func (m *Scorecard) GetThresholds() []*Threshold

func (*Scorecard) GetTimeSeriesQuery

func (m *Scorecard) GetTimeSeriesQuery() *TimeSeriesQuery

func (*Scorecard) ProtoMessage

func (*Scorecard) ProtoMessage()

func (*Scorecard) Reset

func (m *Scorecard) Reset()

func (*Scorecard) String

func (m *Scorecard) String() string

func (*Scorecard) XXX_DiscardUnknown

func (m *Scorecard) XXX_DiscardUnknown()

func (*Scorecard) XXX_Marshal

func (m *Scorecard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Scorecard) XXX_Merge

func (m *Scorecard) XXX_Merge(src proto.Message)

func (*Scorecard) XXX_OneofWrappers

func (*Scorecard) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Scorecard) XXX_Size

func (m *Scorecard) XXX_Size() int

func (*Scorecard) XXX_Unmarshal

func (m *Scorecard) XXX_Unmarshal(b []byte) error

type Scorecard_GaugeView

type Scorecard_GaugeView struct {
	// The lower bound for this gauge chart. The value of the chart should
	// always be greater than or equal to this.
	LowerBound float64 `protobuf:"fixed64,1,opt,name=lower_bound,json=lowerBound,proto3" json:"lower_bound,omitempty"`
	// The upper bound for this gauge chart. The value of the chart should
	// always be less than or equal to this.
	UpperBound           float64  `protobuf:"fixed64,2,opt,name=upper_bound,json=upperBound,proto3" json:"upper_bound,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A gauge chart shows where the current value sits within a pre-defined range. The upper and lower bounds should define the possible range of values for the scorecard's query (inclusive).

func (*Scorecard_GaugeView) Descriptor

func (*Scorecard_GaugeView) Descriptor() ([]byte, []int)

func (*Scorecard_GaugeView) GetLowerBound

func (m *Scorecard_GaugeView) GetLowerBound() float64

func (*Scorecard_GaugeView) GetUpperBound

func (m *Scorecard_GaugeView) GetUpperBound() float64

func (*Scorecard_GaugeView) ProtoMessage

func (*Scorecard_GaugeView) ProtoMessage()

func (*Scorecard_GaugeView) Reset

func (m *Scorecard_GaugeView) Reset()

func (*Scorecard_GaugeView) String

func (m *Scorecard_GaugeView) String() string

func (*Scorecard_GaugeView) XXX_DiscardUnknown

func (m *Scorecard_GaugeView) XXX_DiscardUnknown()

func (*Scorecard_GaugeView) XXX_Marshal

func (m *Scorecard_GaugeView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Scorecard_GaugeView) XXX_Merge

func (m *Scorecard_GaugeView) XXX_Merge(src proto.Message)

func (*Scorecard_GaugeView) XXX_Size

func (m *Scorecard_GaugeView) XXX_Size() int

func (*Scorecard_GaugeView) XXX_Unmarshal

func (m *Scorecard_GaugeView) XXX_Unmarshal(b []byte) error

type Scorecard_GaugeView_

type Scorecard_GaugeView_ struct {
	GaugeView *Scorecard_GaugeView `protobuf:"bytes,4,opt,name=gauge_view,json=gaugeView,proto3,oneof"`
}

type Scorecard_SparkChartView

type Scorecard_SparkChartView struct {
	// The type of sparkchart to show in this chartView.
	SparkChartType SparkChartType `` /* 157-byte string literal not displayed */
	// 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.
	MinAlignmentPeriod   *duration.Duration `protobuf:"bytes,2,opt,name=min_alignment_period,json=minAlignmentPeriod,proto3" json:"min_alignment_period,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

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.

func (*Scorecard_SparkChartView) Descriptor

func (*Scorecard_SparkChartView) Descriptor() ([]byte, []int)

func (*Scorecard_SparkChartView) GetMinAlignmentPeriod

func (m *Scorecard_SparkChartView) GetMinAlignmentPeriod() *duration.Duration

func (*Scorecard_SparkChartView) GetSparkChartType

func (m *Scorecard_SparkChartView) GetSparkChartType() SparkChartType

func (*Scorecard_SparkChartView) ProtoMessage

func (*Scorecard_SparkChartView) ProtoMessage()

func (*Scorecard_SparkChartView) Reset

func (m *Scorecard_SparkChartView) Reset()

func (*Scorecard_SparkChartView) String

func (m *Scorecard_SparkChartView) String() string

func (*Scorecard_SparkChartView) XXX_DiscardUnknown

func (m *Scorecard_SparkChartView) XXX_DiscardUnknown()

func (*Scorecard_SparkChartView) XXX_Marshal

func (m *Scorecard_SparkChartView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Scorecard_SparkChartView) XXX_Merge

func (m *Scorecard_SparkChartView) XXX_Merge(src proto.Message)

func (*Scorecard_SparkChartView) XXX_Size

func (m *Scorecard_SparkChartView) XXX_Size() int

func (*Scorecard_SparkChartView) XXX_Unmarshal

func (m *Scorecard_SparkChartView) XXX_Unmarshal(b []byte) error

type Scorecard_SparkChartView_

type Scorecard_SparkChartView_ struct {
	SparkChartView *Scorecard_SparkChartView `protobuf:"bytes,5,opt,name=spark_chart_view,json=sparkChartView,proto3,oneof"`
}

type SparkChartType

type SparkChartType int32

Defines the possible types of spark chart supported by the `Scorecard`.

const (
	// Not allowed in well-formed requests.
	SparkChartType_SPARK_CHART_TYPE_UNSPECIFIED SparkChartType = 0
	// The sparkline will be rendered as a small line chart.
	SparkChartType_SPARK_LINE SparkChartType = 1
	// The sparkbar will be rendered as a small bar chart.
	SparkChartType_SPARK_BAR SparkChartType = 2
)

func (SparkChartType) EnumDescriptor

func (SparkChartType) EnumDescriptor() ([]byte, []int)

func (SparkChartType) String

func (x SparkChartType) String() string

type StatisticalTimeSeriesFilter

type StatisticalTimeSeriesFilter struct {
	// `rankingMethod` is applied to a set of time series, and then the produced
	// value for each individual time series is used to compare a given time
	// series to others.
	// These are methods that cannot be applied stream-by-stream, but rather
	// require the full context of a request to evaluate time series.
	RankingMethod StatisticalTimeSeriesFilter_Method `` /* 172-byte string literal not displayed */
	// How many time series to output.
	NumTimeSeries        int32    `protobuf:"varint,2,opt,name=num_time_series,json=numTimeSeries,proto3" json:"num_time_series,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A filter that ranks streams based on their statistical relation to other streams in a request.

func (*StatisticalTimeSeriesFilter) Descriptor

func (*StatisticalTimeSeriesFilter) Descriptor() ([]byte, []int)

func (*StatisticalTimeSeriesFilter) GetNumTimeSeries

func (m *StatisticalTimeSeriesFilter) GetNumTimeSeries() int32

func (*StatisticalTimeSeriesFilter) GetRankingMethod

func (*StatisticalTimeSeriesFilter) ProtoMessage

func (*StatisticalTimeSeriesFilter) ProtoMessage()

func (*StatisticalTimeSeriesFilter) Reset

func (m *StatisticalTimeSeriesFilter) Reset()

func (*StatisticalTimeSeriesFilter) String

func (m *StatisticalTimeSeriesFilter) String() string

func (*StatisticalTimeSeriesFilter) XXX_DiscardUnknown

func (m *StatisticalTimeSeriesFilter) XXX_DiscardUnknown()

func (*StatisticalTimeSeriesFilter) XXX_Marshal

func (m *StatisticalTimeSeriesFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StatisticalTimeSeriesFilter) XXX_Merge

func (m *StatisticalTimeSeriesFilter) XXX_Merge(src proto.Message)

func (*StatisticalTimeSeriesFilter) XXX_Size

func (m *StatisticalTimeSeriesFilter) XXX_Size() int

func (*StatisticalTimeSeriesFilter) XXX_Unmarshal

func (m *StatisticalTimeSeriesFilter) XXX_Unmarshal(b []byte) error

type StatisticalTimeSeriesFilter_Method

type StatisticalTimeSeriesFilter_Method int32

The filter methods that can be applied to a stream.

const (
	// Not allowed in well-formed requests.
	StatisticalTimeSeriesFilter_METHOD_UNSPECIFIED StatisticalTimeSeriesFilter_Method = 0
	// Compute the outlier score of each stream.
	StatisticalTimeSeriesFilter_METHOD_CLUSTER_OUTLIER StatisticalTimeSeriesFilter_Method = 1
)

func (StatisticalTimeSeriesFilter_Method) EnumDescriptor

func (StatisticalTimeSeriesFilter_Method) EnumDescriptor() ([]byte, []int)

func (StatisticalTimeSeriesFilter_Method) String

type Text

type Text struct {
	// The text content to be displayed.
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// How the text content is formatted.
	Format               Text_Format `protobuf:"varint,2,opt,name=format,proto3,enum=google.monitoring.dashboard.v1.Text_Format" json:"format,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

A widget that displays textual content.

func (*Text) Descriptor

func (*Text) Descriptor() ([]byte, []int)

func (*Text) GetContent

func (m *Text) GetContent() string

func (*Text) GetFormat

func (m *Text) GetFormat() Text_Format

func (*Text) ProtoMessage

func (*Text) ProtoMessage()

func (*Text) Reset

func (m *Text) Reset()

func (*Text) String

func (m *Text) String() string

func (*Text) XXX_DiscardUnknown

func (m *Text) XXX_DiscardUnknown()

func (*Text) XXX_Marshal

func (m *Text) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Text) XXX_Merge

func (m *Text) XXX_Merge(src proto.Message)

func (*Text) XXX_Size

func (m *Text) XXX_Size() int

func (*Text) XXX_Unmarshal

func (m *Text) XXX_Unmarshal(b []byte) error

type Text_Format

type Text_Format int32

The format type of the text content.

const (
	// Format is unspecified. Defaults to MARKDOWN.
	Text_FORMAT_UNSPECIFIED Text_Format = 0
	// The text contains Markdown formatting.
	Text_MARKDOWN Text_Format = 1
	// The text contains no special formatting.
	Text_RAW Text_Format = 2
)

func (Text_Format) EnumDescriptor

func (Text_Format) EnumDescriptor() ([]byte, []int)

func (Text_Format) String

func (x Text_Format) String() string

type Threshold

type Threshold struct {
	// A label for the threshold.
	Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
	// The value of the threshold. The value should be defined in the native scale
	// of the metric.
	Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"`
	// The state color for this threshold. Color is not allowed in a XyChart.
	Color Threshold_Color `protobuf:"varint,3,opt,name=color,proto3,enum=google.monitoring.dashboard.v1.Threshold_Color" json:"color,omitempty"`
	// The direction for the current threshold. Direction is not allowed in a
	// XyChart.
	Direction            Threshold_Direction `` /* 128-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

Defines a threshold for categorizing time series values.

func (*Threshold) Descriptor

func (*Threshold) Descriptor() ([]byte, []int)

func (*Threshold) GetColor

func (m *Threshold) GetColor() Threshold_Color

func (*Threshold) GetDirection

func (m *Threshold) GetDirection() Threshold_Direction

func (*Threshold) GetLabel

func (m *Threshold) GetLabel() string

func (*Threshold) GetValue

func (m *Threshold) GetValue() float64

func (*Threshold) ProtoMessage

func (*Threshold) ProtoMessage()

func (*Threshold) Reset

func (m *Threshold) Reset()

func (*Threshold) String

func (m *Threshold) String() string

func (*Threshold) XXX_DiscardUnknown

func (m *Threshold) XXX_DiscardUnknown()

func (*Threshold) XXX_Marshal

func (m *Threshold) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Threshold) XXX_Merge

func (m *Threshold) XXX_Merge(src proto.Message)

func (*Threshold) XXX_Size

func (m *Threshold) XXX_Size() int

func (*Threshold) XXX_Unmarshal

func (m *Threshold) XXX_Unmarshal(b []byte) error

type Threshold_Color

type Threshold_Color int32

The color suggests an interpretation to the viewer when actual values cross the threshold. Comments on each color provide UX guidance on how users can be expected to interpret a given state color.

const (
	// Color is unspecified. Not allowed in well-formed requests.
	Threshold_COLOR_UNSPECIFIED Threshold_Color = 0
	// Crossing the threshold is "concerning" behavior.
	Threshold_YELLOW Threshold_Color = 4
	// Crossing the threshold is "emergency" behavior.
	Threshold_RED Threshold_Color = 6
)

func (Threshold_Color) EnumDescriptor

func (Threshold_Color) EnumDescriptor() ([]byte, []int)

func (Threshold_Color) String

func (x Threshold_Color) String() string

type Threshold_Direction

type Threshold_Direction int32

Whether the threshold is considered crossed by an actual value above or below its threshold value.

const (
	// Not allowed in well-formed requests.
	Threshold_DIRECTION_UNSPECIFIED Threshold_Direction = 0
	// The threshold will be considered crossed if the actual value is above
	// the threshold value.
	Threshold_ABOVE Threshold_Direction = 1
	// The threshold will be considered crossed if the actual value is below
	// the threshold value.
	Threshold_BELOW Threshold_Direction = 2
)

func (Threshold_Direction) EnumDescriptor

func (Threshold_Direction) EnumDescriptor() ([]byte, []int)

func (Threshold_Direction) String

func (x Threshold_Direction) String() string

type TimeSeriesFilter

type TimeSeriesFilter struct {
	// Required. The [monitoring filter](/monitoring/api/v3/filters) that identifies the
	// metric types, resources, and projects to query.
	Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// By default, the raw time series data is returned.
	// Use this field to combine multiple time series for different views of the
	// data.
	Aggregation *Aggregation `protobuf:"bytes,2,opt,name=aggregation,proto3" json:"aggregation,omitempty"`
	// Selects an optional time series filter.
	//
	// Types that are valid to be assigned to OutputFilter:
	//	*TimeSeriesFilter_PickTimeSeriesFilter
	//	*TimeSeriesFilter_StatisticalTimeSeriesFilter
	OutputFilter         isTimeSeriesFilter_OutputFilter `protobuf_oneof:"output_filter"`
	XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
	XXX_unrecognized     []byte                          `json:"-"`
	XXX_sizecache        int32                           `json:"-"`
}

A filter that defines a subset of time series data that is displayed in a widget. Time series data is fetched using the [`ListTimeSeries`](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list) method.

func (*TimeSeriesFilter) Descriptor

func (*TimeSeriesFilter) Descriptor() ([]byte, []int)

func (*TimeSeriesFilter) GetAggregation

func (m *TimeSeriesFilter) GetAggregation() *Aggregation

func (*TimeSeriesFilter) GetFilter

func (m *TimeSeriesFilter) GetFilter() string

func (*TimeSeriesFilter) GetOutputFilter

func (m *TimeSeriesFilter) GetOutputFilter() isTimeSeriesFilter_OutputFilter

func (*TimeSeriesFilter) GetPickTimeSeriesFilter

func (m *TimeSeriesFilter) GetPickTimeSeriesFilter() *PickTimeSeriesFilter

func (*TimeSeriesFilter) GetStatisticalTimeSeriesFilter

func (m *TimeSeriesFilter) GetStatisticalTimeSeriesFilter() *StatisticalTimeSeriesFilter

func (*TimeSeriesFilter) ProtoMessage

func (*TimeSeriesFilter) ProtoMessage()

func (*TimeSeriesFilter) Reset

func (m *TimeSeriesFilter) Reset()

func (*TimeSeriesFilter) String

func (m *TimeSeriesFilter) String() string

func (*TimeSeriesFilter) XXX_DiscardUnknown

func (m *TimeSeriesFilter) XXX_DiscardUnknown()

func (*TimeSeriesFilter) XXX_Marshal

func (m *TimeSeriesFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TimeSeriesFilter) XXX_Merge

func (m *TimeSeriesFilter) XXX_Merge(src proto.Message)

func (*TimeSeriesFilter) XXX_OneofWrappers

func (*TimeSeriesFilter) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*TimeSeriesFilter) XXX_Size

func (m *TimeSeriesFilter) XXX_Size() int

func (*TimeSeriesFilter) XXX_Unmarshal

func (m *TimeSeriesFilter) XXX_Unmarshal(b []byte) error

type TimeSeriesFilterRatio

type TimeSeriesFilterRatio struct {
	// The numerator of the ratio.
	Numerator *TimeSeriesFilterRatio_RatioPart `protobuf:"bytes,1,opt,name=numerator,proto3" json:"numerator,omitempty"`
	// The denominator of the ratio.
	Denominator *TimeSeriesFilterRatio_RatioPart `protobuf:"bytes,2,opt,name=denominator,proto3" json:"denominator,omitempty"`
	// Apply a second aggregation after the ratio is computed.
	SecondaryAggregation *Aggregation `protobuf:"bytes,3,opt,name=secondary_aggregation,json=secondaryAggregation,proto3" json:"secondary_aggregation,omitempty"`
	// Selects an optional filter that is applied to the time series after
	// computing the ratio.
	//
	// Types that are valid to be assigned to OutputFilter:
	//	*TimeSeriesFilterRatio_PickTimeSeriesFilter
	//	*TimeSeriesFilterRatio_StatisticalTimeSeriesFilter
	OutputFilter         isTimeSeriesFilterRatio_OutputFilter `protobuf_oneof:"output_filter"`
	XXX_NoUnkeyedLiteral struct{}                             `json:"-"`
	XXX_unrecognized     []byte                               `json:"-"`
	XXX_sizecache        int32                                `json:"-"`
}

A pair of time series filters that define a ratio computation. The output time series is the pair-wise division of each aligned element from the numerator and denominator time series.

func (*TimeSeriesFilterRatio) Descriptor

func (*TimeSeriesFilterRatio) Descriptor() ([]byte, []int)

func (*TimeSeriesFilterRatio) GetDenominator

func (*TimeSeriesFilterRatio) GetNumerator

func (*TimeSeriesFilterRatio) GetOutputFilter

func (m *TimeSeriesFilterRatio) GetOutputFilter() isTimeSeriesFilterRatio_OutputFilter

func (*TimeSeriesFilterRatio) GetPickTimeSeriesFilter

func (m *TimeSeriesFilterRatio) GetPickTimeSeriesFilter() *PickTimeSeriesFilter

func (*TimeSeriesFilterRatio) GetSecondaryAggregation

func (m *TimeSeriesFilterRatio) GetSecondaryAggregation() *Aggregation

func (*TimeSeriesFilterRatio) GetStatisticalTimeSeriesFilter

func (m *TimeSeriesFilterRatio) GetStatisticalTimeSeriesFilter() *StatisticalTimeSeriesFilter

func (*TimeSeriesFilterRatio) ProtoMessage

func (*TimeSeriesFilterRatio) ProtoMessage()

func (*TimeSeriesFilterRatio) Reset

func (m *TimeSeriesFilterRatio) Reset()

func (*TimeSeriesFilterRatio) String

func (m *TimeSeriesFilterRatio) String() string

func (*TimeSeriesFilterRatio) XXX_DiscardUnknown

func (m *TimeSeriesFilterRatio) XXX_DiscardUnknown()

func (*TimeSeriesFilterRatio) XXX_Marshal

func (m *TimeSeriesFilterRatio) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TimeSeriesFilterRatio) XXX_Merge

func (m *TimeSeriesFilterRatio) XXX_Merge(src proto.Message)

func (*TimeSeriesFilterRatio) XXX_OneofWrappers

func (*TimeSeriesFilterRatio) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*TimeSeriesFilterRatio) XXX_Size

func (m *TimeSeriesFilterRatio) XXX_Size() int

func (*TimeSeriesFilterRatio) XXX_Unmarshal

func (m *TimeSeriesFilterRatio) XXX_Unmarshal(b []byte) error

type TimeSeriesFilterRatio_PickTimeSeriesFilter

type TimeSeriesFilterRatio_PickTimeSeriesFilter struct {
	PickTimeSeriesFilter *PickTimeSeriesFilter `protobuf:"bytes,4,opt,name=pick_time_series_filter,json=pickTimeSeriesFilter,proto3,oneof"`
}

type TimeSeriesFilterRatio_RatioPart

type TimeSeriesFilterRatio_RatioPart struct {
	// Required. The [monitoring filter](/monitoring/api/v3/filters) that identifies the
	// metric types, resources, and projects to query.
	Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// By default, the raw time series data is returned.
	// Use this field to combine multiple time series for different views of the
	// data.
	Aggregation          *Aggregation `protobuf:"bytes,2,opt,name=aggregation,proto3" json:"aggregation,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

Describes a query to build the numerator or denominator of a TimeSeriesFilterRatio.

func (*TimeSeriesFilterRatio_RatioPart) Descriptor

func (*TimeSeriesFilterRatio_RatioPart) Descriptor() ([]byte, []int)

func (*TimeSeriesFilterRatio_RatioPart) GetAggregation

func (m *TimeSeriesFilterRatio_RatioPart) GetAggregation() *Aggregation

func (*TimeSeriesFilterRatio_RatioPart) GetFilter

func (m *TimeSeriesFilterRatio_RatioPart) GetFilter() string

func (*TimeSeriesFilterRatio_RatioPart) ProtoMessage

func (*TimeSeriesFilterRatio_RatioPart) ProtoMessage()

func (*TimeSeriesFilterRatio_RatioPart) Reset

func (*TimeSeriesFilterRatio_RatioPart) String

func (*TimeSeriesFilterRatio_RatioPart) XXX_DiscardUnknown

func (m *TimeSeriesFilterRatio_RatioPart) XXX_DiscardUnknown()

func (*TimeSeriesFilterRatio_RatioPart) XXX_Marshal

func (m *TimeSeriesFilterRatio_RatioPart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TimeSeriesFilterRatio_RatioPart) XXX_Merge

func (m *TimeSeriesFilterRatio_RatioPart) XXX_Merge(src proto.Message)

func (*TimeSeriesFilterRatio_RatioPart) XXX_Size

func (m *TimeSeriesFilterRatio_RatioPart) XXX_Size() int

func (*TimeSeriesFilterRatio_RatioPart) XXX_Unmarshal

func (m *TimeSeriesFilterRatio_RatioPart) XXX_Unmarshal(b []byte) error

type TimeSeriesFilterRatio_StatisticalTimeSeriesFilter

type TimeSeriesFilterRatio_StatisticalTimeSeriesFilter struct {
	StatisticalTimeSeriesFilter *StatisticalTimeSeriesFilter `protobuf:"bytes,5,opt,name=statistical_time_series_filter,json=statisticalTimeSeriesFilter,proto3,oneof"`
}

type TimeSeriesFilter_PickTimeSeriesFilter

type TimeSeriesFilter_PickTimeSeriesFilter struct {
	PickTimeSeriesFilter *PickTimeSeriesFilter `protobuf:"bytes,4,opt,name=pick_time_series_filter,json=pickTimeSeriesFilter,proto3,oneof"`
}

type TimeSeriesFilter_StatisticalTimeSeriesFilter

type TimeSeriesFilter_StatisticalTimeSeriesFilter struct {
	StatisticalTimeSeriesFilter *StatisticalTimeSeriesFilter `protobuf:"bytes,5,opt,name=statistical_time_series_filter,json=statisticalTimeSeriesFilter,proto3,oneof"`
}

type TimeSeriesQuery

type TimeSeriesQuery struct {
	// Parameters needed to obtain data for the chart.
	//
	// Types that are valid to be assigned to Source:
	//	*TimeSeriesQuery_TimeSeriesFilter
	//	*TimeSeriesQuery_TimeSeriesFilterRatio
	Source isTimeSeriesQuery_Source `protobuf_oneof:"source"`
	// 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`](/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors)
	// field in `MetricDescriptor`.
	UnitOverride         string   `protobuf:"bytes,5,opt,name=unit_override,json=unitOverride,proto3" json:"unit_override,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*TimeSeriesQuery) Descriptor

func (*TimeSeriesQuery) Descriptor() ([]byte, []int)

func (*TimeSeriesQuery) GetSource

func (m *TimeSeriesQuery) GetSource() isTimeSeriesQuery_Source

func (*TimeSeriesQuery) GetTimeSeriesFilter

func (m *TimeSeriesQuery) GetTimeSeriesFilter() *TimeSeriesFilter

func (*TimeSeriesQuery) GetTimeSeriesFilterRatio

func (m *TimeSeriesQuery) GetTimeSeriesFilterRatio() *TimeSeriesFilterRatio

func (*TimeSeriesQuery) GetUnitOverride

func (m *TimeSeriesQuery) GetUnitOverride() string

func (*TimeSeriesQuery) ProtoMessage

func (*TimeSeriesQuery) ProtoMessage()

func (*TimeSeriesQuery) Reset

func (m *TimeSeriesQuery) Reset()

func (*TimeSeriesQuery) String

func (m *TimeSeriesQuery) String() string

func (*TimeSeriesQuery) XXX_DiscardUnknown

func (m *TimeSeriesQuery) XXX_DiscardUnknown()

func (*TimeSeriesQuery) XXX_Marshal

func (m *TimeSeriesQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TimeSeriesQuery) XXX_Merge

func (m *TimeSeriesQuery) XXX_Merge(src proto.Message)

func (*TimeSeriesQuery) XXX_OneofWrappers

func (*TimeSeriesQuery) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*TimeSeriesQuery) XXX_Size

func (m *TimeSeriesQuery) XXX_Size() int

func (*TimeSeriesQuery) XXX_Unmarshal

func (m *TimeSeriesQuery) XXX_Unmarshal(b []byte) error

type TimeSeriesQuery_TimeSeriesFilter

type TimeSeriesQuery_TimeSeriesFilter struct {
	TimeSeriesFilter *TimeSeriesFilter `protobuf:"bytes,1,opt,name=time_series_filter,json=timeSeriesFilter,proto3,oneof"`
}

type TimeSeriesQuery_TimeSeriesFilterRatio

type TimeSeriesQuery_TimeSeriesFilterRatio struct {
	TimeSeriesFilterRatio *TimeSeriesFilterRatio `protobuf:"bytes,2,opt,name=time_series_filter_ratio,json=timeSeriesFilterRatio,proto3,oneof"`
}

type UnimplementedDashboardsServiceServer

type UnimplementedDashboardsServiceServer struct {
}

UnimplementedDashboardsServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedDashboardsServiceServer) CreateDashboard

func (*UnimplementedDashboardsServiceServer) DeleteDashboard

func (*UnimplementedDashboardsServiceServer) GetDashboard

func (*UnimplementedDashboardsServiceServer) ListDashboards

func (*UnimplementedDashboardsServiceServer) UpdateDashboard

type UpdateDashboardRequest

type UpdateDashboardRequest struct {
	// Required. The dashboard that will replace the existing dashboard.
	Dashboard            *Dashboard `protobuf:"bytes,1,opt,name=dashboard,proto3" json:"dashboard,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

The `UpdateDashboard` request.

func (*UpdateDashboardRequest) Descriptor

func (*UpdateDashboardRequest) Descriptor() ([]byte, []int)

func (*UpdateDashboardRequest) GetDashboard

func (m *UpdateDashboardRequest) GetDashboard() *Dashboard

func (*UpdateDashboardRequest) ProtoMessage

func (*UpdateDashboardRequest) ProtoMessage()

func (*UpdateDashboardRequest) Reset

func (m *UpdateDashboardRequest) Reset()

func (*UpdateDashboardRequest) String

func (m *UpdateDashboardRequest) String() string

func (*UpdateDashboardRequest) XXX_DiscardUnknown

func (m *UpdateDashboardRequest) XXX_DiscardUnknown()

func (*UpdateDashboardRequest) XXX_Marshal

func (m *UpdateDashboardRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateDashboardRequest) XXX_Merge

func (m *UpdateDashboardRequest) XXX_Merge(src proto.Message)

func (*UpdateDashboardRequest) XXX_Size

func (m *UpdateDashboardRequest) XXX_Size() int

func (*UpdateDashboardRequest) XXX_Unmarshal

func (m *UpdateDashboardRequest) XXX_Unmarshal(b []byte) error

type Widget

type Widget struct {
	// Optional. The title of the widget.
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// Content defines the component used to populate the widget.
	//
	// Types that are valid to be assigned to Content:
	//	*Widget_XyChart
	//	*Widget_Scorecard
	//	*Widget_Text
	//	*Widget_Blank
	Content              isWidget_Content `protobuf_oneof:"content"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

Widget contains a single dashboard component and configuration of how to present the component in the dashboard.

func (*Widget) Descriptor

func (*Widget) Descriptor() ([]byte, []int)

func (*Widget) GetBlank

func (m *Widget) GetBlank() *empty.Empty

func (*Widget) GetContent

func (m *Widget) GetContent() isWidget_Content

func (*Widget) GetScorecard

func (m *Widget) GetScorecard() *Scorecard

func (*Widget) GetText

func (m *Widget) GetText() *Text

func (*Widget) GetTitle

func (m *Widget) GetTitle() string

func (*Widget) GetXyChart

func (m *Widget) GetXyChart() *XyChart

func (*Widget) ProtoMessage

func (*Widget) ProtoMessage()

func (*Widget) Reset

func (m *Widget) Reset()

func (*Widget) String

func (m *Widget) String() string

func (*Widget) XXX_DiscardUnknown

func (m *Widget) XXX_DiscardUnknown()

func (*Widget) XXX_Marshal

func (m *Widget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Widget) XXX_Merge

func (m *Widget) XXX_Merge(src proto.Message)

func (*Widget) XXX_OneofWrappers

func (*Widget) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Widget) XXX_Size

func (m *Widget) XXX_Size() int

func (*Widget) XXX_Unmarshal

func (m *Widget) XXX_Unmarshal(b []byte) error

type Widget_Blank

type Widget_Blank struct {
	Blank *empty.Empty `protobuf:"bytes,5,opt,name=blank,proto3,oneof"`
}

type Widget_Scorecard

type Widget_Scorecard struct {
	Scorecard *Scorecard `protobuf:"bytes,3,opt,name=scorecard,proto3,oneof"`
}

type Widget_Text

type Widget_Text struct {
	Text *Text `protobuf:"bytes,4,opt,name=text,proto3,oneof"`
}

type Widget_XyChart

type Widget_XyChart struct {
	XyChart *XyChart `protobuf:"bytes,2,opt,name=xy_chart,json=xyChart,proto3,oneof"`
}

type XyChart

type XyChart struct {
	// The data displayed in this chart.
	DataSets []*XyChart_DataSet `protobuf:"bytes,1,rep,name=data_sets,json=dataSets,proto3" json:"data_sets,omitempty"`
	// The duration used to display a comparison chart. A comparison chart
	// simultaneously shows values from two similar-length time periods
	// (e.g., week-over-week metrics).
	// The duration must be positive, and it can only be applied to charts with
	// data sets of LINE plot type.
	TimeshiftDuration *duration.Duration `protobuf:"bytes,4,opt,name=timeshift_duration,json=timeshiftDuration,proto3" json:"timeshift_duration,omitempty"`
	// Threshold lines drawn horizontally across the chart.
	Thresholds []*Threshold `protobuf:"bytes,5,rep,name=thresholds,proto3" json:"thresholds,omitempty"`
	// The properties applied to the X axis.
	XAxis *XyChart_Axis `protobuf:"bytes,6,opt,name=x_axis,json=xAxis,proto3" json:"x_axis,omitempty"`
	// The properties applied to the Y axis.
	YAxis *XyChart_Axis `protobuf:"bytes,7,opt,name=y_axis,json=yAxis,proto3" json:"y_axis,omitempty"`
	// Display options for the chart.
	ChartOptions         *ChartOptions `protobuf:"bytes,8,opt,name=chart_options,json=chartOptions,proto3" json:"chart_options,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

A chart that displays data on a 2D (X and Y axes) plane.

func (*XyChart) Descriptor

func (*XyChart) Descriptor() ([]byte, []int)

func (*XyChart) GetChartOptions

func (m *XyChart) GetChartOptions() *ChartOptions

func (*XyChart) GetDataSets

func (m *XyChart) GetDataSets() []*XyChart_DataSet

func (*XyChart) GetThresholds

func (m *XyChart) GetThresholds() []*Threshold

func (*XyChart) GetTimeshiftDuration

func (m *XyChart) GetTimeshiftDuration() *duration.Duration

func (*XyChart) GetXAxis

func (m *XyChart) GetXAxis() *XyChart_Axis

func (*XyChart) GetYAxis

func (m *XyChart) GetYAxis() *XyChart_Axis

func (*XyChart) ProtoMessage

func (*XyChart) ProtoMessage()

func (*XyChart) Reset

func (m *XyChart) Reset()

func (*XyChart) String

func (m *XyChart) String() string

func (*XyChart) XXX_DiscardUnknown

func (m *XyChart) XXX_DiscardUnknown()

func (*XyChart) XXX_Marshal

func (m *XyChart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*XyChart) XXX_Merge

func (m *XyChart) XXX_Merge(src proto.Message)

func (*XyChart) XXX_Size

func (m *XyChart) XXX_Size() int

func (*XyChart) XXX_Unmarshal

func (m *XyChart) XXX_Unmarshal(b []byte) error

type XyChart_Axis

type XyChart_Axis struct {
	// The label of the axis.
	Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
	// The axis scale. By default, a linear scale is used.
	Scale                XyChart_Axis_Scale `protobuf:"varint,2,opt,name=scale,proto3,enum=google.monitoring.dashboard.v1.XyChart_Axis_Scale" json:"scale,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

A chart axis.

func (*XyChart_Axis) Descriptor

func (*XyChart_Axis) Descriptor() ([]byte, []int)

func (*XyChart_Axis) GetLabel

func (m *XyChart_Axis) GetLabel() string

func (*XyChart_Axis) GetScale

func (m *XyChart_Axis) GetScale() XyChart_Axis_Scale

func (*XyChart_Axis) ProtoMessage

func (*XyChart_Axis) ProtoMessage()

func (*XyChart_Axis) Reset

func (m *XyChart_Axis) Reset()

func (*XyChart_Axis) String

func (m *XyChart_Axis) String() string

func (*XyChart_Axis) XXX_DiscardUnknown

func (m *XyChart_Axis) XXX_DiscardUnknown()

func (*XyChart_Axis) XXX_Marshal

func (m *XyChart_Axis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*XyChart_Axis) XXX_Merge

func (m *XyChart_Axis) XXX_Merge(src proto.Message)

func (*XyChart_Axis) XXX_Size

func (m *XyChart_Axis) XXX_Size() int

func (*XyChart_Axis) XXX_Unmarshal

func (m *XyChart_Axis) XXX_Unmarshal(b []byte) error

type XyChart_Axis_Scale

type XyChart_Axis_Scale int32

Types of scales used in axes.

const (
	// Scale is unspecified. The view will default to `LINEAR`.
	XyChart_Axis_SCALE_UNSPECIFIED XyChart_Axis_Scale = 0
	// Linear scale.
	XyChart_Axis_LINEAR XyChart_Axis_Scale = 1
	// Logarithmic scale (base 10).
	XyChart_Axis_LOG10 XyChart_Axis_Scale = 2
)

func (XyChart_Axis_Scale) EnumDescriptor

func (XyChart_Axis_Scale) EnumDescriptor() ([]byte, []int)

func (XyChart_Axis_Scale) String

func (x XyChart_Axis_Scale) String() string

type XyChart_DataSet

type XyChart_DataSet struct {
	// Fields for querying time series data from the
	// Stackdriver metrics API.
	TimeSeriesQuery *TimeSeriesQuery `protobuf:"bytes,1,opt,name=time_series_query,json=timeSeriesQuery,proto3" json:"time_series_query,omitempty"`
	// How this data should be plotted on the chart.
	PlotType XyChart_DataSet_PlotType `` /* 147-byte string literal not displayed */
	// 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.
	LegendTemplate string `protobuf:"bytes,3,opt,name=legend_template,json=legendTemplate,proto3" json:"legend_template,omitempty"`
	// 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.
	MinAlignmentPeriod   *duration.Duration `protobuf:"bytes,4,opt,name=min_alignment_period,json=minAlignmentPeriod,proto3" json:"min_alignment_period,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

Groups a time series query definition with charting options.

func (*XyChart_DataSet) Descriptor

func (*XyChart_DataSet) Descriptor() ([]byte, []int)

func (*XyChart_DataSet) GetLegendTemplate

func (m *XyChart_DataSet) GetLegendTemplate() string

func (*XyChart_DataSet) GetMinAlignmentPeriod

func (m *XyChart_DataSet) GetMinAlignmentPeriod() *duration.Duration

func (*XyChart_DataSet) GetPlotType

func (m *XyChart_DataSet) GetPlotType() XyChart_DataSet_PlotType

func (*XyChart_DataSet) GetTimeSeriesQuery

func (m *XyChart_DataSet) GetTimeSeriesQuery() *TimeSeriesQuery

func (*XyChart_DataSet) ProtoMessage

func (*XyChart_DataSet) ProtoMessage()

func (*XyChart_DataSet) Reset

func (m *XyChart_DataSet) Reset()

func (*XyChart_DataSet) String

func (m *XyChart_DataSet) String() string

func (*XyChart_DataSet) XXX_DiscardUnknown

func (m *XyChart_DataSet) XXX_DiscardUnknown()

func (*XyChart_DataSet) XXX_Marshal

func (m *XyChart_DataSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*XyChart_DataSet) XXX_Merge

func (m *XyChart_DataSet) XXX_Merge(src proto.Message)

func (*XyChart_DataSet) XXX_Size

func (m *XyChart_DataSet) XXX_Size() int

func (*XyChart_DataSet) XXX_Unmarshal

func (m *XyChart_DataSet) XXX_Unmarshal(b []byte) error

type XyChart_DataSet_PlotType

type XyChart_DataSet_PlotType int32

The types of plotting strategies for data sets.

const (
	// Plot type is unspecified. The view will default to `LINE`.
	XyChart_DataSet_PLOT_TYPE_UNSPECIFIED XyChart_DataSet_PlotType = 0
	// The data is plotted as a set of lines (one line per series).
	XyChart_DataSet_LINE XyChart_DataSet_PlotType = 1
	// The data is plotted as a set of filled areas (one area per series),
	// with the areas stacked vertically (the base of each area is the top of
	// its predecessor, and the base of the first area is the X axis). Since
	// the areas do not overlap, each is filled with a different opaque color.
	XyChart_DataSet_STACKED_AREA XyChart_DataSet_PlotType = 2
	// The data is plotted as a set of rectangular boxes (one box per series),
	// with the boxes stacked vertically (the base of each box is the top of
	// its predecessor, and the base of the first box is the X axis). Since
	// the boxes do not overlap, each is filled with a different opaque color.
	XyChart_DataSet_STACKED_BAR XyChart_DataSet_PlotType = 3
	// The data is plotted as a heatmap. The series being plotted must have a
	// `DISTRIBUTION` value type. The value of each bucket in the distribution
	// is displayed as a color. This type is not currently available in the
	// Stackdriver Monitoring application.
	XyChart_DataSet_HEATMAP XyChart_DataSet_PlotType = 4
)

func (XyChart_DataSet_PlotType) EnumDescriptor

func (XyChart_DataSet_PlotType) EnumDescriptor() ([]byte, []int)

func (XyChart_DataSet_PlotType) String

func (x XyChart_DataSet_PlotType) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL