genproto: google.golang.org/genproto/googleapis/monitoring/dashboard/v1 Index | Files

package dashboard

import "google.golang.org/genproto/googleapis/monitoring/dashboard/v1"

Index

Package Files

common.pb.go dashboard.pb.go dashboards_service.pb.go drilldowns.pb.go layouts.pb.go metrics.pb.go scorecard.pb.go service.pb.go text.pb.go widget.pb.go xychart.pb.go

Variables

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",
    }
    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,
    }
)

Enum value maps for Aggregation_Aligner.

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",
    }
    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,
    }
)

Enum value maps for Aggregation_Reducer.

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",
    }
    PickTimeSeriesFilter_Method_value = map[string]int32{
        "METHOD_UNSPECIFIED": 0,
        "METHOD_MEAN":        1,
        "METHOD_MAX":         2,
        "METHOD_MIN":         3,
        "METHOD_SUM":         4,
        "METHOD_LATEST":      5,
    }
)

Enum value maps for PickTimeSeriesFilter_Method.

var (
    PickTimeSeriesFilter_Direction_name = map[int32]string{
        0:  "DIRECTION_UNSPECIFIED",
        1:  "TOP",
        2:  "BOTTOM",
    }
    PickTimeSeriesFilter_Direction_value = map[string]int32{
        "DIRECTION_UNSPECIFIED": 0,
        "TOP":                   1,
        "BOTTOM":                2,
    }
)

Enum value maps for PickTimeSeriesFilter_Direction.

var (
    StatisticalTimeSeriesFilter_Method_name = map[int32]string{
        0:  "METHOD_UNSPECIFIED",
        1:  "METHOD_CLUSTER_OUTLIER",
    }
    StatisticalTimeSeriesFilter_Method_value = map[string]int32{
        "METHOD_UNSPECIFIED":     0,
        "METHOD_CLUSTER_OUTLIER": 1,
    }
)

Enum value maps for StatisticalTimeSeriesFilter_Method.

var (
    SparkChartType_name = map[int32]string{
        0:  "SPARK_CHART_TYPE_UNSPECIFIED",
        1:  "SPARK_LINE",
        2:  "SPARK_BAR",
    }
    SparkChartType_value = map[string]int32{
        "SPARK_CHART_TYPE_UNSPECIFIED": 0,
        "SPARK_LINE":                   1,
        "SPARK_BAR":                    2,
    }
)

Enum value maps for SparkChartType.

var (
    Threshold_Color_name = map[int32]string{
        0:  "COLOR_UNSPECIFIED",
        4:  "YELLOW",
        6:  "RED",
    }
    Threshold_Color_value = map[string]int32{
        "COLOR_UNSPECIFIED": 0,
        "YELLOW":            4,
        "RED":               6,
    }
)

Enum value maps for Threshold_Color.

var (
    Threshold_Direction_name = map[int32]string{
        0:  "DIRECTION_UNSPECIFIED",
        1:  "ABOVE",
        2:  "BELOW",
    }
    Threshold_Direction_value = map[string]int32{
        "DIRECTION_UNSPECIFIED": 0,
        "ABOVE":                 1,
        "BELOW":                 2,
    }
)

Enum value maps for Threshold_Direction.

var (
    Text_Format_name = map[int32]string{
        0:  "FORMAT_UNSPECIFIED",
        1:  "MARKDOWN",
        2:  "RAW",
    }
    Text_Format_value = map[string]int32{
        "FORMAT_UNSPECIFIED": 0,
        "MARKDOWN":           1,
        "RAW":                2,
    }
)

Enum value maps for Text_Format.

var (
    XyChart_DataSet_PlotType_name = map[int32]string{
        0:  "PLOT_TYPE_UNSPECIFIED",
        1:  "LINE",
        2:  "STACKED_AREA",
        3:  "STACKED_BAR",
        4:  "HEATMAP",
    }
    XyChart_DataSet_PlotType_value = map[string]int32{
        "PLOT_TYPE_UNSPECIFIED": 0,
        "LINE":                  1,
        "STACKED_AREA":          2,
        "STACKED_BAR":           3,
        "HEATMAP":               4,
    }
)

Enum value maps for XyChart_DataSet_PlotType.

var (
    XyChart_Axis_Scale_name = map[int32]string{
        0:  "SCALE_UNSPECIFIED",
        1:  "LINEAR",
        2:  "LOG10",
    }
    XyChart_Axis_Scale_value = map[string]int32{
        "SCALE_UNSPECIFIED": 0,
        "LINEAR":            1,
        "LOG10":             2,
    }
)

Enum value maps for XyChart_Axis_Scale.

var (
    ChartOptions_Mode_name = map[int32]string{
        0:  "MODE_UNSPECIFIED",
        1:  "COLOR",
        2:  "X_RAY",
        3:  "STATS",
    }
    ChartOptions_Mode_value = map[string]int32{
        "MODE_UNSPECIFIED": 0,
        "COLOR":            1,
        "X_RAY":            2,
        "STATS":            3,
    }
)

Enum value maps for ChartOptions_Mode.

var File_google_monitoring_dashboard_v1_common_proto protoreflect.FileDescriptor
var File_google_monitoring_dashboard_v1_dashboard_proto protoreflect.FileDescriptor
var File_google_monitoring_dashboard_v1_dashboards_service_proto protoreflect.FileDescriptor
var File_google_monitoring_dashboard_v1_drilldowns_proto protoreflect.FileDescriptor
var File_google_monitoring_dashboard_v1_layouts_proto protoreflect.FileDescriptor
var File_google_monitoring_dashboard_v1_metrics_proto protoreflect.FileDescriptor
var File_google_monitoring_dashboard_v1_scorecard_proto protoreflect.FileDescriptor
var File_google_monitoring_dashboard_v1_service_proto protoreflect.FileDescriptor
var File_google_monitoring_dashboard_v1_text_proto protoreflect.FileDescriptor
var File_google_monitoring_dashboard_v1_widget_proto protoreflect.FileDescriptor
var File_google_monitoring_dashboard_v1_xychart_proto protoreflect.FileDescriptor

func RegisterDashboardsServiceServer Uses

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

type Aggregation Uses

type Aggregation struct {

    // The `alignment_period` specifies a time interval, in seconds, that is used
    // to divide the data in all the
    // [time series][google.monitoring.v3.TimeSeries] into consistent blocks of
    // time. This will be done before the per-series aligner can be applied to
    // the data.
    //
    // The value must be at least 60 seconds. If a per-series aligner other than
    // `ALIGN_NONE` is specified, this field is required or an error is returned.
    // If no per-series aligner is specified, or the aligner `ALIGN_NONE` is
    // specified, then this field is ignored.
    AlignmentPeriod *duration.Duration `protobuf:"bytes,1,opt,name=alignment_period,json=alignmentPeriod,proto3" json:"alignment_period,omitempty"`
    // An `Aligner` describes how to bring the data points in a single
    // time series into temporal alignment. Except for `ALIGN_NONE`, all
    // alignments cause all the data points in an `alignment_period` to be
    // mathematically grouped together, resulting in a single data point for
    // each `alignment_period` with end timestamp at the end of the period.
    //
    // Not all alignment operations may be applied to all time series. The valid
    // choices depend on the `metric_kind` and `value_type` of the original time
    // series. Alignment can change the `metric_kind` or the `value_type` of
    // the time series.
    //
    // Time series data must be aligned in order to perform cross-time
    // series reduction. If `cross_series_reducer` is specified, then
    // `per_series_aligner` must be specified and not equal to `ALIGN_NONE`
    // and `alignment_period` must be specified; otherwise, an error is
    // returned.
    PerSeriesAligner Aggregation_Aligner `protobuf:"varint,2,opt,name=per_series_aligner,json=perSeriesAligner,proto3,enum=google.monitoring.dashboard.v1.Aggregation_Aligner" json:"per_series_aligner,omitempty"`
    // The reduction operation to be used to combine time series into a single
    // time series, where the value of each data point in the resulting series is
    // a function of all the already aligned values in the input time series.
    //
    // Not all reducer operations can be applied to all time series. The valid
    // choices depend on the `metric_kind` and the `value_type` of the original
    // time series. Reduction can yield a time series with a different
    // `metric_kind` or `value_type` than the input time series.
    //
    // Time series data must first be aligned (see `per_series_aligner`) in order
    // to perform cross-time series reduction. If `cross_series_reducer` is
    // specified, then `per_series_aligner` must be specified, and must not be
    // `ALIGN_NONE`. An `alignment_period` must also be specified; otherwise, an
    // error is returned.
    CrossSeriesReducer Aggregation_Reducer `protobuf:"varint,4,opt,name=cross_series_reducer,json=crossSeriesReducer,proto3,enum=google.monitoring.dashboard.v1.Aggregation_Reducer" json:"cross_series_reducer,omitempty"`
    // The set of fields to preserve when `cross_series_reducer` is
    // specified. The `group_by_fields` determine how the time series are
    // partitioned into subsets prior to applying the aggregation
    // operation. 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
    // `cross_series_reducer` 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 `group_by_fields` are aggregated away.  If
    // `group_by_fields` 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 `cross_series_reducer` 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"`
    // contains filtered or unexported fields
}

Describes how to combine multiple time series to provide a different view of the data. Aggregation of time series is done in two steps. First, each time series in the set is _aligned_ to the same time interval boundaries, then the set of time series is optionally _reduced_ in number.

Alignment consists of applying the `per_series_aligner` operation to each time series after its data has been divided into regular `alignment_period` time intervals. This process takes _all_ of the data points in an alignment period, applies a mathematical transformation such as averaging, minimum, maximum, delta, etc., and converts them into a single data point per period.

Reduction is when the aligned and transformed time series can optionally be combined, reducing the number of time series through similar mathematical transformations. Reduction involves applying a `cross_series_reducer` to all the time series, optionally sorting the time series into subsets with `group_by_fields`, and applying the reducer to each subset.

The raw time series data can contain a huge amount of information from multiple sources. Alignment and reduction transforms this mass of data into a more manageable and representative collection of data, for example "the 95% latency across the average of all tasks in a cluster". This representative data can be more easily graphed and comprehended, and the individual time series data is still available for later drilldown. For more details, see [Filtering and aggregation](https://cloud.google.com/monitoring/api/v3/aggregation).

func (*Aggregation) Descriptor Uses

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

Deprecated: Use Aggregation.ProtoReflect.Descriptor instead.

func (*Aggregation) GetAlignmentPeriod Uses

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

func (*Aggregation) GetCrossSeriesReducer Uses

func (x *Aggregation) GetCrossSeriesReducer() Aggregation_Reducer

func (*Aggregation) GetGroupByFields Uses

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

func (*Aggregation) GetPerSeriesAligner Uses

func (x *Aggregation) GetPerSeriesAligner() Aggregation_Aligner

func (*Aggregation) ProtoMessage Uses

func (*Aggregation) ProtoMessage()

func (*Aggregation) ProtoReflect Uses

func (x *Aggregation) ProtoReflect() protoreflect.Message

func (*Aggregation) Reset Uses

func (x *Aggregation) Reset()

func (*Aggregation) String Uses

func (x *Aggregation) String() string

type Aggregation_Aligner Uses

type Aggregation_Aligner int32

The `Aligner` specifies the operation that will be applied to the data points in each alignment period in a time series. Except for `ALIGN_NONE`, which specifies that no operation be applied, each alignment operation replaces the set of data values in each alignment period with a single value: the result of applying the operation to the data values. An aligned time series has a single data value at the end of each `alignment_period`.

An alignment operation can change the data type of the values, too. For example, if you apply a counting operation to boolean values, the data `value_type` in the original time series is `BOOLEAN`, but the `value_type` in the aligned result is `INT64`.

const (
    // No alignment. Raw data is returned. Not valid if cross-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][google.api.MetricDescriptor.MetricKind.DELTA].
    // The output is `delta = y1 - y0`.
    //
    // This alignment is valid for
    // [CUMULATIVE][google.api.MetricDescriptor.MetricKind.CUMULATIVE] and
    // `DELTA` metrics. If the selected alignment period results in periods
    // with no data, then the aligned value for such a period is created by
    // interpolation. The `value_type`  of the aligned result is the same as
    // the `value_type` of the input.
    Aggregation_ALIGN_DELTA Aggregation_Aligner = 1
    // Align and convert to a rate. The result is computed as
    // `rate = (y1 - y0)/(t1 - t0)`, or "delta over time".
    // Think of this aligner as providing the slope of the line that passes
    // through the value at the start and at the end of the `alignment_period`.
    //
    // This aligner is valid for `CUMULATIVE`
    // and `DELTA` metrics with numeric values. If the selected alignment
    // period results in periods with no data, then the aligned value for
    // such a period is created by interpolation. The output is a `GAUGE`
    // metric with `value_type` `DOUBLE`.
    //
    // If, by "rate", you mean "percentage change", see the
    // `ALIGN_PERCENT_CHANGE` aligner instead.
    Aggregation_ALIGN_RATE Aggregation_Aligner = 2
    // Align by interpolating between adjacent points around the alignment
    // period boundary. This aligner is valid for `GAUGE` metrics with
    // numeric values. The `value_type` of the aligned result is the same as the
    // `value_type` of the input.
    Aggregation_ALIGN_INTERPOLATE Aggregation_Aligner = 3
    // Align by moving the most recent data point before the end of the
    // alignment period to the boundary at the end of the alignment
    // period. This aligner is valid for `GAUGE` metrics. The `value_type` of
    // the aligned result is the same as the `value_type` of the input.
    Aggregation_ALIGN_NEXT_OLDER Aggregation_Aligner = 4
    // Align the time series by returning the minimum value in each alignment
    // period. This aligner is valid for `GAUGE` and `DELTA` metrics with
    // numeric values. The `value_type` of the aligned result is the same as
    // the `value_type` of the input.
    Aggregation_ALIGN_MIN Aggregation_Aligner = 10
    // Align the time series by returning the maximum value in each alignment
    // period. This aligner is valid for `GAUGE` and `DELTA` metrics with
    // numeric values. The `value_type` of the aligned result is the same as
    // the `value_type` of the input.
    Aggregation_ALIGN_MAX Aggregation_Aligner = 11
    // Align the time series by returning the mean value in each alignment
    // period. This aligner is valid for `GAUGE` and `DELTA` metrics with
    // numeric values. The `value_type` of the aligned result is `DOUBLE`.
    Aggregation_ALIGN_MEAN Aggregation_Aligner = 12
    // Align the time series by returning the number of values in each alignment
    // period. This aligner is valid for `GAUGE` and `DELTA` metrics with
    // numeric or Boolean values. The `value_type` of the aligned result is
    // `INT64`.
    Aggregation_ALIGN_COUNT Aggregation_Aligner = 13
    // Align the time series by returning the sum of the values in each
    // alignment period. This aligner is valid for `GAUGE` and `DELTA`
    // metrics with numeric and distribution values. The `value_type` of the
    // aligned result is the same as the `value_type` of the input.
    Aggregation_ALIGN_SUM Aggregation_Aligner = 14
    // Align the time series by returning the standard deviation of the values
    // in each alignment period. This aligner is valid for `GAUGE` and
    // `DELTA` metrics with numeric values. The `value_type` of the output is
    // `DOUBLE`.
    Aggregation_ALIGN_STDDEV Aggregation_Aligner = 15
    // Align the time series by returning the number of `True` values in
    // each alignment period. This aligner is valid for `GAUGE` metrics with
    // Boolean values. The `value_type` of the output is `INT64`.
    Aggregation_ALIGN_COUNT_TRUE Aggregation_Aligner = 16
    // Align the time series by returning the number of `False` values in
    // each alignment period. This aligner is valid for `GAUGE` metrics with
    // Boolean values. The `value_type` of the output is `INT64`.
    Aggregation_ALIGN_COUNT_FALSE Aggregation_Aligner = 24
    // Align the time series by returning the ratio of the number of `True`
    // values to the total number of values in each alignment period. This
    // aligner is valid for `GAUGE` metrics with Boolean values. The output
    // value is in the range [0.0, 1.0] and has `value_type` `DOUBLE`.
    Aggregation_ALIGN_FRACTION_TRUE Aggregation_Aligner = 17
    // Align the time series by using [percentile
    // aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
    // data point in each alignment period is the 99th percentile of all data
    // points in the period. This aligner is valid for `GAUGE` and `DELTA`
    // metrics with distribution values. The output is a `GAUGE` metric with
    // `value_type` `DOUBLE`.
    Aggregation_ALIGN_PERCENTILE_99 Aggregation_Aligner = 18
    // Align the time series by using [percentile
    // aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
    // data point in each alignment period is the 95th percentile of all data
    // points in the period. This aligner is valid for `GAUGE` and `DELTA`
    // metrics with distribution values. The output is a `GAUGE` metric with
    // `value_type` `DOUBLE`.
    Aggregation_ALIGN_PERCENTILE_95 Aggregation_Aligner = 19
    // Align the time series by using [percentile
    // aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
    // data point in each alignment period is the 50th percentile of all data
    // points in the period. This aligner is valid for `GAUGE` and `DELTA`
    // metrics with distribution values. The output is a `GAUGE` metric with
    // `value_type` `DOUBLE`.
    Aggregation_ALIGN_PERCENTILE_50 Aggregation_Aligner = 20
    // Align the time series by using [percentile
    // aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
    // data point in each alignment period is the 5th percentile of all data
    // points in the period. This aligner is valid for `GAUGE` and `DELTA`
    // metrics with distribution values. The output is a `GAUGE` metric with
    // `value_type` `DOUBLE`.
    Aggregation_ALIGN_PERCENTILE_05 Aggregation_Aligner = 21
    // Align and convert to a percentage change. This aligner is valid for
    // `GAUGE` and `DELTA` metrics with numeric values. This alignment returns
    // `((current - previous)/previous) * 100`, where the value of `previous` is
    // determined based on the `alignment_period`.
    //
    // If the values of `current` and `previous` are both 0, then the returned
    // value is 0. If only `previous` is 0, the returned value is infinity.
    //
    // A 10-minute moving mean is computed at each point of the alignment period
    // prior to the above calculation to smooth the metric and prevent false
    // positives from very short-lived spikes. The moving mean is only
    // applicable for data whose values are `>= 0`. Any values `< 0` are
    // treated as a missing datapoint, and are ignored. 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`.
    Aggregation_ALIGN_PERCENT_CHANGE Aggregation_Aligner = 23
)

func (Aggregation_Aligner) Descriptor Uses

func (Aggregation_Aligner) Descriptor() protoreflect.EnumDescriptor

func (Aggregation_Aligner) Enum Uses

func (x Aggregation_Aligner) Enum() *Aggregation_Aligner

func (Aggregation_Aligner) EnumDescriptor Uses

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

Deprecated: Use Aggregation_Aligner.Descriptor instead.

func (Aggregation_Aligner) Number Uses

func (x Aggregation_Aligner) Number() protoreflect.EnumNumber

func (Aggregation_Aligner) String Uses

func (x Aggregation_Aligner) String() string

func (Aggregation_Aligner) Type Uses

func (Aggregation_Aligner) Type() protoreflect.EnumType

type Aggregation_Reducer Uses

type Aggregation_Reducer int32

A Reducer operation describes how to aggregate data points from multiple time series into a single time series, where the value of each data point in the resulting series is a function of all the already aligned values in the input 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 value across time series for each
    // alignment period. This reducer is valid for
    // [DELTA][google.api.MetricDescriptor.MetricKind.DELTA] and
    // [GAUGE][google.api.MetricDescriptor.MetricKind.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 value 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 value 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`.
    Aggregation_REDUCE_STDDEV Aggregation_Reducer = 5
    // Reduce by computing the number 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`.
    Aggregation_REDUCE_COUNT Aggregation_Reducer = 6
    // Reduce by computing the number 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`.
    Aggregation_REDUCE_COUNT_TRUE Aggregation_Reducer = 7
    // Reduce by computing the number 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`.
    Aggregation_REDUCE_COUNT_FALSE Aggregation_Reducer = 15
    // Reduce by computing the ratio of the number of `True`-valued data points
    // to the total number of data points 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.0, 1.0] and has `value_type`
    // `DOUBLE`.
    Aggregation_REDUCE_FRACTION_TRUE Aggregation_Reducer = 8
    // Reduce by computing the [99th
    // percentile](https://en.wikipedia.org/wiki/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`.
    Aggregation_REDUCE_PERCENTILE_99 Aggregation_Reducer = 9
    // Reduce by computing the [95th
    // percentile](https://en.wikipedia.org/wiki/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`.
    Aggregation_REDUCE_PERCENTILE_95 Aggregation_Reducer = 10
    // Reduce by computing the [50th
    // percentile](https://en.wikipedia.org/wiki/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`.
    Aggregation_REDUCE_PERCENTILE_50 Aggregation_Reducer = 11
    // Reduce by computing the [5th
    // percentile](https://en.wikipedia.org/wiki/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`.
    Aggregation_REDUCE_PERCENTILE_05 Aggregation_Reducer = 12
)

func (Aggregation_Reducer) Descriptor Uses

func (Aggregation_Reducer) Descriptor() protoreflect.EnumDescriptor

func (Aggregation_Reducer) Enum Uses

func (x Aggregation_Reducer) Enum() *Aggregation_Reducer

func (Aggregation_Reducer) EnumDescriptor Uses

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

Deprecated: Use Aggregation_Reducer.Descriptor instead.

func (Aggregation_Reducer) Number Uses

func (x Aggregation_Reducer) Number() protoreflect.EnumNumber

func (Aggregation_Reducer) String Uses

func (x Aggregation_Reducer) String() string

func (Aggregation_Reducer) Type Uses

func (Aggregation_Reducer) Type() protoreflect.EnumType

type ChartOptions Uses

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"`
    // contains filtered or unexported fields
}

Options to control visual rendering of a chart.

func (*ChartOptions) Descriptor Uses

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

Deprecated: Use ChartOptions.ProtoReflect.Descriptor instead.

func (*ChartOptions) GetMode Uses

func (x *ChartOptions) GetMode() ChartOptions_Mode

func (*ChartOptions) ProtoMessage Uses

func (*ChartOptions) ProtoMessage()

func (*ChartOptions) ProtoReflect Uses

func (x *ChartOptions) ProtoReflect() protoreflect.Message

func (*ChartOptions) Reset Uses

func (x *ChartOptions) Reset()

func (*ChartOptions) String Uses

func (x *ChartOptions) String() string

type ChartOptions_Mode Uses

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) Descriptor Uses

func (ChartOptions_Mode) Descriptor() protoreflect.EnumDescriptor

func (ChartOptions_Mode) Enum Uses

func (x ChartOptions_Mode) Enum() *ChartOptions_Mode

func (ChartOptions_Mode) EnumDescriptor Uses

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

Deprecated: Use ChartOptions_Mode.Descriptor instead.

func (ChartOptions_Mode) Number Uses

func (x ChartOptions_Mode) Number() protoreflect.EnumNumber

func (ChartOptions_Mode) String Uses

func (x ChartOptions_Mode) String() string

func (ChartOptions_Mode) Type Uses

func (ChartOptions_Mode) Type() protoreflect.EnumType

type ColumnLayout Uses

type ColumnLayout struct {

    // The columns of content to display.
    Columns []*ColumnLayout_Column `protobuf:"bytes,1,rep,name=columns,proto3" json:"columns,omitempty"`
    // contains filtered or unexported fields
}

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

func (*ColumnLayout) Descriptor Uses

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

Deprecated: Use ColumnLayout.ProtoReflect.Descriptor instead.

func (*ColumnLayout) GetColumns Uses

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

func (*ColumnLayout) ProtoMessage Uses

func (*ColumnLayout) ProtoMessage()

func (*ColumnLayout) ProtoReflect Uses

func (x *ColumnLayout) ProtoReflect() protoreflect.Message

func (*ColumnLayout) Reset Uses

func (x *ColumnLayout) Reset()

func (*ColumnLayout) String Uses

func (x *ColumnLayout) String() string

type ColumnLayout_Column Uses

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"`
    // contains filtered or unexported fields
}

Defines the layout properties and content for a column.

func (*ColumnLayout_Column) Descriptor Uses

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

Deprecated: Use ColumnLayout_Column.ProtoReflect.Descriptor instead.

func (*ColumnLayout_Column) GetWeight Uses

func (x *ColumnLayout_Column) GetWeight() int64

func (*ColumnLayout_Column) GetWidgets Uses

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

func (*ColumnLayout_Column) ProtoMessage Uses

func (*ColumnLayout_Column) ProtoMessage()

func (*ColumnLayout_Column) ProtoReflect Uses

func (x *ColumnLayout_Column) ProtoReflect() protoreflect.Message

func (*ColumnLayout_Column) Reset Uses

func (x *ColumnLayout_Column) Reset()

func (*ColumnLayout_Column) String Uses

func (x *ColumnLayout_Column) String() string

type CreateDashboardRequest Uses

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"`
    // contains filtered or unexported fields
}

The `CreateDashboard` request.

func (*CreateDashboardRequest) Descriptor Uses

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

Deprecated: Use CreateDashboardRequest.ProtoReflect.Descriptor instead.

func (*CreateDashboardRequest) GetDashboard Uses

func (x *CreateDashboardRequest) GetDashboard() *Dashboard

func (*CreateDashboardRequest) GetParent Uses

func (x *CreateDashboardRequest) GetParent() string

func (*CreateDashboardRequest) ProtoMessage Uses

func (*CreateDashboardRequest) ProtoMessage()

func (*CreateDashboardRequest) ProtoReflect Uses

func (x *CreateDashboardRequest) ProtoReflect() protoreflect.Message

func (*CreateDashboardRequest) Reset Uses

func (x *CreateDashboardRequest) Reset()

func (*CreateDashboardRequest) String Uses

func (x *CreateDashboardRequest) String() string

type Dashboard Uses

type Dashboard struct {

    // Immutable. The resource name of the dashboard.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Required. 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 assignable to Layout:
    //	*Dashboard_GridLayout
    //	*Dashboard_RowLayout
    //	*Dashboard_ColumnLayout
    Layout isDashboard_Layout `protobuf_oneof:"layout"`
    // contains filtered or unexported fields
}

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

func (*Dashboard) Descriptor Uses

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

Deprecated: Use Dashboard.ProtoReflect.Descriptor instead.

func (*Dashboard) GetColumnLayout Uses

func (x *Dashboard) GetColumnLayout() *ColumnLayout

func (*Dashboard) GetDisplayName Uses

func (x *Dashboard) GetDisplayName() string

func (*Dashboard) GetEtag Uses

func (x *Dashboard) GetEtag() string

func (*Dashboard) GetGridLayout Uses

func (x *Dashboard) GetGridLayout() *GridLayout

func (*Dashboard) GetLayout Uses

func (m *Dashboard) GetLayout() isDashboard_Layout

func (*Dashboard) GetName Uses

func (x *Dashboard) GetName() string

func (*Dashboard) GetRowLayout Uses

func (x *Dashboard) GetRowLayout() *RowLayout

func (*Dashboard) ProtoMessage Uses

func (*Dashboard) ProtoMessage()

func (*Dashboard) ProtoReflect Uses

func (x *Dashboard) ProtoReflect() protoreflect.Message

func (*Dashboard) Reset Uses

func (x *Dashboard) Reset()

func (*Dashboard) String Uses

func (x *Dashboard) String() string

type Dashboard_ColumnLayout Uses

type Dashboard_ColumnLayout struct {
    // The content is divided into equally spaced columns and the widgets are
    // arranged vertically.
    ColumnLayout *ColumnLayout `protobuf:"bytes,9,opt,name=column_layout,json=columnLayout,proto3,oneof"`
}

type Dashboard_GridLayout Uses

type Dashboard_GridLayout struct {
    // Content is arranged with a basic layout that re-flows a simple list of
    // informational elements like widgets or tiles.
    GridLayout *GridLayout `protobuf:"bytes,5,opt,name=grid_layout,json=gridLayout,proto3,oneof"`
}

type Dashboard_RowLayout Uses

type Dashboard_RowLayout struct {
    // The content is divided into equally spaced rows and the widgets are
    // arranged horizontally.
    RowLayout *RowLayout `protobuf:"bytes,8,opt,name=row_layout,json=rowLayout,proto3,oneof"`
}

type DashboardsServiceClient Uses

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.

func NewDashboardsServiceClient Uses

func NewDashboardsServiceClient(cc grpc.ClientConnInterface) DashboardsServiceClient

type DashboardsServiceServer Uses

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 Uses

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"`
    // contains filtered or unexported fields
}

The `DeleteDashboard` request.

func (*DeleteDashboardRequest) Descriptor Uses

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

Deprecated: Use DeleteDashboardRequest.ProtoReflect.Descriptor instead.

func (*DeleteDashboardRequest) GetName Uses

func (x *DeleteDashboardRequest) GetName() string

func (*DeleteDashboardRequest) ProtoMessage Uses

func (*DeleteDashboardRequest) ProtoMessage()

func (*DeleteDashboardRequest) ProtoReflect Uses

func (x *DeleteDashboardRequest) ProtoReflect() protoreflect.Message

func (*DeleteDashboardRequest) Reset Uses

func (x *DeleteDashboardRequest) Reset()

func (*DeleteDashboardRequest) String Uses

func (x *DeleteDashboardRequest) String() string

type GetDashboardRequest Uses

type GetDashboardRequest struct {

    // Required. The resource name of the Dashboard. The format is one of:
    //
    //  -  `dashboards/[DASHBOARD_ID]` (for system dashboards)
    //  -  `projects/[PROJECT_ID_OR_NUMBER]/dashboards/[DASHBOARD_ID]`
    //       (for custom dashboards).
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

The `GetDashboard` request.

func (*GetDashboardRequest) Descriptor Uses

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

Deprecated: Use GetDashboardRequest.ProtoReflect.Descriptor instead.

func (*GetDashboardRequest) GetName Uses

func (x *GetDashboardRequest) GetName() string

func (*GetDashboardRequest) ProtoMessage Uses

func (*GetDashboardRequest) ProtoMessage()

func (*GetDashboardRequest) ProtoReflect Uses

func (x *GetDashboardRequest) ProtoReflect() protoreflect.Message

func (*GetDashboardRequest) Reset Uses

func (x *GetDashboardRequest) Reset()

func (*GetDashboardRequest) String Uses

func (x *GetDashboardRequest) String() string

type GridLayout Uses

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"`
    // contains filtered or unexported fields
}

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 Uses

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

Deprecated: Use GridLayout.ProtoReflect.Descriptor instead.

func (*GridLayout) GetColumns Uses

func (x *GridLayout) GetColumns() int64

func (*GridLayout) GetWidgets Uses

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

func (*GridLayout) ProtoMessage Uses

func (*GridLayout) ProtoMessage()

func (*GridLayout) ProtoReflect Uses

func (x *GridLayout) ProtoReflect() protoreflect.Message

func (*GridLayout) Reset Uses

func (x *GridLayout) Reset()

func (*GridLayout) String Uses

func (x *GridLayout) String() string

type ListDashboardsRequest Uses

type ListDashboardsRequest struct {

    // Required. The scope of the dashboards to list. The format is:
    //
    //     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"`
    // contains filtered or unexported fields
}

The `ListDashboards` request.

func (*ListDashboardsRequest) Descriptor Uses

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

Deprecated: Use ListDashboardsRequest.ProtoReflect.Descriptor instead.

func (*ListDashboardsRequest) GetPageSize Uses

func (x *ListDashboardsRequest) GetPageSize() int32

func (*ListDashboardsRequest) GetPageToken Uses

func (x *ListDashboardsRequest) GetPageToken() string

func (*ListDashboardsRequest) GetParent Uses

func (x *ListDashboardsRequest) GetParent() string

func (*ListDashboardsRequest) ProtoMessage Uses

func (*ListDashboardsRequest) ProtoMessage()

func (*ListDashboardsRequest) ProtoReflect Uses

func (x *ListDashboardsRequest) ProtoReflect() protoreflect.Message

func (*ListDashboardsRequest) Reset Uses

func (x *ListDashboardsRequest) Reset()

func (*ListDashboardsRequest) String Uses

func (x *ListDashboardsRequest) String() string

type ListDashboardsResponse Uses

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 `page_token` 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"`
    // contains filtered or unexported fields
}

The `ListDashboards` request.

func (*ListDashboardsResponse) Descriptor Uses

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

Deprecated: Use ListDashboardsResponse.ProtoReflect.Descriptor instead.

func (*ListDashboardsResponse) GetDashboards Uses

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

func (*ListDashboardsResponse) GetNextPageToken Uses

func (x *ListDashboardsResponse) GetNextPageToken() string

func (*ListDashboardsResponse) ProtoMessage Uses

func (*ListDashboardsResponse) ProtoMessage()

func (*ListDashboardsResponse) ProtoReflect Uses

func (x *ListDashboardsResponse) ProtoReflect() protoreflect.Message

func (*ListDashboardsResponse) Reset Uses

func (x *ListDashboardsResponse) Reset()

func (*ListDashboardsResponse) String Uses

func (x *ListDashboardsResponse) String() string

type PickTimeSeriesFilter Uses

type PickTimeSeriesFilter struct {

    // `ranking_method` 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 `protobuf:"varint,1,opt,name=ranking_method,json=rankingMethod,proto3,enum=google.monitoring.dashboard.v1.PickTimeSeriesFilter_Method" json:"ranking_method,omitempty"`
    // How many time series to allow to pass through the filter.
    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 `protobuf:"varint,3,opt,name=direction,proto3,enum=google.monitoring.dashboard.v1.PickTimeSeriesFilter_Direction" json:"direction,omitempty"`
    // contains filtered or unexported fields
}

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

For example, if `ranking_method` is `METHOD_MEAN`,`direction` is `BOTTOM`, and `num_time_series` is 3, then the 3 times series with the lowest mean values will pass through the filter.

func (*PickTimeSeriesFilter) Descriptor Uses

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

Deprecated: Use PickTimeSeriesFilter.ProtoReflect.Descriptor instead.

func (*PickTimeSeriesFilter) GetDirection Uses

func (x *PickTimeSeriesFilter) GetDirection() PickTimeSeriesFilter_Direction

func (*PickTimeSeriesFilter) GetNumTimeSeries Uses

func (x *PickTimeSeriesFilter) GetNumTimeSeries() int32

func (*PickTimeSeriesFilter) GetRankingMethod Uses

func (x *PickTimeSeriesFilter) GetRankingMethod() PickTimeSeriesFilter_Method

func (*PickTimeSeriesFilter) ProtoMessage Uses

func (*PickTimeSeriesFilter) ProtoMessage()

func (*PickTimeSeriesFilter) ProtoReflect Uses

func (x *PickTimeSeriesFilter) ProtoReflect() protoreflect.Message

func (*PickTimeSeriesFilter) Reset Uses

func (x *PickTimeSeriesFilter) Reset()

func (*PickTimeSeriesFilter) String Uses

func (x *PickTimeSeriesFilter) String() string

type PickTimeSeriesFilter_Direction Uses

type PickTimeSeriesFilter_Direction int32

Describes the ranking directions.

const (
    // Not allowed. You must specify a different `Direction` if you specify a
    // `PickTimeSeriesFilter`.
    PickTimeSeriesFilter_DIRECTION_UNSPECIFIED PickTimeSeriesFilter_Direction = 0
    // Pass the highest `num_time_series` ranking inputs.
    PickTimeSeriesFilter_TOP PickTimeSeriesFilter_Direction = 1
    // Pass the lowest `num_time_series` ranking inputs.
    PickTimeSeriesFilter_BOTTOM PickTimeSeriesFilter_Direction = 2
)

func (PickTimeSeriesFilter_Direction) Descriptor Uses

func (PickTimeSeriesFilter_Direction) Descriptor() protoreflect.EnumDescriptor

func (PickTimeSeriesFilter_Direction) Enum Uses

func (x PickTimeSeriesFilter_Direction) Enum() *PickTimeSeriesFilter_Direction

func (PickTimeSeriesFilter_Direction) EnumDescriptor Uses

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

Deprecated: Use PickTimeSeriesFilter_Direction.Descriptor instead.

func (PickTimeSeriesFilter_Direction) Number Uses

func (x PickTimeSeriesFilter_Direction) Number() protoreflect.EnumNumber

func (PickTimeSeriesFilter_Direction) String Uses

func (x PickTimeSeriesFilter_Direction) String() string

func (PickTimeSeriesFilter_Direction) Type Uses

func (PickTimeSeriesFilter_Direction) Type() protoreflect.EnumType

type PickTimeSeriesFilter_Method Uses

type PickTimeSeriesFilter_Method int32

The value reducers that can be applied to a `PickTimeSeriesFilter`.

const (
    // Not allowed. You must specify a different `Method` if you specify a
    // `PickTimeSeriesFilter`.
    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) Descriptor Uses

func (PickTimeSeriesFilter_Method) Descriptor() protoreflect.EnumDescriptor

func (PickTimeSeriesFilter_Method) Enum Uses

func (x PickTimeSeriesFilter_Method) Enum() *PickTimeSeriesFilter_Method

func (PickTimeSeriesFilter_Method) EnumDescriptor Uses

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

Deprecated: Use PickTimeSeriesFilter_Method.Descriptor instead.

func (PickTimeSeriesFilter_Method) Number Uses

func (x PickTimeSeriesFilter_Method) Number() protoreflect.EnumNumber

func (PickTimeSeriesFilter_Method) String Uses

func (x PickTimeSeriesFilter_Method) String() string

func (PickTimeSeriesFilter_Method) Type Uses

func (PickTimeSeriesFilter_Method) Type() protoreflect.EnumType

type RowLayout Uses

type RowLayout struct {

    // The rows of content to display.
    Rows []*RowLayout_Row `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"`
    // contains filtered or unexported fields
}

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

func (*RowLayout) Descriptor Uses

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

Deprecated: Use RowLayout.ProtoReflect.Descriptor instead.

func (*RowLayout) GetRows Uses

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

func (*RowLayout) ProtoMessage Uses

func (*RowLayout) ProtoMessage()

func (*RowLayout) ProtoReflect Uses

func (x *RowLayout) ProtoReflect() protoreflect.Message

func (*RowLayout) Reset Uses

func (x *RowLayout) Reset()

func (*RowLayout) String Uses

func (x *RowLayout) String() string

type RowLayout_Row Uses

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"`
    // contains filtered or unexported fields
}

Defines the layout properties and content for a row.

func (*RowLayout_Row) Descriptor Uses

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

Deprecated: Use RowLayout_Row.ProtoReflect.Descriptor instead.

func (*RowLayout_Row) GetWeight Uses

func (x *RowLayout_Row) GetWeight() int64

func (*RowLayout_Row) GetWidgets Uses

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

func (*RowLayout_Row) ProtoMessage Uses

func (*RowLayout_Row) ProtoMessage()

func (*RowLayout_Row) ProtoReflect Uses

func (x *RowLayout_Row) ProtoReflect() protoreflect.Message

func (*RowLayout_Row) Reset Uses

func (x *RowLayout_Row) Reset()

func (*RowLayout_Row) String Uses

func (x *RowLayout_Row) String() string

type Scorecard Uses

type Scorecard struct {

    // Required. 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 assignable 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"`
    // contains filtered or unexported fields
}

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

func (*Scorecard) Descriptor Uses

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

Deprecated: Use Scorecard.ProtoReflect.Descriptor instead.

func (*Scorecard) GetDataView Uses

func (m *Scorecard) GetDataView() isScorecard_DataView

func (*Scorecard) GetGaugeView Uses

func (x *Scorecard) GetGaugeView() *Scorecard_GaugeView

func (*Scorecard) GetSparkChartView Uses

func (x *Scorecard) GetSparkChartView() *Scorecard_SparkChartView

func (*Scorecard) GetThresholds Uses

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

func (*Scorecard) GetTimeSeriesQuery Uses

func (x *Scorecard) GetTimeSeriesQuery() *TimeSeriesQuery

func (*Scorecard) ProtoMessage Uses

func (*Scorecard) ProtoMessage()

func (*Scorecard) ProtoReflect Uses

func (x *Scorecard) ProtoReflect() protoreflect.Message

func (*Scorecard) Reset Uses

func (x *Scorecard) Reset()

func (*Scorecard) String Uses

func (x *Scorecard) String() string

type Scorecard_GaugeView Uses

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"`
    // contains filtered or unexported fields
}

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 Uses

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

Deprecated: Use Scorecard_GaugeView.ProtoReflect.Descriptor instead.

func (*Scorecard_GaugeView) GetLowerBound Uses

func (x *Scorecard_GaugeView) GetLowerBound() float64

func (*Scorecard_GaugeView) GetUpperBound Uses

func (x *Scorecard_GaugeView) GetUpperBound() float64

func (*Scorecard_GaugeView) ProtoMessage Uses

func (*Scorecard_GaugeView) ProtoMessage()

func (*Scorecard_GaugeView) ProtoReflect Uses

func (x *Scorecard_GaugeView) ProtoReflect() protoreflect.Message

func (*Scorecard_GaugeView) Reset Uses

func (x *Scorecard_GaugeView) Reset()

func (*Scorecard_GaugeView) String Uses

func (x *Scorecard_GaugeView) String() string

type Scorecard_GaugeView_ Uses

type Scorecard_GaugeView_ struct {
    // Will cause the scorecard to show a gauge chart.
    GaugeView *Scorecard_GaugeView `protobuf:"bytes,4,opt,name=gauge_view,json=gaugeView,proto3,oneof"`
}

type Scorecard_SparkChartView Uses

type Scorecard_SparkChartView struct {

    // Required. The type of sparkchart to show in this chartView.
    SparkChartType SparkChartType `protobuf:"varint,1,opt,name=spark_chart_type,json=sparkChartType,proto3,enum=google.monitoring.dashboard.v1.SparkChartType" json:"spark_chart_type,omitempty"`
    // 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"`
    // contains filtered or unexported fields
}

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 Uses

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

Deprecated: Use Scorecard_SparkChartView.ProtoReflect.Descriptor instead.

func (*Scorecard_SparkChartView) GetMinAlignmentPeriod Uses

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

func (*Scorecard_SparkChartView) GetSparkChartType Uses

func (x *Scorecard_SparkChartView) GetSparkChartType() SparkChartType

func (*Scorecard_SparkChartView) ProtoMessage Uses

func (*Scorecard_SparkChartView) ProtoMessage()

func (*Scorecard_SparkChartView) ProtoReflect Uses

func (x *Scorecard_SparkChartView) ProtoReflect() protoreflect.Message

func (*Scorecard_SparkChartView) Reset Uses

func (x *Scorecard_SparkChartView) Reset()

func (*Scorecard_SparkChartView) String Uses

func (x *Scorecard_SparkChartView) String() string

type Scorecard_SparkChartView_ Uses

type Scorecard_SparkChartView_ struct {
    // Will cause the scorecard to show a spark chart.
    SparkChartView *Scorecard_SparkChartView `protobuf:"bytes,5,opt,name=spark_chart_view,json=sparkChartView,proto3,oneof"`
}

type SparkChartType Uses

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) Descriptor Uses

func (SparkChartType) Descriptor() protoreflect.EnumDescriptor

func (SparkChartType) Enum Uses

func (x SparkChartType) Enum() *SparkChartType

func (SparkChartType) EnumDescriptor Uses

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

Deprecated: Use SparkChartType.Descriptor instead.

func (SparkChartType) Number Uses

func (x SparkChartType) Number() protoreflect.EnumNumber

func (SparkChartType) String Uses

func (x SparkChartType) String() string

func (SparkChartType) Type Uses

func (SparkChartType) Type() protoreflect.EnumType

type StatisticalTimeSeriesFilter Uses

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 `protobuf:"varint,1,opt,name=ranking_method,json=rankingMethod,proto3,enum=google.monitoring.dashboard.v1.StatisticalTimeSeriesFilter_Method" json:"ranking_method,omitempty"`
    // How many time series to output.
    NumTimeSeries int32 `protobuf:"varint,2,opt,name=num_time_series,json=numTimeSeries,proto3" json:"num_time_series,omitempty"`
    // contains filtered or unexported fields
}

A filter that ranks streams based on their statistical relation to other streams in a request. Note: This field is deprecated and completely ignored by the API.

func (*StatisticalTimeSeriesFilter) Descriptor Uses

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

Deprecated: Use StatisticalTimeSeriesFilter.ProtoReflect.Descriptor instead.

func (*StatisticalTimeSeriesFilter) GetNumTimeSeries Uses

func (x *StatisticalTimeSeriesFilter) GetNumTimeSeries() int32

func (*StatisticalTimeSeriesFilter) GetRankingMethod Uses

func (x *StatisticalTimeSeriesFilter) GetRankingMethod() StatisticalTimeSeriesFilter_Method

func (*StatisticalTimeSeriesFilter) ProtoMessage Uses

func (*StatisticalTimeSeriesFilter) ProtoMessage()

func (*StatisticalTimeSeriesFilter) ProtoReflect Uses

func (x *StatisticalTimeSeriesFilter) ProtoReflect() protoreflect.Message

func (*StatisticalTimeSeriesFilter) Reset Uses

func (x *StatisticalTimeSeriesFilter) Reset()

func (*StatisticalTimeSeriesFilter) String Uses

func (x *StatisticalTimeSeriesFilter) String() string

type StatisticalTimeSeriesFilter_Method Uses

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) Descriptor Uses

func (StatisticalTimeSeriesFilter_Method) Descriptor() protoreflect.EnumDescriptor

func (StatisticalTimeSeriesFilter_Method) Enum Uses

func (x StatisticalTimeSeriesFilter_Method) Enum() *StatisticalTimeSeriesFilter_Method

func (StatisticalTimeSeriesFilter_Method) EnumDescriptor Uses

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

Deprecated: Use StatisticalTimeSeriesFilter_Method.Descriptor instead.

func (StatisticalTimeSeriesFilter_Method) Number Uses

func (x StatisticalTimeSeriesFilter_Method) Number() protoreflect.EnumNumber

func (StatisticalTimeSeriesFilter_Method) String Uses

func (x StatisticalTimeSeriesFilter_Method) String() string

func (StatisticalTimeSeriesFilter_Method) Type Uses

func (StatisticalTimeSeriesFilter_Method) Type() protoreflect.EnumType

type Text Uses

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"`
    // contains filtered or unexported fields
}

A widget that displays textual content.

func (*Text) Descriptor Uses

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

Deprecated: Use Text.ProtoReflect.Descriptor instead.

func (*Text) GetContent Uses

func (x *Text) GetContent() string

func (*Text) GetFormat Uses

func (x *Text) GetFormat() Text_Format

func (*Text) ProtoMessage Uses

func (*Text) ProtoMessage()

func (*Text) ProtoReflect Uses

func (x *Text) ProtoReflect() protoreflect.Message

func (*Text) Reset Uses

func (x *Text) Reset()

func (*Text) String Uses

func (x *Text) String() string

type Text_Format Uses

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) Descriptor Uses

func (Text_Format) Descriptor() protoreflect.EnumDescriptor

func (Text_Format) Enum Uses

func (x Text_Format) Enum() *Text_Format

func (Text_Format) EnumDescriptor Uses

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

Deprecated: Use Text_Format.Descriptor instead.

func (Text_Format) Number Uses

func (x Text_Format) Number() protoreflect.EnumNumber

func (Text_Format) String Uses

func (x Text_Format) String() string

func (Text_Format) Type Uses

func (Text_Format) Type() protoreflect.EnumType

type Threshold Uses

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 `protobuf:"varint,4,opt,name=direction,proto3,enum=google.monitoring.dashboard.v1.Threshold_Direction" json:"direction,omitempty"`
    // contains filtered or unexported fields
}

Defines a threshold for categorizing time series values.

func (*Threshold) Descriptor Uses

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

Deprecated: Use Threshold.ProtoReflect.Descriptor instead.

func (*Threshold) GetColor Uses

func (x *Threshold) GetColor() Threshold_Color

func (*Threshold) GetDirection Uses

func (x *Threshold) GetDirection() Threshold_Direction

func (*Threshold) GetLabel Uses

func (x *Threshold) GetLabel() string

func (*Threshold) GetValue Uses

func (x *Threshold) GetValue() float64

func (*Threshold) ProtoMessage Uses

func (*Threshold) ProtoMessage()

func (*Threshold) ProtoReflect Uses

func (x *Threshold) ProtoReflect() protoreflect.Message

func (*Threshold) Reset Uses

func (x *Threshold) Reset()

func (*Threshold) String Uses

func (x *Threshold) String() string

type Threshold_Color Uses

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) Descriptor Uses

func (Threshold_Color) Descriptor() protoreflect.EnumDescriptor

func (Threshold_Color) Enum Uses

func (x Threshold_Color) Enum() *Threshold_Color

func (Threshold_Color) EnumDescriptor Uses

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

Deprecated: Use Threshold_Color.Descriptor instead.

func (Threshold_Color) Number Uses

func (x Threshold_Color) Number() protoreflect.EnumNumber

func (Threshold_Color) String Uses

func (x Threshold_Color) String() string

func (Threshold_Color) Type Uses

func (Threshold_Color) Type() protoreflect.EnumType

type Threshold_Direction Uses

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) Descriptor Uses

func (Threshold_Direction) Descriptor() protoreflect.EnumDescriptor

func (Threshold_Direction) Enum Uses

func (x Threshold_Direction) Enum() *Threshold_Direction

func (Threshold_Direction) EnumDescriptor Uses

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

Deprecated: Use Threshold_Direction.Descriptor instead.

func (Threshold_Direction) Number Uses

func (x Threshold_Direction) Number() protoreflect.EnumNumber

func (Threshold_Direction) String Uses

func (x Threshold_Direction) String() string

func (Threshold_Direction) Type Uses

func (Threshold_Direction) Type() protoreflect.EnumType

type TimeSeriesFilter Uses

type TimeSeriesFilter struct {

    // Required. The [monitoring filter](https://cloud.google.com/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"`
    // Apply a second aggregation after `aggregation` is applied.
    SecondaryAggregation *Aggregation `protobuf:"bytes,3,opt,name=secondary_aggregation,json=secondaryAggregation,proto3" json:"secondary_aggregation,omitempty"`
    // Selects an optional time series filter.
    //
    // Types that are assignable to OutputFilter:
    //	*TimeSeriesFilter_PickTimeSeriesFilter
    //	*TimeSeriesFilter_StatisticalTimeSeriesFilter
    OutputFilter isTimeSeriesFilter_OutputFilter `protobuf_oneof:"output_filter"`
    // contains filtered or unexported fields
}

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

func (*TimeSeriesFilter) Descriptor Uses

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

Deprecated: Use TimeSeriesFilter.ProtoReflect.Descriptor instead.

func (*TimeSeriesFilter) GetAggregation Uses

func (x *TimeSeriesFilter) GetAggregation() *Aggregation

func (*TimeSeriesFilter) GetFilter Uses

func (x *TimeSeriesFilter) GetFilter() string

func (*TimeSeriesFilter) GetOutputFilter Uses

func (m *TimeSeriesFilter) GetOutputFilter() isTimeSeriesFilter_OutputFilter

func (*TimeSeriesFilter) GetPickTimeSeriesFilter Uses

func (x *TimeSeriesFilter) GetPickTimeSeriesFilter() *PickTimeSeriesFilter

func (*TimeSeriesFilter) GetSecondaryAggregation Uses

func (x *TimeSeriesFilter) GetSecondaryAggregation() *Aggregation

func (*TimeSeriesFilter) GetStatisticalTimeSeriesFilter Uses

func (x *TimeSeriesFilter) GetStatisticalTimeSeriesFilter() *StatisticalTimeSeriesFilter

Deprecated: Do not use.

func (*TimeSeriesFilter) ProtoMessage Uses

func (*TimeSeriesFilter) ProtoMessage()

func (*TimeSeriesFilter) ProtoReflect Uses

func (x *TimeSeriesFilter) ProtoReflect() protoreflect.Message

func (*TimeSeriesFilter) Reset Uses

func (x *TimeSeriesFilter) Reset()

func (*TimeSeriesFilter) String Uses

func (x *TimeSeriesFilter) String() string

type TimeSeriesFilterRatio Uses

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 assignable to OutputFilter:
    //	*TimeSeriesFilterRatio_PickTimeSeriesFilter
    //	*TimeSeriesFilterRatio_StatisticalTimeSeriesFilter
    OutputFilter isTimeSeriesFilterRatio_OutputFilter `protobuf_oneof:"output_filter"`
    // contains filtered or unexported fields
}

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 Uses

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

Deprecated: Use TimeSeriesFilterRatio.ProtoReflect.Descriptor instead.

func (*TimeSeriesFilterRatio) GetDenominator Uses

func (x *TimeSeriesFilterRatio) GetDenominator() *TimeSeriesFilterRatio_RatioPart

func (*TimeSeriesFilterRatio) GetNumerator Uses

func (x *TimeSeriesFilterRatio) GetNumerator() *TimeSeriesFilterRatio_RatioPart

func (*TimeSeriesFilterRatio) GetOutputFilter Uses

func (m *TimeSeriesFilterRatio) GetOutputFilter() isTimeSeriesFilterRatio_OutputFilter

func (*TimeSeriesFilterRatio) GetPickTimeSeriesFilter Uses

func (x *TimeSeriesFilterRatio) GetPickTimeSeriesFilter() *PickTimeSeriesFilter

func (*TimeSeriesFilterRatio) GetSecondaryAggregation Uses

func (x *TimeSeriesFilterRatio) GetSecondaryAggregation() *Aggregation

func (*TimeSeriesFilterRatio) GetStatisticalTimeSeriesFilter Uses

func (x *TimeSeriesFilterRatio) GetStatisticalTimeSeriesFilter() *StatisticalTimeSeriesFilter

Deprecated: Do not use.

func (*TimeSeriesFilterRatio) ProtoMessage Uses

func (*TimeSeriesFilterRatio) ProtoMessage()

func (*TimeSeriesFilterRatio) ProtoReflect Uses

func (x *TimeSeriesFilterRatio) ProtoReflect() protoreflect.Message

func (*TimeSeriesFilterRatio) Reset Uses

func (x *TimeSeriesFilterRatio) Reset()

func (*TimeSeriesFilterRatio) String Uses

func (x *TimeSeriesFilterRatio) String() string

type TimeSeriesFilterRatio_PickTimeSeriesFilter Uses

type TimeSeriesFilterRatio_PickTimeSeriesFilter struct {
    // Ranking based time series filter.
    PickTimeSeriesFilter *PickTimeSeriesFilter `protobuf:"bytes,4,opt,name=pick_time_series_filter,json=pickTimeSeriesFilter,proto3,oneof"`
}

type TimeSeriesFilterRatio_RatioPart Uses

type TimeSeriesFilterRatio_RatioPart struct {

    // Required. The [monitoring
    // filter](https://cloud.google.com/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"`
    // contains filtered or unexported fields
}

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

func (*TimeSeriesFilterRatio_RatioPart) Descriptor Uses

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

Deprecated: Use TimeSeriesFilterRatio_RatioPart.ProtoReflect.Descriptor instead.

func (*TimeSeriesFilterRatio_RatioPart) GetAggregation Uses

func (x *TimeSeriesFilterRatio_RatioPart) GetAggregation() *Aggregation

func (*TimeSeriesFilterRatio_RatioPart) GetFilter Uses

func (x *TimeSeriesFilterRatio_RatioPart) GetFilter() string

func (*TimeSeriesFilterRatio_RatioPart) ProtoMessage Uses

func (*TimeSeriesFilterRatio_RatioPart) ProtoMessage()

func (*TimeSeriesFilterRatio_RatioPart) ProtoReflect Uses

func (x *TimeSeriesFilterRatio_RatioPart) ProtoReflect() protoreflect.Message

func (*TimeSeriesFilterRatio_RatioPart) Reset Uses

func (x *TimeSeriesFilterRatio_RatioPart) Reset()

func (*TimeSeriesFilterRatio_RatioPart) String Uses

func (x *TimeSeriesFilterRatio_RatioPart) String() string

type TimeSeriesFilterRatio_StatisticalTimeSeriesFilter Uses

type TimeSeriesFilterRatio_StatisticalTimeSeriesFilter struct {
    // Statistics based time series filter.
    // Note: This field is deprecated and completely ignored by the API.
    //
    // Deprecated: Do not use.
    StatisticalTimeSeriesFilter *StatisticalTimeSeriesFilter `protobuf:"bytes,5,opt,name=statistical_time_series_filter,json=statisticalTimeSeriesFilter,proto3,oneof"`
}

type TimeSeriesFilter_PickTimeSeriesFilter Uses

type TimeSeriesFilter_PickTimeSeriesFilter struct {
    // Ranking based time series filter.
    PickTimeSeriesFilter *PickTimeSeriesFilter `protobuf:"bytes,4,opt,name=pick_time_series_filter,json=pickTimeSeriesFilter,proto3,oneof"`
}

type TimeSeriesFilter_StatisticalTimeSeriesFilter Uses

type TimeSeriesFilter_StatisticalTimeSeriesFilter struct {
    // Statistics based time series filter.
    // Note: This field is deprecated and completely ignored by the API.
    //
    // Deprecated: Do not use.
    StatisticalTimeSeriesFilter *StatisticalTimeSeriesFilter `protobuf:"bytes,5,opt,name=statistical_time_series_filter,json=statisticalTimeSeriesFilter,proto3,oneof"`
}

type TimeSeriesQuery Uses

type TimeSeriesQuery struct {

    // Parameters needed to obtain data for the chart.
    //
    // Types that are assignable to Source:
    //	*TimeSeriesQuery_TimeSeriesFilter
    //	*TimeSeriesQuery_TimeSeriesFilterRatio
    //	*TimeSeriesQuery_TimeSeriesQueryLanguage
    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`](https://cloud.google.com/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"`
    // contains filtered or unexported fields
}

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

func (*TimeSeriesQuery) Descriptor Uses

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

Deprecated: Use TimeSeriesQuery.ProtoReflect.Descriptor instead.

func (*TimeSeriesQuery) GetSource Uses

func (m *TimeSeriesQuery) GetSource() isTimeSeriesQuery_Source

func (*TimeSeriesQuery) GetTimeSeriesFilter Uses

func (x *TimeSeriesQuery) GetTimeSeriesFilter() *TimeSeriesFilter

func (*TimeSeriesQuery) GetTimeSeriesFilterRatio Uses

func (x *TimeSeriesQuery) GetTimeSeriesFilterRatio() *TimeSeriesFilterRatio

func (*TimeSeriesQuery) GetTimeSeriesQueryLanguage Uses

func (x *TimeSeriesQuery) GetTimeSeriesQueryLanguage() string

func (*TimeSeriesQuery) GetUnitOverride Uses

func (x *TimeSeriesQuery) GetUnitOverride() string

func (*TimeSeriesQuery) ProtoMessage Uses

func (*TimeSeriesQuery) ProtoMessage()

func (*TimeSeriesQuery) ProtoReflect Uses

func (x *TimeSeriesQuery) ProtoReflect() protoreflect.Message

func (*TimeSeriesQuery) Reset Uses

func (x *TimeSeriesQuery) Reset()

func (*TimeSeriesQuery) String Uses

func (x *TimeSeriesQuery) String() string

type TimeSeriesQuery_TimeSeriesFilter Uses

type TimeSeriesQuery_TimeSeriesFilter struct {
    // Filter parameters to fetch time series.
    TimeSeriesFilter *TimeSeriesFilter `protobuf:"bytes,1,opt,name=time_series_filter,json=timeSeriesFilter,proto3,oneof"`
}

type TimeSeriesQuery_TimeSeriesFilterRatio Uses

type TimeSeriesQuery_TimeSeriesFilterRatio struct {
    // Parameters to fetch a ratio between two time series filters.
    TimeSeriesFilterRatio *TimeSeriesFilterRatio `protobuf:"bytes,2,opt,name=time_series_filter_ratio,json=timeSeriesFilterRatio,proto3,oneof"`
}

type TimeSeriesQuery_TimeSeriesQueryLanguage Uses

type TimeSeriesQuery_TimeSeriesQueryLanguage struct {
    // A query used to fetch time series.
    TimeSeriesQueryLanguage string `protobuf:"bytes,3,opt,name=time_series_query_language,json=timeSeriesQueryLanguage,proto3,oneof"`
}

type UnimplementedDashboardsServiceServer Uses

type UnimplementedDashboardsServiceServer struct {
}

UnimplementedDashboardsServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedDashboardsServiceServer) CreateDashboard Uses

func (*UnimplementedDashboardsServiceServer) CreateDashboard(context.Context, *CreateDashboardRequest) (*Dashboard, error)

func (*UnimplementedDashboardsServiceServer) DeleteDashboard Uses

func (*UnimplementedDashboardsServiceServer) DeleteDashboard(context.Context, *DeleteDashboardRequest) (*empty.Empty, error)

func (*UnimplementedDashboardsServiceServer) GetDashboard Uses

func (*UnimplementedDashboardsServiceServer) GetDashboard(context.Context, *GetDashboardRequest) (*Dashboard, error)

func (*UnimplementedDashboardsServiceServer) ListDashboards Uses

func (*UnimplementedDashboardsServiceServer) ListDashboards(context.Context, *ListDashboardsRequest) (*ListDashboardsResponse, error)

func (*UnimplementedDashboardsServiceServer) UpdateDashboard Uses

func (*UnimplementedDashboardsServiceServer) UpdateDashboard(context.Context, *UpdateDashboardRequest) (*Dashboard, error)

type UpdateDashboardRequest Uses

type UpdateDashboardRequest struct {

    // Required. The dashboard that will replace the existing dashboard.
    Dashboard *Dashboard `protobuf:"bytes,1,opt,name=dashboard,proto3" json:"dashboard,omitempty"`
    // contains filtered or unexported fields
}

The `UpdateDashboard` request.

func (*UpdateDashboardRequest) Descriptor Uses

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

Deprecated: Use UpdateDashboardRequest.ProtoReflect.Descriptor instead.

func (*UpdateDashboardRequest) GetDashboard Uses

func (x *UpdateDashboardRequest) GetDashboard() *Dashboard

func (*UpdateDashboardRequest) ProtoMessage Uses

func (*UpdateDashboardRequest) ProtoMessage()

func (*UpdateDashboardRequest) ProtoReflect Uses

func (x *UpdateDashboardRequest) ProtoReflect() protoreflect.Message

func (*UpdateDashboardRequest) Reset Uses

func (x *UpdateDashboardRequest) Reset()

func (*UpdateDashboardRequest) String Uses

func (x *UpdateDashboardRequest) String() string

type Widget Uses

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 assignable to Content:
    //	*Widget_XyChart
    //	*Widget_Scorecard
    //	*Widget_Text
    //	*Widget_Blank
    Content isWidget_Content `protobuf_oneof:"content"`
    // contains filtered or unexported fields
}

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

func (*Widget) Descriptor Uses

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

Deprecated: Use Widget.ProtoReflect.Descriptor instead.

func (*Widget) GetBlank Uses

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

func (*Widget) GetContent Uses

func (m *Widget) GetContent() isWidget_Content

func (*Widget) GetScorecard Uses

func (x *Widget) GetScorecard() *Scorecard

func (*Widget) GetText Uses

func (x *Widget) GetText() *Text

func (*Widget) GetTitle Uses

func (x *Widget) GetTitle() string

func (*Widget) GetXyChart Uses

func (x *Widget) GetXyChart() *XyChart

func (*Widget) ProtoMessage Uses

func (*Widget) ProtoMessage()

func (*Widget) ProtoReflect Uses

func (x *Widget) ProtoReflect() protoreflect.Message

func (*Widget) Reset Uses

func (x *Widget) Reset()

func (*Widget) String Uses

func (x *Widget) String() string

type Widget_Blank Uses

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

type Widget_Scorecard Uses

type Widget_Scorecard struct {
    // A scorecard summarizing time series data.
    Scorecard *Scorecard `protobuf:"bytes,3,opt,name=scorecard,proto3,oneof"`
}

type Widget_Text Uses

type Widget_Text struct {
    // A raw string or markdown displaying textual content.
    Text *Text `protobuf:"bytes,4,opt,name=text,proto3,oneof"`
}

type Widget_XyChart Uses

type Widget_XyChart struct {
    // A chart of time series data.
    XyChart *XyChart `protobuf:"bytes,2,opt,name=xy_chart,json=xyChart,proto3,oneof"`
}

type XyChart Uses

type XyChart struct {

    // Required. 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"`
    // contains filtered or unexported fields
}

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

func (*XyChart) Descriptor Uses

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

Deprecated: Use XyChart.ProtoReflect.Descriptor instead.

func (*XyChart) GetChartOptions Uses

func (x *XyChart) GetChartOptions() *ChartOptions

func (*XyChart) GetDataSets Uses

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

func (*XyChart) GetThresholds Uses

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

func (*XyChart) GetTimeshiftDuration Uses

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

func (*XyChart) GetXAxis Uses

func (x *XyChart) GetXAxis() *XyChart_Axis

func (*XyChart) GetYAxis Uses

func (x *XyChart) GetYAxis() *XyChart_Axis

func (*XyChart) ProtoMessage Uses

func (*XyChart) ProtoMessage()

func (*XyChart) ProtoReflect Uses

func (x *XyChart) ProtoReflect() protoreflect.Message

func (*XyChart) Reset Uses

func (x *XyChart) Reset()

func (*XyChart) String Uses

func (x *XyChart) String() string

type XyChart_Axis Uses

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"`
    // contains filtered or unexported fields
}

A chart axis.

func (*XyChart_Axis) Descriptor Uses

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

Deprecated: Use XyChart_Axis.ProtoReflect.Descriptor instead.

func (*XyChart_Axis) GetLabel Uses

func (x *XyChart_Axis) GetLabel() string

func (*XyChart_Axis) GetScale Uses

func (x *XyChart_Axis) GetScale() XyChart_Axis_Scale

func (*XyChart_Axis) ProtoMessage Uses

func (*XyChart_Axis) ProtoMessage()

func (*XyChart_Axis) ProtoReflect Uses

func (x *XyChart_Axis) ProtoReflect() protoreflect.Message

func (*XyChart_Axis) Reset Uses

func (x *XyChart_Axis) Reset()

func (*XyChart_Axis) String Uses

func (x *XyChart_Axis) String() string

type XyChart_Axis_Scale Uses

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) Descriptor Uses

func (XyChart_Axis_Scale) Descriptor() protoreflect.EnumDescriptor

func (XyChart_Axis_Scale) Enum Uses

func (x XyChart_Axis_Scale) Enum() *XyChart_Axis_Scale

func (XyChart_Axis_Scale) EnumDescriptor Uses

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

Deprecated: Use XyChart_Axis_Scale.Descriptor instead.

func (XyChart_Axis_Scale) Number Uses

func (x XyChart_Axis_Scale) Number() protoreflect.EnumNumber

func (XyChart_Axis_Scale) String Uses

func (x XyChart_Axis_Scale) String() string

func (XyChart_Axis_Scale) Type Uses

func (XyChart_Axis_Scale) Type() protoreflect.EnumType

type XyChart_DataSet Uses

type XyChart_DataSet struct {

    // Required. 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 `protobuf:"varint,2,opt,name=plot_type,json=plotType,proto3,enum=google.monitoring.dashboard.v1.XyChart_DataSet_PlotType" json:"plot_type,omitempty"`
    // 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"`
    // contains filtered or unexported fields
}

Groups a time series query definition with charting options.

func (*XyChart_DataSet) Descriptor Uses

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

Deprecated: Use XyChart_DataSet.ProtoReflect.Descriptor instead.

func (*XyChart_DataSet) GetLegendTemplate Uses

func (x *XyChart_DataSet) GetLegendTemplate() string

func (*XyChart_DataSet) GetMinAlignmentPeriod Uses

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

func (*XyChart_DataSet) GetPlotType Uses

func (x *XyChart_DataSet) GetPlotType() XyChart_DataSet_PlotType

func (*XyChart_DataSet) GetTimeSeriesQuery Uses

func (x *XyChart_DataSet) GetTimeSeriesQuery() *TimeSeriesQuery

func (*XyChart_DataSet) ProtoMessage Uses

func (*XyChart_DataSet) ProtoMessage()

func (*XyChart_DataSet) ProtoReflect Uses

func (x *XyChart_DataSet) ProtoReflect() protoreflect.Message

func (*XyChart_DataSet) Reset Uses

func (x *XyChart_DataSet) Reset()

func (*XyChart_DataSet) String Uses

func (x *XyChart_DataSet) String() string

type XyChart_DataSet_PlotType Uses

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) Descriptor Uses

func (XyChart_DataSet_PlotType) Descriptor() protoreflect.EnumDescriptor

func (XyChart_DataSet_PlotType) Enum Uses

func (x XyChart_DataSet_PlotType) Enum() *XyChart_DataSet_PlotType

func (XyChart_DataSet_PlotType) EnumDescriptor Uses

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

Deprecated: Use XyChart_DataSet_PlotType.Descriptor instead.

func (XyChart_DataSet_PlotType) Number Uses

func (x XyChart_DataSet_PlotType) Number() protoreflect.EnumNumber

func (XyChart_DataSet_PlotType) String Uses

func (x XyChart_DataSet_PlotType) String() string

func (XyChart_DataSet_PlotType) Type Uses

func (XyChart_DataSet_PlotType) Type() protoreflect.EnumType

Package dashboard imports 14 packages (graph). Updated 2020-08-13. Refresh now. Tools for package owners.