Variables
Aggregation_Aligner_name, Aggregation_Aligner_value
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.
Aggregation_Reducer_name, Aggregation_Reducer_value
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.
PickTimeSeriesFilter_Method_name, PickTimeSeriesFilter_Method_value
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.
PickTimeSeriesFilter_Direction_name, PickTimeSeriesFilter_Direction_value
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.
StatisticalTimeSeriesFilter_Method_name, StatisticalTimeSeriesFilter_Method_value
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.
DashboardFilter_FilterType_name, DashboardFilter_FilterType_value
var (
DashboardFilter_FilterType_name = map[int32]string{
0: "FILTER_TYPE_UNSPECIFIED",
1: "RESOURCE_LABEL",
2: "METRIC_LABEL",
3: "USER_METADATA_LABEL",
4: "SYSTEM_METADATA_LABEL",
5: "GROUP",
}
DashboardFilter_FilterType_value = map[string]int32{
"FILTER_TYPE_UNSPECIFIED": 0,
"RESOURCE_LABEL": 1,
"METRIC_LABEL": 2,
"USER_METADATA_LABEL": 3,
"SYSTEM_METADATA_LABEL": 4,
"GROUP": 5,
}
)
Enum value maps for DashboardFilter_FilterType.
SparkChartType_name, SparkChartType_value
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.
Threshold_Color_name, Threshold_Color_value
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.
Threshold_Direction_name, Threshold_Direction_value
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.
Threshold_TargetAxis_name, Threshold_TargetAxis_value
var (
Threshold_TargetAxis_name = map[int32]string{
0: "TARGET_AXIS_UNSPECIFIED",
1: "Y1",
2: "Y2",
}
Threshold_TargetAxis_value = map[string]int32{
"TARGET_AXIS_UNSPECIFIED": 0,
"Y1": 1,
"Y2": 2,
}
)
Enum value maps for Threshold_TargetAxis.
PieChart_PieChartType_name, PieChart_PieChartType_value
var (
PieChart_PieChartType_name = map[int32]string{
0: "PIE_CHART_TYPE_UNSPECIFIED",
1: "PIE",
2: "DONUT",
}
PieChart_PieChartType_value = map[string]int32{
"PIE_CHART_TYPE_UNSPECIFIED": 0,
"PIE": 1,
"DONUT": 2,
}
)
Enum value maps for PieChart_PieChartType.
TimeSeriesTable_MetricVisualization_name, TimeSeriesTable_MetricVisualization_value
var (
TimeSeriesTable_MetricVisualization_name = map[int32]string{
0: "METRIC_VISUALIZATION_UNSPECIFIED",
1: "NUMBER",
2: "BAR",
}
TimeSeriesTable_MetricVisualization_value = map[string]int32{
"METRIC_VISUALIZATION_UNSPECIFIED": 0,
"NUMBER": 1,
"BAR": 2,
}
)
Enum value maps for TimeSeriesTable_MetricVisualization.
Text_Format_name, Text_Format_value
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.
Text_TextStyle_HorizontalAlignment_name, Text_TextStyle_HorizontalAlignment_value
var (
Text_TextStyle_HorizontalAlignment_name = map[int32]string{
0: "HORIZONTAL_ALIGNMENT_UNSPECIFIED",
1: "H_LEFT",
2: "H_CENTER",
3: "H_RIGHT",
}
Text_TextStyle_HorizontalAlignment_value = map[string]int32{
"HORIZONTAL_ALIGNMENT_UNSPECIFIED": 0,
"H_LEFT": 1,
"H_CENTER": 2,
"H_RIGHT": 3,
}
)
Enum value maps for Text_TextStyle_HorizontalAlignment.
Text_TextStyle_VerticalAlignment_name, Text_TextStyle_VerticalAlignment_value
var (
Text_TextStyle_VerticalAlignment_name = map[int32]string{
0: "VERTICAL_ALIGNMENT_UNSPECIFIED",
1: "V_TOP",
2: "V_CENTER",
3: "V_BOTTOM",
}
Text_TextStyle_VerticalAlignment_value = map[string]int32{
"VERTICAL_ALIGNMENT_UNSPECIFIED": 0,
"V_TOP": 1,
"V_CENTER": 2,
"V_BOTTOM": 3,
}
)
Enum value maps for Text_TextStyle_VerticalAlignment.
Text_TextStyle_PaddingSize_name, Text_TextStyle_PaddingSize_value
var (
Text_TextStyle_PaddingSize_name = map[int32]string{
0: "PADDING_SIZE_UNSPECIFIED",
1: "P_EXTRA_SMALL",
2: "P_SMALL",
3: "P_MEDIUM",
4: "P_LARGE",
5: "P_EXTRA_LARGE",
}
Text_TextStyle_PaddingSize_value = map[string]int32{
"PADDING_SIZE_UNSPECIFIED": 0,
"P_EXTRA_SMALL": 1,
"P_SMALL": 2,
"P_MEDIUM": 3,
"P_LARGE": 4,
"P_EXTRA_LARGE": 5,
}
)
Enum value maps for Text_TextStyle_PaddingSize.
Text_TextStyle_FontSize_name, Text_TextStyle_FontSize_value
var (
Text_TextStyle_FontSize_name = map[int32]string{
0: "FONT_SIZE_UNSPECIFIED",
1: "FS_EXTRA_SMALL",
2: "FS_SMALL",
3: "FS_MEDIUM",
4: "FS_LARGE",
5: "FS_EXTRA_LARGE",
}
Text_TextStyle_FontSize_value = map[string]int32{
"FONT_SIZE_UNSPECIFIED": 0,
"FS_EXTRA_SMALL": 1,
"FS_SMALL": 2,
"FS_MEDIUM": 3,
"FS_LARGE": 4,
"FS_EXTRA_LARGE": 5,
}
)
Enum value maps for Text_TextStyle_FontSize.
Text_TextStyle_PointerLocation_name, Text_TextStyle_PointerLocation_value
var (
Text_TextStyle_PointerLocation_name = map[int32]string{
0: "POINTER_LOCATION_UNSPECIFIED",
1: "PL_TOP",
2: "PL_RIGHT",
3: "PL_BOTTOM",
4: "PL_LEFT",
5: "PL_TOP_LEFT",
6: "PL_TOP_RIGHT",
7: "PL_RIGHT_TOP",
8: "PL_RIGHT_BOTTOM",
9: "PL_BOTTOM_RIGHT",
10: "PL_BOTTOM_LEFT",
11: "PL_LEFT_BOTTOM",
12: "PL_LEFT_TOP",
}
Text_TextStyle_PointerLocation_value = map[string]int32{
"POINTER_LOCATION_UNSPECIFIED": 0,
"PL_TOP": 1,
"PL_RIGHT": 2,
"PL_BOTTOM": 3,
"PL_LEFT": 4,
"PL_TOP_LEFT": 5,
"PL_TOP_RIGHT": 6,
"PL_RIGHT_TOP": 7,
"PL_RIGHT_BOTTOM": 8,
"PL_BOTTOM_RIGHT": 9,
"PL_BOTTOM_LEFT": 10,
"PL_LEFT_BOTTOM": 11,
"PL_LEFT_TOP": 12,
}
)
Enum value maps for Text_TextStyle_PointerLocation.
XyChart_DataSet_PlotType_name, XyChart_DataSet_PlotType_value
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.
XyChart_DataSet_TargetAxis_name, XyChart_DataSet_TargetAxis_value
var (
XyChart_DataSet_TargetAxis_name = map[int32]string{
0: "TARGET_AXIS_UNSPECIFIED",
1: "Y1",
2: "Y2",
}
XyChart_DataSet_TargetAxis_value = map[string]int32{
"TARGET_AXIS_UNSPECIFIED": 0,
"Y1": 1,
"Y2": 2,
}
)
Enum value maps for XyChart_DataSet_TargetAxis.
XyChart_Axis_Scale_name, XyChart_Axis_Scale_value
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.
ChartOptions_Mode_name, ChartOptions_Mode_value
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.
File_google_monitoring_dashboard_v1_alertchart_proto
var File_google_monitoring_dashboard_v1_alertchart_proto protoreflect.FileDescriptor
File_google_monitoring_dashboard_v1_collapsible_group_proto
var File_google_monitoring_dashboard_v1_collapsible_group_proto protoreflect.FileDescriptor
File_google_monitoring_dashboard_v1_common_proto
var File_google_monitoring_dashboard_v1_common_proto protoreflect.FileDescriptor
File_google_monitoring_dashboard_v1_dashboard_filter_proto
var File_google_monitoring_dashboard_v1_dashboard_filter_proto protoreflect.FileDescriptor
File_google_monitoring_dashboard_v1_dashboard_proto
var File_google_monitoring_dashboard_v1_dashboard_proto protoreflect.FileDescriptor
File_google_monitoring_dashboard_v1_dashboards_service_proto
var File_google_monitoring_dashboard_v1_dashboards_service_proto protoreflect.FileDescriptor
File_google_monitoring_dashboard_v1_drilldowns_proto
var File_google_monitoring_dashboard_v1_drilldowns_proto protoreflect.FileDescriptor
File_google_monitoring_dashboard_v1_error_reporting_panel_proto
var File_google_monitoring_dashboard_v1_error_reporting_panel_proto protoreflect.FileDescriptor
File_google_monitoring_dashboard_v1_incident_list_proto
var File_google_monitoring_dashboard_v1_incident_list_proto protoreflect.FileDescriptor
File_google_monitoring_dashboard_v1_layouts_proto
var File_google_monitoring_dashboard_v1_layouts_proto protoreflect.FileDescriptor
File_google_monitoring_dashboard_v1_logs_panel_proto
var File_google_monitoring_dashboard_v1_logs_panel_proto protoreflect.FileDescriptor
File_google_monitoring_dashboard_v1_metrics_proto
var File_google_monitoring_dashboard_v1_metrics_proto protoreflect.FileDescriptor
File_google_monitoring_dashboard_v1_piechart_proto
var File_google_monitoring_dashboard_v1_piechart_proto protoreflect.FileDescriptor
File_google_monitoring_dashboard_v1_scorecard_proto
var File_google_monitoring_dashboard_v1_scorecard_proto protoreflect.FileDescriptor
File_google_monitoring_dashboard_v1_section_header_proto
var File_google_monitoring_dashboard_v1_section_header_proto protoreflect.FileDescriptor
File_google_monitoring_dashboard_v1_service_proto
var File_google_monitoring_dashboard_v1_service_proto protoreflect.FileDescriptor
File_google_monitoring_dashboard_v1_single_view_group_proto
var File_google_monitoring_dashboard_v1_single_view_group_proto protoreflect.FileDescriptor
File_google_monitoring_dashboard_v1_table_display_options_proto
var File_google_monitoring_dashboard_v1_table_display_options_proto protoreflect.FileDescriptor
File_google_monitoring_dashboard_v1_table_proto
var File_google_monitoring_dashboard_v1_table_proto protoreflect.FileDescriptor
File_google_monitoring_dashboard_v1_text_proto
var File_google_monitoring_dashboard_v1_text_proto protoreflect.FileDescriptor
File_google_monitoring_dashboard_v1_widget_proto
var File_google_monitoring_dashboard_v1_widget_proto protoreflect.FileDescriptor
File_google_monitoring_dashboard_v1_xychart_proto
var File_google_monitoring_dashboard_v1_xychart_proto protoreflect.FileDescriptor
Functions
func RegisterDashboardsServiceServer
func RegisterDashboardsServiceServer(s *grpc.Server, srv DashboardsServiceServer)
Aggregation
type Aggregation struct {
AlignmentPeriod *durationpb.Duration `protobuf:"bytes,1,opt,name=alignment_period,json=alignmentPeriod,proto3" json:"alignment_period,omitempty"`
PerSeriesAligner Aggregation_Aligner "" /* 168 byte string literal not displayed */
CrossSeriesReducer Aggregation_Reducer "" /* 174 byte string literal not displayed */
GroupByFields []string `protobuf:"bytes,5,rep,name=group_by_fields,json=groupByFields,proto3" json:"group_by_fields,omitempty"`
}
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.
func (*Aggregation) Descriptor
func (*Aggregation) Descriptor() ([]byte, []int)
Deprecated: Use Aggregation.ProtoReflect.Descriptor instead.
func (*Aggregation) GetAlignmentPeriod
func (x *Aggregation) GetAlignmentPeriod() *durationpb.Duration
func (*Aggregation) GetCrossSeriesReducer
func (x *Aggregation) GetCrossSeriesReducer() Aggregation_Reducer
func (*Aggregation) GetGroupByFields
func (x *Aggregation) GetGroupByFields() []string
func (*Aggregation) GetPerSeriesAligner
func (x *Aggregation) GetPerSeriesAligner() Aggregation_Aligner
func (*Aggregation) ProtoMessage
func (*Aggregation) ProtoMessage()
func (*Aggregation) ProtoReflect
func (x *Aggregation) ProtoReflect() protoreflect.Message
func (*Aggregation) Reset
func (x *Aggregation) Reset()
func (*Aggregation) String
func (x *Aggregation) String() string
Aggregation_Aligner
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
.
Aggregation_ALIGN_NONE, Aggregation_ALIGN_DELTA, Aggregation_ALIGN_RATE, Aggregation_ALIGN_INTERPOLATE, Aggregation_ALIGN_NEXT_OLDER, Aggregation_ALIGN_MIN, Aggregation_ALIGN_MAX, Aggregation_ALIGN_MEAN, Aggregation_ALIGN_COUNT, Aggregation_ALIGN_SUM, Aggregation_ALIGN_STDDEV, Aggregation_ALIGN_COUNT_TRUE, Aggregation_ALIGN_COUNT_FALSE, Aggregation_ALIGN_FRACTION_TRUE, Aggregation_ALIGN_PERCENTILE_99, Aggregation_ALIGN_PERCENTILE_95, Aggregation_ALIGN_PERCENTILE_50, Aggregation_ALIGN_PERCENTILE_05, Aggregation_ALIGN_PERCENT_CHANGE
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
func (Aggregation_Aligner) Descriptor() protoreflect.EnumDescriptor
func (Aggregation_Aligner) Enum
func (x Aggregation_Aligner) Enum() *Aggregation_Aligner
func (Aggregation_Aligner) EnumDescriptor
func (Aggregation_Aligner) EnumDescriptor() ([]byte, []int)
Deprecated: Use Aggregation_Aligner.Descriptor instead.
func (Aggregation_Aligner) Number
func (x Aggregation_Aligner) Number() protoreflect.EnumNumber
func (Aggregation_Aligner) String
func (x Aggregation_Aligner) String() string
func (Aggregation_Aligner) Type
func (Aggregation_Aligner) Type() protoreflect.EnumType
Aggregation_Reducer
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.
Aggregation_REDUCE_NONE, Aggregation_REDUCE_MEAN, Aggregation_REDUCE_MIN, Aggregation_REDUCE_MAX, Aggregation_REDUCE_SUM, Aggregation_REDUCE_STDDEV, Aggregation_REDUCE_COUNT, Aggregation_REDUCE_COUNT_TRUE, Aggregation_REDUCE_COUNT_FALSE, Aggregation_REDUCE_FRACTION_TRUE, Aggregation_REDUCE_PERCENTILE_99, Aggregation_REDUCE_PERCENTILE_95, Aggregation_REDUCE_PERCENTILE_50, Aggregation_REDUCE_PERCENTILE_05
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
func (Aggregation_Reducer) Descriptor() protoreflect.EnumDescriptor
func (Aggregation_Reducer) Enum
func (x Aggregation_Reducer) Enum() *Aggregation_Reducer
func (Aggregation_Reducer) EnumDescriptor
func (Aggregation_Reducer) EnumDescriptor() ([]byte, []int)
Deprecated: Use Aggregation_Reducer.Descriptor instead.
func (Aggregation_Reducer) Number
func (x Aggregation_Reducer) Number() protoreflect.EnumNumber
func (Aggregation_Reducer) String
func (x Aggregation_Reducer) String() string
func (Aggregation_Reducer) Type
func (Aggregation_Reducer) Type() protoreflect.EnumType
AlertChart
type AlertChart struct {
// Required. The resource name of the alert policy. The format is:
//
// projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
A chart that displays alert policy data.
func (*AlertChart) Descriptor
func (*AlertChart) Descriptor() ([]byte, []int)
Deprecated: Use AlertChart.ProtoReflect.Descriptor instead.
func (*AlertChart) GetName
func (x *AlertChart) GetName() string
func (*AlertChart) ProtoMessage
func (*AlertChart) ProtoMessage()
func (*AlertChart) ProtoReflect
func (x *AlertChart) ProtoReflect() protoreflect.Message
func (*AlertChart) Reset
func (x *AlertChart) Reset()
func (*AlertChart) String
func (x *AlertChart) String() string
ChartOptions
type ChartOptions struct {
// The chart mode.
Mode ChartOptions_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=google.monitoring.dashboard.v1.ChartOptions_Mode" json:"mode,omitempty"`
// contains filtered or unexported fields
}
Options to control visual rendering of a chart.
func (*ChartOptions) Descriptor
func (*ChartOptions) Descriptor() ([]byte, []int)
Deprecated: Use ChartOptions.ProtoReflect.Descriptor instead.
func (*ChartOptions) GetMode
func (x *ChartOptions) GetMode() ChartOptions_Mode
func (*ChartOptions) ProtoMessage
func (*ChartOptions) ProtoMessage()
func (*ChartOptions) ProtoReflect
func (x *ChartOptions) ProtoReflect() protoreflect.Message
func (*ChartOptions) Reset
func (x *ChartOptions) Reset()
func (*ChartOptions) String
func (x *ChartOptions) String() string
ChartOptions_Mode
type ChartOptions_Mode int32
Chart mode options.
ChartOptions_MODE_UNSPECIFIED, ChartOptions_COLOR, ChartOptions_X_RAY, ChartOptions_STATS
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
func (ChartOptions_Mode) Descriptor() protoreflect.EnumDescriptor
func (ChartOptions_Mode) Enum
func (x ChartOptions_Mode) Enum() *ChartOptions_Mode
func (ChartOptions_Mode) EnumDescriptor
func (ChartOptions_Mode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ChartOptions_Mode.Descriptor instead.
func (ChartOptions_Mode) Number
func (x ChartOptions_Mode) Number() protoreflect.EnumNumber
func (ChartOptions_Mode) String
func (x ChartOptions_Mode) String() string
func (ChartOptions_Mode) Type
func (ChartOptions_Mode) Type() protoreflect.EnumType
CollapsibleGroup
type CollapsibleGroup struct {
// The collapsed state of the widget on first page load.
Collapsed bool `protobuf:"varint,1,opt,name=collapsed,proto3" json:"collapsed,omitempty"`
// contains filtered or unexported fields
}
A widget that groups the other widgets. All widgets that are within the area spanned by the grouping widget are considered member widgets.
func (*CollapsibleGroup) Descriptor
func (*CollapsibleGroup) Descriptor() ([]byte, []int)
Deprecated: Use CollapsibleGroup.ProtoReflect.Descriptor instead.
func (*CollapsibleGroup) GetCollapsed
func (x *CollapsibleGroup) GetCollapsed() bool
func (*CollapsibleGroup) ProtoMessage
func (*CollapsibleGroup) ProtoMessage()
func (*CollapsibleGroup) ProtoReflect
func (x *CollapsibleGroup) ProtoReflect() protoreflect.Message
func (*CollapsibleGroup) Reset
func (x *CollapsibleGroup) Reset()
func (*CollapsibleGroup) String
func (x *CollapsibleGroup) String() string
ColumnLayout
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
func (*ColumnLayout) Descriptor() ([]byte, []int)
Deprecated: Use ColumnLayout.ProtoReflect.Descriptor instead.
func (*ColumnLayout) GetColumns
func (x *ColumnLayout) GetColumns() []*ColumnLayout_Column
func (*ColumnLayout) ProtoMessage
func (*ColumnLayout) ProtoMessage()
func (*ColumnLayout) ProtoReflect
func (x *ColumnLayout) ProtoReflect() protoreflect.Message
func (*ColumnLayout) Reset
func (x *ColumnLayout) Reset()
func (*ColumnLayout) String
func (x *ColumnLayout) String() string
ColumnLayout_Column
type ColumnLayout_Column struct {
// The relative weight of this column. The column weight is used to adjust
// the width of columns on the screen (relative to peers).
// Greater the weight, greater the width of the column on the screen.
// If omitted, a value of 1 is used while rendering.
Weight int64 `protobuf:"varint,1,opt,name=weight,proto3" json:"weight,omitempty"`
// The display widgets arranged vertically in this column.
Widgets []*Widget `protobuf:"bytes,2,rep,name=widgets,proto3" json:"widgets,omitempty"`
// contains filtered or unexported fields
}
Defines the layout properties and content for a column.
func (*ColumnLayout_Column) Descriptor
func (*ColumnLayout_Column) Descriptor() ([]byte, []int)
Deprecated: Use ColumnLayout_Column.ProtoReflect.Descriptor instead.
func (*ColumnLayout_Column) GetWeight
func (x *ColumnLayout_Column) GetWeight() int64
func (*ColumnLayout_Column) GetWidgets
func (x *ColumnLayout_Column) GetWidgets() []*Widget
func (*ColumnLayout_Column) ProtoMessage
func (*ColumnLayout_Column) ProtoMessage()
func (*ColumnLayout_Column) ProtoReflect
func (x *ColumnLayout_Column) ProtoReflect() protoreflect.Message
func (*ColumnLayout_Column) Reset
func (x *ColumnLayout_Column) Reset()
func (*ColumnLayout_Column) String
func (x *ColumnLayout_Column) String() string
CreateDashboardRequest
type CreateDashboardRequest struct {
// Required. The project on which to execute the request. The format is:
//
// projects/[PROJECT_ID_OR_NUMBER]
//
// The `[PROJECT_ID_OR_NUMBER]` must match the dashboard resource name.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The initial dashboard specification.
Dashboard *Dashboard `protobuf:"bytes,2,opt,name=dashboard,proto3" json:"dashboard,omitempty"`
// If set, validate the request and preview the review, but do not actually
// save it.
ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}
The CreateDashboard
request.
func (*CreateDashboardRequest) Descriptor
func (*CreateDashboardRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDashboardRequest.ProtoReflect.Descriptor instead.
func (*CreateDashboardRequest) GetDashboard
func (x *CreateDashboardRequest) GetDashboard() *Dashboard
func (*CreateDashboardRequest) GetParent
func (x *CreateDashboardRequest) GetParent() string
func (*CreateDashboardRequest) GetValidateOnly
func (x *CreateDashboardRequest) GetValidateOnly() bool
func (*CreateDashboardRequest) ProtoMessage
func (*CreateDashboardRequest) ProtoMessage()
func (*CreateDashboardRequest) ProtoReflect
func (x *CreateDashboardRequest) ProtoReflect() protoreflect.Message
func (*CreateDashboardRequest) Reset
func (x *CreateDashboardRequest) Reset()
func (*CreateDashboardRequest) String
func (x *CreateDashboardRequest) String() string
Dashboard
type Dashboard struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Etag string `protobuf:"bytes,4,opt,name=etag,proto3" json:"etag,omitempty"`
Layout isDashboard_Layout `protobuf_oneof:"layout"`
DashboardFilters []*DashboardFilter `protobuf:"bytes,11,rep,name=dashboard_filters,json=dashboardFilters,proto3" json:"dashboard_filters,omitempty"`
Labels map[string]string "" /* 154 byte string literal not displayed */
}
A Google Stackdriver dashboard. Dashboards define the content and layout of pages in the Stackdriver web application.
func (*Dashboard) Descriptor
Deprecated: Use Dashboard.ProtoReflect.Descriptor instead.
func (*Dashboard) GetColumnLayout
func (x *Dashboard) GetColumnLayout() *ColumnLayout
func (*Dashboard) GetDashboardFilters
func (x *Dashboard) GetDashboardFilters() []*DashboardFilter
func (*Dashboard) GetDisplayName
func (*Dashboard) GetEtag
func (*Dashboard) GetGridLayout
func (x *Dashboard) GetGridLayout() *GridLayout
func (*Dashboard) GetLabels
func (*Dashboard) GetLayout
func (m *Dashboard) GetLayout() isDashboard_Layout
func (*Dashboard) GetMosaicLayout
func (x *Dashboard) GetMosaicLayout() *MosaicLayout
func (*Dashboard) GetName
func (*Dashboard) GetRowLayout
func (*Dashboard) ProtoMessage
func (*Dashboard) ProtoMessage()
func (*Dashboard) ProtoReflect
func (x *Dashboard) ProtoReflect() protoreflect.Message
func (*Dashboard) Reset
func (x *Dashboard) Reset()
func (*Dashboard) String
DashboardFilter
type DashboardFilter struct {
LabelKey string `protobuf:"bytes,1,opt,name=label_key,json=labelKey,proto3" json:"label_key,omitempty"`
TemplateVariable string `protobuf:"bytes,3,opt,name=template_variable,json=templateVariable,proto3" json:"template_variable,omitempty"`
DefaultValue isDashboardFilter_DefaultValue `protobuf_oneof:"default_value"`
FilterType DashboardFilter_FilterType "" /* 155 byte string literal not displayed */
}
A filter to reduce the amount of data charted in relevant widgets.
func (*DashboardFilter) Descriptor
func (*DashboardFilter) Descriptor() ([]byte, []int)
Deprecated: Use DashboardFilter.ProtoReflect.Descriptor instead.
func (*DashboardFilter) GetDefaultValue
func (m *DashboardFilter) GetDefaultValue() isDashboardFilter_DefaultValue
func (*DashboardFilter) GetFilterType
func (x *DashboardFilter) GetFilterType() DashboardFilter_FilterType
func (*DashboardFilter) GetLabelKey
func (x *DashboardFilter) GetLabelKey() string
func (*DashboardFilter) GetStringValue
func (x *DashboardFilter) GetStringValue() string
func (*DashboardFilter) GetTemplateVariable
func (x *DashboardFilter) GetTemplateVariable() string
func (*DashboardFilter) ProtoMessage
func (*DashboardFilter) ProtoMessage()
func (*DashboardFilter) ProtoReflect
func (x *DashboardFilter) ProtoReflect() protoreflect.Message
func (*DashboardFilter) Reset
func (x *DashboardFilter) Reset()
func (*DashboardFilter) String
func (x *DashboardFilter) String() string
DashboardFilter_FilterType
type DashboardFilter_FilterType int32
The type for the dashboard filter
DashboardFilter_FILTER_TYPE_UNSPECIFIED, DashboardFilter_RESOURCE_LABEL, DashboardFilter_METRIC_LABEL, DashboardFilter_USER_METADATA_LABEL, DashboardFilter_SYSTEM_METADATA_LABEL, DashboardFilter_GROUP
const (
// Filter type is unspecified. This is not valid in a well-formed request.
DashboardFilter_FILTER_TYPE_UNSPECIFIED DashboardFilter_FilterType = 0
// Filter on a resource label value
DashboardFilter_RESOURCE_LABEL DashboardFilter_FilterType = 1
// Filter on a metrics label value
DashboardFilter_METRIC_LABEL DashboardFilter_FilterType = 2
// Filter on a user metadata label value
DashboardFilter_USER_METADATA_LABEL DashboardFilter_FilterType = 3
// Filter on a system metadata label value
DashboardFilter_SYSTEM_METADATA_LABEL DashboardFilter_FilterType = 4
// Filter on a group id
DashboardFilter_GROUP DashboardFilter_FilterType = 5
)
func (DashboardFilter_FilterType) Descriptor
func (DashboardFilter_FilterType) Descriptor() protoreflect.EnumDescriptor
func (DashboardFilter_FilterType) Enum
func (x DashboardFilter_FilterType) Enum() *DashboardFilter_FilterType
func (DashboardFilter_FilterType) EnumDescriptor
func (DashboardFilter_FilterType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DashboardFilter_FilterType.Descriptor instead.
func (DashboardFilter_FilterType) Number
func (x DashboardFilter_FilterType) Number() protoreflect.EnumNumber
func (DashboardFilter_FilterType) String
func (x DashboardFilter_FilterType) String() string
func (DashboardFilter_FilterType) Type
func (DashboardFilter_FilterType) Type() protoreflect.EnumType
DashboardFilter_StringValue
type DashboardFilter_StringValue struct {
// A variable-length string value.
StringValue string `protobuf:"bytes,4,opt,name=string_value,json=stringValue,proto3,oneof"`
}
Dashboard_ColumnLayout
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"`
}
Dashboard_GridLayout
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"`
}
Dashboard_MosaicLayout
type Dashboard_MosaicLayout struct {
// The content is arranged as a grid of tiles, with each content widget
// occupying one or more grid blocks.
MosaicLayout *MosaicLayout `protobuf:"bytes,6,opt,name=mosaic_layout,json=mosaicLayout,proto3,oneof"`
}
Dashboard_RowLayout
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"`
}
DashboardsServiceClient
type DashboardsServiceClient interface {
// Creates a new custom dashboard. For examples on how you can use this API to
// create dashboards, see [Managing dashboards by
// API](https://cloud.google.com/monitoring/dashboards/api-dashboard). This
// method requires the `monitoring.dashboards.create` permission on the
// specified project. For more information about permissions, see [Cloud
// Identity and Access Management](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
// [Cloud Identity and Access Management](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
// [Cloud Identity and Access Management](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
// [Cloud Identity and Access Management](https://cloud.google.com/iam).
DeleteDashboard(ctx context.Context, in *DeleteDashboardRequest, opts ...grpc.CallOption) (*emptypb.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
// [Cloud Identity and Access Management](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
func NewDashboardsServiceClient(cc grpc.ClientConnInterface) DashboardsServiceClient
DashboardsServiceServer
type DashboardsServiceServer interface {
// Creates a new custom dashboard. For examples on how you can use this API to
// create dashboards, see [Managing dashboards by
// API](https://cloud.google.com/monitoring/dashboards/api-dashboard). This
// method requires the `monitoring.dashboards.create` permission on the
// specified project. For more information about permissions, see [Cloud
// Identity and Access Management](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
// [Cloud Identity and Access Management](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
// [Cloud Identity and Access Management](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
// [Cloud Identity and Access Management](https://cloud.google.com/iam).
DeleteDashboard(context.Context, *DeleteDashboardRequest) (*emptypb.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
// [Cloud Identity and Access Management](https://cloud.google.com/iam).
UpdateDashboard(context.Context, *UpdateDashboardRequest) (*Dashboard, error)
}
DashboardsServiceServer is the server API for DashboardsService service.
DeleteDashboardRequest
type DeleteDashboardRequest struct {
// Required. The resource name of the Dashboard. The format is:
//
// projects/[PROJECT_ID_OR_NUMBER]/dashboards/[DASHBOARD_ID]
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The DeleteDashboard
request.
func (*DeleteDashboardRequest) Descriptor
func (*DeleteDashboardRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDashboardRequest.ProtoReflect.Descriptor instead.
func (*DeleteDashboardRequest) GetName
func (x *DeleteDashboardRequest) GetName() string
func (*DeleteDashboardRequest) ProtoMessage
func (*DeleteDashboardRequest) ProtoMessage()
func (*DeleteDashboardRequest) ProtoReflect
func (x *DeleteDashboardRequest) ProtoReflect() protoreflect.Message
func (*DeleteDashboardRequest) Reset
func (x *DeleteDashboardRequest) Reset()
func (*DeleteDashboardRequest) String
func (x *DeleteDashboardRequest) String() string
ErrorReportingPanel
type ErrorReportingPanel struct {
// The resource name of the Google Cloud Platform project. Written
// as `projects/{projectID}` or `projects/{projectNumber}`, where
// `{projectID}` and `{projectNumber}` can be found in the
// [Google Cloud console](https://support.google.com/cloud/answer/6158840).
//
// Examples: `projects/my-project-123`, `projects/5551234`.
ProjectNames []string `protobuf:"bytes,1,rep,name=project_names,json=projectNames,proto3" json:"project_names,omitempty"`
// An identifier of the service, such as the name of the
// executable, job, or Google App Engine service name. This field is expected
// to have a low number of values that are relatively stable over time, as
// opposed to `version`, which can be changed whenever new code is deployed.
//
// Contains the service name for error reports extracted from Google
// App Engine logs or `default` if the App Engine default service is used.
Services []string `protobuf:"bytes,2,rep,name=services,proto3" json:"services,omitempty"`
// Represents the source code version that the developer provided,
// which could represent a version label or a Git SHA-1 hash, for example.
// For App Engine standard environment, the version is set to the version of
// the app.
Versions []string `protobuf:"bytes,3,rep,name=versions,proto3" json:"versions,omitempty"`
// contains filtered or unexported fields
}
A widget that displays a list of error groups.
func (*ErrorReportingPanel) Descriptor
func (*ErrorReportingPanel) Descriptor() ([]byte, []int)
Deprecated: Use ErrorReportingPanel.ProtoReflect.Descriptor instead.
func (*ErrorReportingPanel) GetProjectNames
func (x *ErrorReportingPanel) GetProjectNames() []string
func (*ErrorReportingPanel) GetServices
func (x *ErrorReportingPanel) GetServices() []string
func (*ErrorReportingPanel) GetVersions
func (x *ErrorReportingPanel) GetVersions() []string
func (*ErrorReportingPanel) ProtoMessage
func (*ErrorReportingPanel) ProtoMessage()
func (*ErrorReportingPanel) ProtoReflect
func (x *ErrorReportingPanel) ProtoReflect() protoreflect.Message
func (*ErrorReportingPanel) Reset
func (x *ErrorReportingPanel) Reset()
func (*ErrorReportingPanel) String
func (x *ErrorReportingPanel) String() string
GetDashboardRequest
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
func (*GetDashboardRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDashboardRequest.ProtoReflect.Descriptor instead.
func (*GetDashboardRequest) GetName
func (x *GetDashboardRequest) GetName() string
func (*GetDashboardRequest) ProtoMessage
func (*GetDashboardRequest) ProtoMessage()
func (*GetDashboardRequest) ProtoReflect
func (x *GetDashboardRequest) ProtoReflect() protoreflect.Message
func (*GetDashboardRequest) Reset
func (x *GetDashboardRequest) Reset()
func (*GetDashboardRequest) String
func (x *GetDashboardRequest) String() string
GridLayout
type GridLayout struct {
// The number of columns into which the view's width is divided. If omitted
// or set to zero, a system default will be used while rendering.
Columns int64 `protobuf:"varint,1,opt,name=columns,proto3" json:"columns,omitempty"`
// The informational elements that are arranged into the columns row-first.
Widgets []*Widget `protobuf:"bytes,2,rep,name=widgets,proto3" json:"widgets,omitempty"`
// 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
func (*GridLayout) Descriptor() ([]byte, []int)
Deprecated: Use GridLayout.ProtoReflect.Descriptor instead.
func (*GridLayout) GetColumns
func (x *GridLayout) GetColumns() int64
func (*GridLayout) GetWidgets
func (x *GridLayout) GetWidgets() []*Widget
func (*GridLayout) ProtoMessage
func (*GridLayout) ProtoMessage()
func (*GridLayout) ProtoReflect
func (x *GridLayout) ProtoReflect() protoreflect.Message
func (*GridLayout) Reset
func (x *GridLayout) Reset()
func (*GridLayout) String
func (x *GridLayout) String() string
IncidentList
type IncidentList struct {
// Optional. The monitored resource for which incidents are listed.
// The resource doesn't need to be fully specified. That is, you can specify
// the resource type but not the values of the resource labels.
// The resource type and labels are used for filtering.
MonitoredResources []*monitoredres.MonitoredResource `protobuf:"bytes,1,rep,name=monitored_resources,json=monitoredResources,proto3" json:"monitored_resources,omitempty"`
// Optional. A list of alert policy names to filter the incident list by.
// Don't include the project ID prefix in the policy name. For
// example, use `alertPolicies/utilization`.
PolicyNames []string `protobuf:"bytes,2,rep,name=policy_names,json=policyNames,proto3" json:"policy_names,omitempty"`
// contains filtered or unexported fields
}
A widget that displays a list of incidents
func (*IncidentList) Descriptor
func (*IncidentList) Descriptor() ([]byte, []int)
Deprecated: Use IncidentList.ProtoReflect.Descriptor instead.
func (*IncidentList) GetMonitoredResources
func (x *IncidentList) GetMonitoredResources() []*monitoredres.MonitoredResource
func (*IncidentList) GetPolicyNames
func (x *IncidentList) GetPolicyNames() []string
func (*IncidentList) ProtoMessage
func (*IncidentList) ProtoMessage()
func (*IncidentList) ProtoReflect
func (x *IncidentList) ProtoReflect() protoreflect.Message
func (*IncidentList) Reset
func (x *IncidentList) Reset()
func (*IncidentList) String
func (x *IncidentList) String() string
ListDashboardsRequest
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"`
// Optional. 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
func (*ListDashboardsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDashboardsRequest.ProtoReflect.Descriptor instead.
func (*ListDashboardsRequest) GetPageSize
func (x *ListDashboardsRequest) GetPageSize() int32
func (*ListDashboardsRequest) GetPageToken
func (x *ListDashboardsRequest) GetPageToken() string
func (*ListDashboardsRequest) GetParent
func (x *ListDashboardsRequest) GetParent() string
func (*ListDashboardsRequest) ProtoMessage
func (*ListDashboardsRequest) ProtoMessage()
func (*ListDashboardsRequest) ProtoReflect
func (x *ListDashboardsRequest) ProtoReflect() protoreflect.Message
func (*ListDashboardsRequest) Reset
func (x *ListDashboardsRequest) Reset()
func (*ListDashboardsRequest) String
func (x *ListDashboardsRequest) String() string
ListDashboardsResponse
type ListDashboardsResponse struct {
// The list of requested dashboards.
Dashboards []*Dashboard `protobuf:"bytes,1,rep,name=dashboards,proto3" json:"dashboards,omitempty"`
// If there are more results than have been returned, then this field is set
// to a non-empty value. To see the additional results,
// use that value as `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
func (*ListDashboardsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDashboardsResponse.ProtoReflect.Descriptor instead.
func (*ListDashboardsResponse) GetDashboards
func (x *ListDashboardsResponse) GetDashboards() []*Dashboard
func (*ListDashboardsResponse) GetNextPageToken
func (x *ListDashboardsResponse) GetNextPageToken() string
func (*ListDashboardsResponse) ProtoMessage
func (*ListDashboardsResponse) ProtoMessage()
func (*ListDashboardsResponse) ProtoReflect
func (x *ListDashboardsResponse) ProtoReflect() protoreflect.Message
func (*ListDashboardsResponse) Reset
func (x *ListDashboardsResponse) Reset()
func (*ListDashboardsResponse) String
func (x *ListDashboardsResponse) String() string
LogsPanel
type LogsPanel struct {
// A filter that chooses which log entries to return. See [Advanced Logs
// Queries](https://cloud.google.com/logging/docs/view/advanced-queries).
// Only log entries that match the filter are returned. An empty filter
// matches all log entries.
Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
// The names of logging resources to collect logs for. Currently only projects
// are supported. If empty, the widget will default to the host project.
ResourceNames []string `protobuf:"bytes,2,rep,name=resource_names,json=resourceNames,proto3" json:"resource_names,omitempty"`
// contains filtered or unexported fields
}
A widget that displays a stream of log.
func (*LogsPanel) Descriptor
Deprecated: Use LogsPanel.ProtoReflect.Descriptor instead.
func (*LogsPanel) GetFilter
func (*LogsPanel) GetResourceNames
func (*LogsPanel) ProtoMessage
func (*LogsPanel) ProtoMessage()
func (*LogsPanel) ProtoReflect
func (x *LogsPanel) ProtoReflect() protoreflect.Message
func (*LogsPanel) Reset
func (x *LogsPanel) Reset()
func (*LogsPanel) String
MosaicLayout
type MosaicLayout struct {
// The number of columns in the mosaic grid. The number of columns must be
// between 1 and 12, inclusive.
Columns int32 `protobuf:"varint,1,opt,name=columns,proto3" json:"columns,omitempty"`
// The tiles to display.
Tiles []*MosaicLayout_Tile `protobuf:"bytes,3,rep,name=tiles,proto3" json:"tiles,omitempty"`
// contains filtered or unexported fields
}
A mosaic layout divides the available space into a grid of blocks, and
overlays the grid with tiles. Unlike GridLayout
, tiles may span multiple
grid blocks and can be placed at arbitrary locations in the grid.
func (*MosaicLayout) Descriptor
func (*MosaicLayout) Descriptor() ([]byte, []int)
Deprecated: Use MosaicLayout.ProtoReflect.Descriptor instead.
func (*MosaicLayout) GetColumns
func (x *MosaicLayout) GetColumns() int32
func (*MosaicLayout) GetTiles
func (x *MosaicLayout) GetTiles() []*MosaicLayout_Tile
func (*MosaicLayout) ProtoMessage
func (*MosaicLayout) ProtoMessage()
func (*MosaicLayout) ProtoReflect
func (x *MosaicLayout) ProtoReflect() protoreflect.Message
func (*MosaicLayout) Reset
func (x *MosaicLayout) Reset()
func (*MosaicLayout) String
func (x *MosaicLayout) String() string
MosaicLayout_Tile
type MosaicLayout_Tile struct {
// The zero-indexed position of the tile in grid blocks relative to the
// left edge of the grid. Tiles must be contained within the specified
// number of columns. `x_pos` cannot be negative.
XPos int32 `protobuf:"varint,1,opt,name=x_pos,json=xPos,proto3" json:"x_pos,omitempty"`
// The zero-indexed position of the tile in grid blocks relative to the
// top edge of the grid. `y_pos` cannot be negative.
YPos int32 `protobuf:"varint,2,opt,name=y_pos,json=yPos,proto3" json:"y_pos,omitempty"`
// The width of the tile, measured in grid blocks. Tiles must have a
// minimum width of 1.
Width int32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"`
// The height of the tile, measured in grid blocks. Tiles must have a
// minimum height of 1.
Height int32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
// The informational widget contained in the tile. For example an `XyChart`.
Widget *Widget `protobuf:"bytes,5,opt,name=widget,proto3" json:"widget,omitempty"`
// contains filtered or unexported fields
}
A single tile in the mosaic. The placement and size of the tile are configurable.
func (*MosaicLayout_Tile) Descriptor
func (*MosaicLayout_Tile) Descriptor() ([]byte, []int)
Deprecated: Use MosaicLayout_Tile.ProtoReflect.Descriptor instead.
func (*MosaicLayout_Tile) GetHeight
func (x *MosaicLayout_Tile) GetHeight() int32
func (*MosaicLayout_Tile) GetWidget
func (x *MosaicLayout_Tile) GetWidget() *Widget
func (*MosaicLayout_Tile) GetWidth
func (x *MosaicLayout_Tile) GetWidth() int32
func (*MosaicLayout_Tile) GetXPos
func (x *MosaicLayout_Tile) GetXPos() int32
func (*MosaicLayout_Tile) GetYPos
func (x *MosaicLayout_Tile) GetYPos() int32
func (*MosaicLayout_Tile) ProtoMessage
func (*MosaicLayout_Tile) ProtoMessage()
func (*MosaicLayout_Tile) ProtoReflect
func (x *MosaicLayout_Tile) ProtoReflect() protoreflect.Message
func (*MosaicLayout_Tile) Reset
func (x *MosaicLayout_Tile) Reset()
func (*MosaicLayout_Tile) String
func (x *MosaicLayout_Tile) String() string
PickTimeSeriesFilter
type PickTimeSeriesFilter struct {
RankingMethod PickTimeSeriesFilter_Method "" /* 165 byte string literal not displayed */
NumTimeSeries int32 `protobuf:"varint,2,opt,name=num_time_series,json=numTimeSeries,proto3" json:"num_time_series,omitempty"`
Direction PickTimeSeriesFilter_Direction "" /* 139 byte string literal not displayed */
Interval *interval.Interval `protobuf:"bytes,4,opt,name=interval,proto3" json:"interval,omitempty"`
}
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
func (*PickTimeSeriesFilter) Descriptor() ([]byte, []int)
Deprecated: Use PickTimeSeriesFilter.ProtoReflect.Descriptor instead.
func (*PickTimeSeriesFilter) GetDirection
func (x *PickTimeSeriesFilter) GetDirection() PickTimeSeriesFilter_Direction
func (*PickTimeSeriesFilter) GetInterval
func (x *PickTimeSeriesFilter) GetInterval() *interval.Interval
func (*PickTimeSeriesFilter) GetNumTimeSeries
func (x *PickTimeSeriesFilter) GetNumTimeSeries() int32
func (*PickTimeSeriesFilter) GetRankingMethod
func (x *PickTimeSeriesFilter) GetRankingMethod() PickTimeSeriesFilter_Method
func (*PickTimeSeriesFilter) ProtoMessage
func (*PickTimeSeriesFilter) ProtoMessage()
func (*PickTimeSeriesFilter) ProtoReflect
func (x *PickTimeSeriesFilter) ProtoReflect() protoreflect.Message
func (*PickTimeSeriesFilter) Reset
func (x *PickTimeSeriesFilter) Reset()
func (*PickTimeSeriesFilter) String
func (x *PickTimeSeriesFilter) String() string
PickTimeSeriesFilter_Direction
type PickTimeSeriesFilter_Direction int32
Describes the ranking directions.
PickTimeSeriesFilter_DIRECTION_UNSPECIFIED, PickTimeSeriesFilter_TOP, PickTimeSeriesFilter_BOTTOM
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
func (PickTimeSeriesFilter_Direction) Descriptor() protoreflect.EnumDescriptor
func (PickTimeSeriesFilter_Direction) Enum
func (x PickTimeSeriesFilter_Direction) Enum() *PickTimeSeriesFilter_Direction
func (PickTimeSeriesFilter_Direction) EnumDescriptor
func (PickTimeSeriesFilter_Direction) EnumDescriptor() ([]byte, []int)
Deprecated: Use PickTimeSeriesFilter_Direction.Descriptor instead.
func (PickTimeSeriesFilter_Direction) Number
func (x PickTimeSeriesFilter_Direction) Number() protoreflect.EnumNumber
func (PickTimeSeriesFilter_Direction) String
func (x PickTimeSeriesFilter_Direction) String() string
func (PickTimeSeriesFilter_Direction) Type
func (PickTimeSeriesFilter_Direction) Type() protoreflect.EnumType
PickTimeSeriesFilter_Method
type PickTimeSeriesFilter_Method int32
The value reducers that can be applied to a PickTimeSeriesFilter
.
PickTimeSeriesFilter_METHOD_UNSPECIFIED, PickTimeSeriesFilter_METHOD_MEAN, PickTimeSeriesFilter_METHOD_MAX, PickTimeSeriesFilter_METHOD_MIN, PickTimeSeriesFilter_METHOD_SUM, PickTimeSeriesFilter_METHOD_LATEST
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
func (PickTimeSeriesFilter_Method) Descriptor() protoreflect.EnumDescriptor
func (PickTimeSeriesFilter_Method) Enum
func (x PickTimeSeriesFilter_Method) Enum() *PickTimeSeriesFilter_Method
func (PickTimeSeriesFilter_Method) EnumDescriptor
func (PickTimeSeriesFilter_Method) EnumDescriptor() ([]byte, []int)
Deprecated: Use PickTimeSeriesFilter_Method.Descriptor instead.
func (PickTimeSeriesFilter_Method) Number
func (x PickTimeSeriesFilter_Method) Number() protoreflect.EnumNumber
func (PickTimeSeriesFilter_Method) String
func (x PickTimeSeriesFilter_Method) String() string
func (PickTimeSeriesFilter_Method) Type
func (PickTimeSeriesFilter_Method) Type() protoreflect.EnumType
PieChart
type PieChart struct {
DataSets []*PieChart_PieChartDataSet `protobuf:"bytes,1,rep,name=data_sets,json=dataSets,proto3" json:"data_sets,omitempty"`
ChartType PieChart_PieChartType "" /* 147 byte string literal not displayed */
ShowLabels bool `protobuf:"varint,4,opt,name=show_labels,json=showLabels,proto3" json:"show_labels,omitempty"`
}
A widget that displays timeseries data as a pie or a donut.
func (*PieChart) Descriptor
Deprecated: Use PieChart.ProtoReflect.Descriptor instead.
func (*PieChart) GetChartType
func (x *PieChart) GetChartType() PieChart_PieChartType
func (*PieChart) GetDataSets
func (x *PieChart) GetDataSets() []*PieChart_PieChartDataSet
func (*PieChart) GetShowLabels
func (*PieChart) ProtoMessage
func (*PieChart) ProtoMessage()
func (*PieChart) ProtoReflect
func (x *PieChart) ProtoReflect() protoreflect.Message
func (*PieChart) Reset
func (x *PieChart) Reset()
func (*PieChart) String
PieChart_PieChartDataSet
type PieChart_PieChartDataSet struct {
// Required. The query for the PieChart. See,
// `google.monitoring.dashboard.v1.TimeSeriesQuery`.
TimeSeriesQuery *TimeSeriesQuery `protobuf:"bytes,1,opt,name=time_series_query,json=timeSeriesQuery,proto3" json:"time_series_query,omitempty"`
// Optional. A template for the name of the slice. This name will be
// displayed in the legend and the tooltip of the pie chart. It replaces the
// auto-generated names for the slices. For example, if the template is set
// to
// `${resource.labels.zone}`, the zone's value will be used for the name
// instead of the default name.
SliceNameTemplate string `protobuf:"bytes,2,opt,name=slice_name_template,json=sliceNameTemplate,proto3" json:"slice_name_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 *durationpb.Duration `protobuf:"bytes,3,opt,name=min_alignment_period,json=minAlignmentPeriod,proto3" json:"min_alignment_period,omitempty"`
// contains filtered or unexported fields
}
Groups a time series query definition.
func (*PieChart_PieChartDataSet) Descriptor
func (*PieChart_PieChartDataSet) Descriptor() ([]byte, []int)
Deprecated: Use PieChart_PieChartDataSet.ProtoReflect.Descriptor instead.
func (*PieChart_PieChartDataSet) GetMinAlignmentPeriod
func (x *PieChart_PieChartDataSet) GetMinAlignmentPeriod() *durationpb.Duration
func (*PieChart_PieChartDataSet) GetSliceNameTemplate
func (x *PieChart_PieChartDataSet) GetSliceNameTemplate() string
func (*PieChart_PieChartDataSet) GetTimeSeriesQuery
func (x *PieChart_PieChartDataSet) GetTimeSeriesQuery() *TimeSeriesQuery
func (*PieChart_PieChartDataSet) ProtoMessage
func (*PieChart_PieChartDataSet) ProtoMessage()
func (*PieChart_PieChartDataSet) ProtoReflect
func (x *PieChart_PieChartDataSet) ProtoReflect() protoreflect.Message
func (*PieChart_PieChartDataSet) Reset
func (x *PieChart_PieChartDataSet) Reset()
func (*PieChart_PieChartDataSet) String
func (x *PieChart_PieChartDataSet) String() string
PieChart_PieChartType
type PieChart_PieChartType int32
Types for the pie chart.
PieChart_PIE_CHART_TYPE_UNSPECIFIED, PieChart_PIE, PieChart_DONUT
const (
// The zero value. No type specified. Do not use.
PieChart_PIE_CHART_TYPE_UNSPECIFIED PieChart_PieChartType = 0
// A Pie type PieChart.
PieChart_PIE PieChart_PieChartType = 1
// Similar to PIE, but the DONUT type PieChart has a hole in the middle.
PieChart_DONUT PieChart_PieChartType = 2
)
func (PieChart_PieChartType) Descriptor
func (PieChart_PieChartType) Descriptor() protoreflect.EnumDescriptor
func (PieChart_PieChartType) Enum
func (x PieChart_PieChartType) Enum() *PieChart_PieChartType
func (PieChart_PieChartType) EnumDescriptor
func (PieChart_PieChartType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PieChart_PieChartType.Descriptor instead.
func (PieChart_PieChartType) Number
func (x PieChart_PieChartType) Number() protoreflect.EnumNumber
func (PieChart_PieChartType) String
func (x PieChart_PieChartType) String() string
func (PieChart_PieChartType) Type
func (PieChart_PieChartType) Type() protoreflect.EnumType
RowLayout
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
Deprecated: Use RowLayout.ProtoReflect.Descriptor instead.
func (*RowLayout) GetRows
func (x *RowLayout) GetRows() []*RowLayout_Row
func (*RowLayout) ProtoMessage
func (*RowLayout) ProtoMessage()
func (*RowLayout) ProtoReflect
func (x *RowLayout) ProtoReflect() protoreflect.Message
func (*RowLayout) Reset
func (x *RowLayout) Reset()
func (*RowLayout) String
RowLayout_Row
type RowLayout_Row struct {
// The relative weight of this row. The row weight is used to adjust the
// height of rows on the screen (relative to peers). Greater the weight,
// greater the height of the row on the screen. If omitted, a value
// of 1 is used while rendering.
Weight int64 `protobuf:"varint,1,opt,name=weight,proto3" json:"weight,omitempty"`
// The display widgets arranged horizontally in this row.
Widgets []*Widget `protobuf:"bytes,2,rep,name=widgets,proto3" json:"widgets,omitempty"`
// contains filtered or unexported fields
}
Defines the layout properties and content for a row.
func (*RowLayout_Row) Descriptor
func (*RowLayout_Row) Descriptor() ([]byte, []int)
Deprecated: Use RowLayout_Row.ProtoReflect.Descriptor instead.
func (*RowLayout_Row) GetWeight
func (x *RowLayout_Row) GetWeight() int64
func (*RowLayout_Row) GetWidgets
func (x *RowLayout_Row) GetWidgets() []*Widget
func (*RowLayout_Row) ProtoMessage
func (*RowLayout_Row) ProtoMessage()
func (*RowLayout_Row) ProtoReflect
func (x *RowLayout_Row) ProtoReflect() protoreflect.Message
func (*RowLayout_Row) Reset
func (x *RowLayout_Row) Reset()
func (*RowLayout_Row) String
func (x *RowLayout_Row) String() string
Scorecard
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_
// *Scorecard_BlankView
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
Deprecated: Use Scorecard.ProtoReflect.Descriptor instead.
func (*Scorecard) GetBlankView
func (*Scorecard) GetDataView
func (m *Scorecard) GetDataView() isScorecard_DataView
func (*Scorecard) GetGaugeView
func (x *Scorecard) GetGaugeView() *Scorecard_GaugeView
func (*Scorecard) GetSparkChartView
func (x *Scorecard) GetSparkChartView() *Scorecard_SparkChartView
func (*Scorecard) GetThresholds
func (*Scorecard) GetTimeSeriesQuery
func (x *Scorecard) GetTimeSeriesQuery() *TimeSeriesQuery
func (*Scorecard) ProtoMessage
func (*Scorecard) ProtoMessage()
func (*Scorecard) ProtoReflect
func (x *Scorecard) ProtoReflect() protoreflect.Message
func (*Scorecard) Reset
func (x *Scorecard) Reset()
func (*Scorecard) String
Scorecard_BlankView
type Scorecard_BlankView struct {
// Will cause the `Scorecard` to show only the value, with no indicator to
// its value relative to its thresholds.
BlankView *emptypb.Empty `protobuf:"bytes,7,opt,name=blank_view,json=blankView,proto3,oneof"`
}
Scorecard_GaugeView
type Scorecard_GaugeView struct {
// The lower bound for this gauge chart. The value of the chart should
// always be greater than or equal to this.
LowerBound float64 `protobuf:"fixed64,1,opt,name=lower_bound,json=lowerBound,proto3" json:"lower_bound,omitempty"`
// The upper bound for this gauge chart. The value of the chart should
// always be less than or equal to this.
UpperBound float64 `protobuf:"fixed64,2,opt,name=upper_bound,json=upperBound,proto3" json:"upper_bound,omitempty"`
// 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
func (*Scorecard_GaugeView) Descriptor() ([]byte, []int)
Deprecated: Use Scorecard_GaugeView.ProtoReflect.Descriptor instead.
func (*Scorecard_GaugeView) GetLowerBound
func (x *Scorecard_GaugeView) GetLowerBound() float64
func (*Scorecard_GaugeView) GetUpperBound
func (x *Scorecard_GaugeView) GetUpperBound() float64
func (*Scorecard_GaugeView) ProtoMessage
func (*Scorecard_GaugeView) ProtoMessage()
func (*Scorecard_GaugeView) ProtoReflect
func (x *Scorecard_GaugeView) ProtoReflect() protoreflect.Message
func (*Scorecard_GaugeView) Reset
func (x *Scorecard_GaugeView) Reset()
func (*Scorecard_GaugeView) String
func (x *Scorecard_GaugeView) String() string
Scorecard_GaugeView_
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"`
}
Scorecard_SparkChartView
type Scorecard_SparkChartView struct {
SparkChartType SparkChartType "" /* 157 byte string literal not displayed */
MinAlignmentPeriod *durationpb.Duration `protobuf:"bytes,2,opt,name=min_alignment_period,json=minAlignmentPeriod,proto3" json:"min_alignment_period,omitempty"`
}
A sparkChart is a small chart suitable for inclusion in a table-cell or inline in text. This message contains the configuration for a sparkChart to show up on a Scorecard, showing recent trends of the scorecard's timeseries.
func (*Scorecard_SparkChartView) Descriptor
func (*Scorecard_SparkChartView) Descriptor() ([]byte, []int)
Deprecated: Use Scorecard_SparkChartView.ProtoReflect.Descriptor instead.
func (*Scorecard_SparkChartView) GetMinAlignmentPeriod
func (x *Scorecard_SparkChartView) GetMinAlignmentPeriod() *durationpb.Duration
func (*Scorecard_SparkChartView) GetSparkChartType
func (x *Scorecard_SparkChartView) GetSparkChartType() SparkChartType
func (*Scorecard_SparkChartView) ProtoMessage
func (*Scorecard_SparkChartView) ProtoMessage()
func (*Scorecard_SparkChartView) ProtoReflect
func (x *Scorecard_SparkChartView) ProtoReflect() protoreflect.Message
func (*Scorecard_SparkChartView) Reset
func (x *Scorecard_SparkChartView) Reset()
func (*Scorecard_SparkChartView) String
func (x *Scorecard_SparkChartView) String() string
Scorecard_SparkChartView_
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"`
}
SectionHeader
type SectionHeader struct {
// The subtitle of the section
Subtitle string `protobuf:"bytes,1,opt,name=subtitle,proto3" json:"subtitle,omitempty"`
// Whether to insert a divider below the section in the table of contents
DividerBelow bool `protobuf:"varint,2,opt,name=divider_below,json=dividerBelow,proto3" json:"divider_below,omitempty"`
// contains filtered or unexported fields
}
A widget that defines a new section header. Sections populate a table of contents and allow easier navigation of long-form content.
func (*SectionHeader) Descriptor
func (*SectionHeader) Descriptor() ([]byte, []int)
Deprecated: Use SectionHeader.ProtoReflect.Descriptor instead.
func (*SectionHeader) GetDividerBelow
func (x *SectionHeader) GetDividerBelow() bool
func (*SectionHeader) GetSubtitle
func (x *SectionHeader) GetSubtitle() string
func (*SectionHeader) ProtoMessage
func (*SectionHeader) ProtoMessage()
func (*SectionHeader) ProtoReflect
func (x *SectionHeader) ProtoReflect() protoreflect.Message
func (*SectionHeader) Reset
func (x *SectionHeader) Reset()
func (*SectionHeader) String
func (x *SectionHeader) String() string
SingleViewGroup
type SingleViewGroup struct {
// contains filtered or unexported fields
}
A widget that groups the other widgets by using a dropdown menu. All widgets that are within the area spanned by the grouping widget are considered member widgets.
func (*SingleViewGroup) Descriptor
func (*SingleViewGroup) Descriptor() ([]byte, []int)
Deprecated: Use SingleViewGroup.ProtoReflect.Descriptor instead.
func (*SingleViewGroup) ProtoMessage
func (*SingleViewGroup) ProtoMessage()
func (*SingleViewGroup) ProtoReflect
func (x *SingleViewGroup) ProtoReflect() protoreflect.Message
func (*SingleViewGroup) Reset
func (x *SingleViewGroup) Reset()
func (*SingleViewGroup) String
func (x *SingleViewGroup) String() string
SparkChartType
type SparkChartType int32
Defines the possible types of spark chart supported by the Scorecard
.
SparkChartType_SPARK_CHART_TYPE_UNSPECIFIED, SparkChartType_SPARK_LINE, SparkChartType_SPARK_BAR
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
func (SparkChartType) Descriptor() protoreflect.EnumDescriptor
func (SparkChartType) Enum
func (x SparkChartType) Enum() *SparkChartType
func (SparkChartType) EnumDescriptor
func (SparkChartType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SparkChartType.Descriptor instead.
func (SparkChartType) Number
func (x SparkChartType) Number() protoreflect.EnumNumber
func (SparkChartType) String
func (x SparkChartType) String() string
func (SparkChartType) Type
func (SparkChartType) Type() protoreflect.EnumType
StatisticalTimeSeriesFilter
type StatisticalTimeSeriesFilter struct {
RankingMethod StatisticalTimeSeriesFilter_Method "" /* 172 byte string literal not displayed */
NumTimeSeries int32 `protobuf:"varint,2,opt,name=num_time_series,json=numTimeSeries,proto3" json:"num_time_series,omitempty"`
}
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
func (*StatisticalTimeSeriesFilter) Descriptor() ([]byte, []int)
Deprecated: Use StatisticalTimeSeriesFilter.ProtoReflect.Descriptor instead.
func (*StatisticalTimeSeriesFilter) GetNumTimeSeries
func (x *StatisticalTimeSeriesFilter) GetNumTimeSeries() int32
func (*StatisticalTimeSeriesFilter) GetRankingMethod
func (x *StatisticalTimeSeriesFilter) GetRankingMethod() StatisticalTimeSeriesFilter_Method
func (*StatisticalTimeSeriesFilter) ProtoMessage
func (*StatisticalTimeSeriesFilter) ProtoMessage()
func (*StatisticalTimeSeriesFilter) ProtoReflect
func (x *StatisticalTimeSeriesFilter) ProtoReflect() protoreflect.Message
func (*StatisticalTimeSeriesFilter) Reset
func (x *StatisticalTimeSeriesFilter) Reset()
func (*StatisticalTimeSeriesFilter) String
func (x *StatisticalTimeSeriesFilter) String() string
StatisticalTimeSeriesFilter_Method
type StatisticalTimeSeriesFilter_Method int32
The filter methods that can be applied to a stream.
StatisticalTimeSeriesFilter_METHOD_UNSPECIFIED, StatisticalTimeSeriesFilter_METHOD_CLUSTER_OUTLIER
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
func (StatisticalTimeSeriesFilter_Method) Descriptor() protoreflect.EnumDescriptor
func (StatisticalTimeSeriesFilter_Method) Enum
func (x StatisticalTimeSeriesFilter_Method) Enum() *StatisticalTimeSeriesFilter_Method
func (StatisticalTimeSeriesFilter_Method) EnumDescriptor
func (StatisticalTimeSeriesFilter_Method) EnumDescriptor() ([]byte, []int)
Deprecated: Use StatisticalTimeSeriesFilter_Method.Descriptor instead.
func (StatisticalTimeSeriesFilter_Method) Number
func (x StatisticalTimeSeriesFilter_Method) Number() protoreflect.EnumNumber
func (StatisticalTimeSeriesFilter_Method) String
func (x StatisticalTimeSeriesFilter_Method) String() string
func (StatisticalTimeSeriesFilter_Method) Type
func (StatisticalTimeSeriesFilter_Method) Type() protoreflect.EnumType
TableDisplayOptions
type TableDisplayOptions struct {
// Optional. This field is unused and has been replaced by
// TimeSeriesTable.column_settings
//
// Deprecated: Marked as deprecated in google/monitoring/dashboard/v1/table_display_options.proto.
ShownColumns []string `protobuf:"bytes,1,rep,name=shown_columns,json=shownColumns,proto3" json:"shown_columns,omitempty"`
// contains filtered or unexported fields
}
Table display options that can be reused.
func (*TableDisplayOptions) Descriptor
func (*TableDisplayOptions) Descriptor() ([]byte, []int)
Deprecated: Use TableDisplayOptions.ProtoReflect.Descriptor instead.
func (*TableDisplayOptions) GetShownColumns
func (x *TableDisplayOptions) GetShownColumns() []string
Deprecated: Marked as deprecated in google/monitoring/dashboard/v1/table_display_options.proto.
func (*TableDisplayOptions) ProtoMessage
func (*TableDisplayOptions) ProtoMessage()
func (*TableDisplayOptions) ProtoReflect
func (x *TableDisplayOptions) ProtoReflect() protoreflect.Message
func (*TableDisplayOptions) Reset
func (x *TableDisplayOptions) Reset()
func (*TableDisplayOptions) String
func (x *TableDisplayOptions) String() string
Text
type Text struct {
// The text content to be displayed.
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
// How the text content is formatted.
Format Text_Format `protobuf:"varint,2,opt,name=format,proto3,enum=google.monitoring.dashboard.v1.Text_Format" json:"format,omitempty"`
// How the text is styled
Style *Text_TextStyle `protobuf:"bytes,3,opt,name=style,proto3" json:"style,omitempty"`
// contains filtered or unexported fields
}
A widget that displays textual content.
func (*Text) Descriptor
Deprecated: Use Text.ProtoReflect.Descriptor instead.
func (*Text) GetContent
func (*Text) GetFormat
func (x *Text) GetFormat() Text_Format
func (*Text) GetStyle
func (x *Text) GetStyle() *Text_TextStyle
func (*Text) ProtoMessage
func (*Text) ProtoMessage()
func (*Text) ProtoReflect
func (x *Text) ProtoReflect() protoreflect.Message
func (*Text) Reset
func (x *Text) Reset()
func (*Text) String
Text_Format
type Text_Format int32
The format type of the text content.
Text_FORMAT_UNSPECIFIED, Text_MARKDOWN, Text_RAW
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
func (Text_Format) Descriptor() protoreflect.EnumDescriptor
func (Text_Format) Enum
func (x Text_Format) Enum() *Text_Format
func (Text_Format) EnumDescriptor
func (Text_Format) EnumDescriptor() ([]byte, []int)
Deprecated: Use Text_Format.Descriptor instead.
func (Text_Format) Number
func (x Text_Format) Number() protoreflect.EnumNumber
func (Text_Format) String
func (x Text_Format) String() string
func (Text_Format) Type
func (Text_Format) Type() protoreflect.EnumType
Text_TextStyle
type Text_TextStyle struct {
BackgroundColor string `protobuf:"bytes,1,opt,name=background_color,json=backgroundColor,proto3" json:"background_color,omitempty"`
TextColor string `protobuf:"bytes,2,opt,name=text_color,json=textColor,proto3" json:"text_color,omitempty"`
HorizontalAlignment Text_TextStyle_HorizontalAlignment "" /* 190 byte string literal not displayed */
VerticalAlignment Text_TextStyle_VerticalAlignment "" /* 182 byte string literal not displayed */
Padding Text_TextStyle_PaddingSize "" /* 131 byte string literal not displayed */
FontSize Text_TextStyle_FontSize "" /* 146 byte string literal not displayed */
PointerLocation Text_TextStyle_PointerLocation "" /* 174 byte string literal not displayed */
}
Properties that determine how the title and content are styled
func (*Text_TextStyle) Descriptor
func (*Text_TextStyle) Descriptor() ([]byte, []int)
Deprecated: Use Text_TextStyle.ProtoReflect.Descriptor instead.
func (*Text_TextStyle) GetBackgroundColor
func (x *Text_TextStyle) GetBackgroundColor() string
func (*Text_TextStyle) GetFontSize
func (x *Text_TextStyle) GetFontSize() Text_TextStyle_FontSize
func (*Text_TextStyle) GetHorizontalAlignment
func (x *Text_TextStyle) GetHorizontalAlignment() Text_TextStyle_HorizontalAlignment
func (*Text_TextStyle) GetPadding
func (x *Text_TextStyle) GetPadding() Text_TextStyle_PaddingSize
func (*Text_TextStyle) GetPointerLocation
func (x *Text_TextStyle) GetPointerLocation() Text_TextStyle_PointerLocation
func (*Text_TextStyle) GetTextColor
func (x *Text_TextStyle) GetTextColor() string
func (*Text_TextStyle) GetVerticalAlignment
func (x *Text_TextStyle) GetVerticalAlignment() Text_TextStyle_VerticalAlignment
func (*Text_TextStyle) ProtoMessage
func (*Text_TextStyle) ProtoMessage()
func (*Text_TextStyle) ProtoReflect
func (x *Text_TextStyle) ProtoReflect() protoreflect.Message
func (*Text_TextStyle) Reset
func (x *Text_TextStyle) Reset()
func (*Text_TextStyle) String
func (x *Text_TextStyle) String() string
Text_TextStyle_FontSize
type Text_TextStyle_FontSize int32
Specifies a font size for the title and content of a text widget
Text_TextStyle_FONT_SIZE_UNSPECIFIED, Text_TextStyle_FS_EXTRA_SMALL, Text_TextStyle_FS_SMALL, Text_TextStyle_FS_MEDIUM, Text_TextStyle_FS_LARGE, Text_TextStyle_FS_EXTRA_LARGE
const (
// No font size specified, will default to FS_LARGE
Text_TextStyle_FONT_SIZE_UNSPECIFIED Text_TextStyle_FontSize = 0
// Extra small font size
Text_TextStyle_FS_EXTRA_SMALL Text_TextStyle_FontSize = 1
// Small font size
Text_TextStyle_FS_SMALL Text_TextStyle_FontSize = 2
// Medium font size
Text_TextStyle_FS_MEDIUM Text_TextStyle_FontSize = 3
// Large font size
Text_TextStyle_FS_LARGE Text_TextStyle_FontSize = 4
// Extra large font size
Text_TextStyle_FS_EXTRA_LARGE Text_TextStyle_FontSize = 5
)
func (Text_TextStyle_FontSize) Descriptor
func (Text_TextStyle_FontSize) Descriptor() protoreflect.EnumDescriptor
func (Text_TextStyle_FontSize) Enum
func (x Text_TextStyle_FontSize) Enum() *Text_TextStyle_FontSize
func (Text_TextStyle_FontSize) EnumDescriptor
func (Text_TextStyle_FontSize) EnumDescriptor() ([]byte, []int)
Deprecated: Use Text_TextStyle_FontSize.Descriptor instead.
func (Text_TextStyle_FontSize) Number
func (x Text_TextStyle_FontSize) Number() protoreflect.EnumNumber
func (Text_TextStyle_FontSize) String
func (x Text_TextStyle_FontSize) String() string
func (Text_TextStyle_FontSize) Type
func (Text_TextStyle_FontSize) Type() protoreflect.EnumType
Text_TextStyle_HorizontalAlignment
type Text_TextStyle_HorizontalAlignment int32
The horizontal alignment of both the title and content on a text widget
Text_TextStyle_HORIZONTAL_ALIGNMENT_UNSPECIFIED, Text_TextStyle_H_LEFT, Text_TextStyle_H_CENTER, Text_TextStyle_H_RIGHT
const (
// No horizontal alignment specified, will default to H_LEFT
Text_TextStyle_HORIZONTAL_ALIGNMENT_UNSPECIFIED Text_TextStyle_HorizontalAlignment = 0
// Left-align
Text_TextStyle_H_LEFT Text_TextStyle_HorizontalAlignment = 1
// Center-align
Text_TextStyle_H_CENTER Text_TextStyle_HorizontalAlignment = 2
// Right-align
Text_TextStyle_H_RIGHT Text_TextStyle_HorizontalAlignment = 3
)
func (Text_TextStyle_HorizontalAlignment) Descriptor
func (Text_TextStyle_HorizontalAlignment) Descriptor() protoreflect.EnumDescriptor
func (Text_TextStyle_HorizontalAlignment) Enum
func (x Text_TextStyle_HorizontalAlignment) Enum() *Text_TextStyle_HorizontalAlignment
func (Text_TextStyle_HorizontalAlignment) EnumDescriptor
func (Text_TextStyle_HorizontalAlignment) EnumDescriptor() ([]byte, []int)
Deprecated: Use Text_TextStyle_HorizontalAlignment.Descriptor instead.
func (Text_TextStyle_HorizontalAlignment) Number
func (x Text_TextStyle_HorizontalAlignment) Number() protoreflect.EnumNumber
func (Text_TextStyle_HorizontalAlignment) String
func (x Text_TextStyle_HorizontalAlignment) String() string
func (Text_TextStyle_HorizontalAlignment) Type
func (Text_TextStyle_HorizontalAlignment) Type() protoreflect.EnumType
Text_TextStyle_PaddingSize
type Text_TextStyle_PaddingSize int32
Specifies padding size around a text widget
Text_TextStyle_PADDING_SIZE_UNSPECIFIED, Text_TextStyle_P_EXTRA_SMALL, Text_TextStyle_P_SMALL, Text_TextStyle_P_MEDIUM, Text_TextStyle_P_LARGE, Text_TextStyle_P_EXTRA_LARGE
const (
// No padding size specified, will default to P_EXTRA_SMALL
Text_TextStyle_PADDING_SIZE_UNSPECIFIED Text_TextStyle_PaddingSize = 0
// Extra small padding
Text_TextStyle_P_EXTRA_SMALL Text_TextStyle_PaddingSize = 1
// Small padding
Text_TextStyle_P_SMALL Text_TextStyle_PaddingSize = 2
// Medium padding
Text_TextStyle_P_MEDIUM Text_TextStyle_PaddingSize = 3
// Large padding
Text_TextStyle_P_LARGE Text_TextStyle_PaddingSize = 4
// Extra large padding
Text_TextStyle_P_EXTRA_LARGE Text_TextStyle_PaddingSize = 5
)
func (Text_TextStyle_PaddingSize) Descriptor
func (Text_TextStyle_PaddingSize) Descriptor() protoreflect.EnumDescriptor
func (Text_TextStyle_PaddingSize) Enum
func (x Text_TextStyle_PaddingSize) Enum() *Text_TextStyle_PaddingSize
func (Text_TextStyle_PaddingSize) EnumDescriptor
func (Text_TextStyle_PaddingSize) EnumDescriptor() ([]byte, []int)
Deprecated: Use Text_TextStyle_PaddingSize.Descriptor instead.
func (Text_TextStyle_PaddingSize) Number
func (x Text_TextStyle_PaddingSize) Number() protoreflect.EnumNumber
func (Text_TextStyle_PaddingSize) String
func (x Text_TextStyle_PaddingSize) String() string
func (Text_TextStyle_PaddingSize) Type
func (Text_TextStyle_PaddingSize) Type() protoreflect.EnumType
Text_TextStyle_PointerLocation
type Text_TextStyle_PointerLocation int32
Specifies where a visual pointer is placed on a text widget (also sometimes called a "tail")
Text_TextStyle_POINTER_LOCATION_UNSPECIFIED, Text_TextStyle_PL_TOP, Text_TextStyle_PL_RIGHT, Text_TextStyle_PL_BOTTOM, Text_TextStyle_PL_LEFT, Text_TextStyle_PL_TOP_LEFT, Text_TextStyle_PL_TOP_RIGHT, Text_TextStyle_PL_RIGHT_TOP, Text_TextStyle_PL_RIGHT_BOTTOM, Text_TextStyle_PL_BOTTOM_RIGHT, Text_TextStyle_PL_BOTTOM_LEFT, Text_TextStyle_PL_LEFT_BOTTOM, Text_TextStyle_PL_LEFT_TOP
const (
// No visual pointer
Text_TextStyle_POINTER_LOCATION_UNSPECIFIED Text_TextStyle_PointerLocation = 0
// Placed in the middle of the top of the widget
Text_TextStyle_PL_TOP Text_TextStyle_PointerLocation = 1
// Placed in the middle of the right side of the widget
Text_TextStyle_PL_RIGHT Text_TextStyle_PointerLocation = 2
// Placed in the middle of the bottom of the widget
Text_TextStyle_PL_BOTTOM Text_TextStyle_PointerLocation = 3
// Placed in the middle of the left side of the widget
Text_TextStyle_PL_LEFT Text_TextStyle_PointerLocation = 4
// Placed on the left side of the top of the widget
Text_TextStyle_PL_TOP_LEFT Text_TextStyle_PointerLocation = 5
// Placed on the right side of the top of the widget
Text_TextStyle_PL_TOP_RIGHT Text_TextStyle_PointerLocation = 6
// Placed on the top of the right side of the widget
Text_TextStyle_PL_RIGHT_TOP Text_TextStyle_PointerLocation = 7
// Placed on the bottom of the right side of the widget
Text_TextStyle_PL_RIGHT_BOTTOM Text_TextStyle_PointerLocation = 8
// Placed on the right side of the bottom of the widget
Text_TextStyle_PL_BOTTOM_RIGHT Text_TextStyle_PointerLocation = 9
// Placed on the left side of the bottom of the widget
Text_TextStyle_PL_BOTTOM_LEFT Text_TextStyle_PointerLocation = 10
// Placed on the bottom of the left side of the widget
Text_TextStyle_PL_LEFT_BOTTOM Text_TextStyle_PointerLocation = 11
// Placed on the top of the left side of the widget
Text_TextStyle_PL_LEFT_TOP Text_TextStyle_PointerLocation = 12
)
func (Text_TextStyle_PointerLocation) Descriptor
func (Text_TextStyle_PointerLocation) Descriptor() protoreflect.EnumDescriptor
func (Text_TextStyle_PointerLocation) Enum
func (x Text_TextStyle_PointerLocation) Enum() *Text_TextStyle_PointerLocation
func (Text_TextStyle_PointerLocation) EnumDescriptor
func (Text_TextStyle_PointerLocation) EnumDescriptor() ([]byte, []int)
Deprecated: Use Text_TextStyle_PointerLocation.Descriptor instead.
func (Text_TextStyle_PointerLocation) Number
func (x Text_TextStyle_PointerLocation) Number() protoreflect.EnumNumber
func (Text_TextStyle_PointerLocation) String
func (x Text_TextStyle_PointerLocation) String() string
func (Text_TextStyle_PointerLocation) Type
func (Text_TextStyle_PointerLocation) Type() protoreflect.EnumType
Text_TextStyle_VerticalAlignment
type Text_TextStyle_VerticalAlignment int32
The vertical alignment of both the title and content on a text widget
Text_TextStyle_VERTICAL_ALIGNMENT_UNSPECIFIED, Text_TextStyle_V_TOP, Text_TextStyle_V_CENTER, Text_TextStyle_V_BOTTOM
const (
// No vertical alignment specified, will default to V_TOP
Text_TextStyle_VERTICAL_ALIGNMENT_UNSPECIFIED Text_TextStyle_VerticalAlignment = 0
// Top-align
Text_TextStyle_V_TOP Text_TextStyle_VerticalAlignment = 1
// Center-align
Text_TextStyle_V_CENTER Text_TextStyle_VerticalAlignment = 2
// Bottom-align
Text_TextStyle_V_BOTTOM Text_TextStyle_VerticalAlignment = 3
)
func (Text_TextStyle_VerticalAlignment) Descriptor
func (Text_TextStyle_VerticalAlignment) Descriptor() protoreflect.EnumDescriptor
func (Text_TextStyle_VerticalAlignment) Enum
func (x Text_TextStyle_VerticalAlignment) Enum() *Text_TextStyle_VerticalAlignment
func (Text_TextStyle_VerticalAlignment) EnumDescriptor
func (Text_TextStyle_VerticalAlignment) EnumDescriptor() ([]byte, []int)
Deprecated: Use Text_TextStyle_VerticalAlignment.Descriptor instead.
func (Text_TextStyle_VerticalAlignment) Number
func (x Text_TextStyle_VerticalAlignment) Number() protoreflect.EnumNumber
func (Text_TextStyle_VerticalAlignment) String
func (x Text_TextStyle_VerticalAlignment) String() string
func (Text_TextStyle_VerticalAlignment) Type
func (Text_TextStyle_VerticalAlignment) Type() protoreflect.EnumType
Threshold
type Threshold struct {
Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"`
Color Threshold_Color `protobuf:"varint,3,opt,name=color,proto3,enum=google.monitoring.dashboard.v1.Threshold_Color" json:"color,omitempty"`
Direction Threshold_Direction "" /* 128 byte string literal not displayed */
TargetAxis Threshold_TargetAxis "" /* 149 byte string literal not displayed */
}
Defines a threshold for categorizing time series values.
func (*Threshold) Descriptor
Deprecated: Use Threshold.ProtoReflect.Descriptor instead.
func (*Threshold) GetColor
func (x *Threshold) GetColor() Threshold_Color
func (*Threshold) GetDirection
func (x *Threshold) GetDirection() Threshold_Direction
func (*Threshold) GetLabel
func (*Threshold) GetTargetAxis
func (x *Threshold) GetTargetAxis() Threshold_TargetAxis
func (*Threshold) GetValue
func (*Threshold) ProtoMessage
func (*Threshold) ProtoMessage()
func (*Threshold) ProtoReflect
func (x *Threshold) ProtoReflect() protoreflect.Message
func (*Threshold) Reset
func (x *Threshold) Reset()
func (*Threshold) String
Threshold_Color
type Threshold_Color int32
The color suggests an interpretation to the viewer when actual values cross the threshold. Comments on each color provide UX guidance on how users can be expected to interpret a given state color.
Threshold_COLOR_UNSPECIFIED, Threshold_YELLOW, Threshold_RED
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
func (Threshold_Color) Descriptor() protoreflect.EnumDescriptor
func (Threshold_Color) Enum
func (x Threshold_Color) Enum() *Threshold_Color
func (Threshold_Color) EnumDescriptor
func (Threshold_Color) EnumDescriptor() ([]byte, []int)
Deprecated: Use Threshold_Color.Descriptor instead.
func (Threshold_Color) Number
func (x Threshold_Color) Number() protoreflect.EnumNumber
func (Threshold_Color) String
func (x Threshold_Color) String() string
func (Threshold_Color) Type
func (Threshold_Color) Type() protoreflect.EnumType
Threshold_Direction
type Threshold_Direction int32
Whether the threshold is considered crossed by an actual value above or below its threshold value.
Threshold_DIRECTION_UNSPECIFIED, Threshold_ABOVE, Threshold_BELOW
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
func (Threshold_Direction) Descriptor() protoreflect.EnumDescriptor
func (Threshold_Direction) Enum
func (x Threshold_Direction) Enum() *Threshold_Direction
func (Threshold_Direction) EnumDescriptor
func (Threshold_Direction) EnumDescriptor() ([]byte, []int)
Deprecated: Use Threshold_Direction.Descriptor instead.
func (Threshold_Direction) Number
func (x Threshold_Direction) Number() protoreflect.EnumNumber
func (Threshold_Direction) String
func (x Threshold_Direction) String() string
func (Threshold_Direction) Type
func (Threshold_Direction) Type() protoreflect.EnumType
Threshold_TargetAxis
type Threshold_TargetAxis int32
An axis identifier.
Threshold_TARGET_AXIS_UNSPECIFIED, Threshold_Y1, Threshold_Y2
const (
// The target axis was not specified. Defaults to Y1.
Threshold_TARGET_AXIS_UNSPECIFIED Threshold_TargetAxis = 0
// The y_axis (the right axis of chart).
Threshold_Y1 Threshold_TargetAxis = 1
// The y2_axis (the left axis of chart).
Threshold_Y2 Threshold_TargetAxis = 2
)
func (Threshold_TargetAxis) Descriptor
func (Threshold_TargetAxis) Descriptor() protoreflect.EnumDescriptor
func (Threshold_TargetAxis) Enum
func (x Threshold_TargetAxis) Enum() *Threshold_TargetAxis
func (Threshold_TargetAxis) EnumDescriptor
func (Threshold_TargetAxis) EnumDescriptor() ([]byte, []int)
Deprecated: Use Threshold_TargetAxis.Descriptor instead.
func (Threshold_TargetAxis) Number
func (x Threshold_TargetAxis) Number() protoreflect.EnumNumber
func (Threshold_TargetAxis) String
func (x Threshold_TargetAxis) String() string
func (Threshold_TargetAxis) Type
func (Threshold_TargetAxis) Type() protoreflect.EnumType
TimeSeriesFilter
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
method.
func (*TimeSeriesFilter) Descriptor
func (*TimeSeriesFilter) Descriptor() ([]byte, []int)
Deprecated: Use TimeSeriesFilter.ProtoReflect.Descriptor instead.
func (*TimeSeriesFilter) GetAggregation
func (x *TimeSeriesFilter) GetAggregation() *Aggregation
func (*TimeSeriesFilter) GetFilter
func (x *TimeSeriesFilter) GetFilter() string
func (*TimeSeriesFilter) GetOutputFilter
func (m *TimeSeriesFilter) GetOutputFilter() isTimeSeriesFilter_OutputFilter
func (*TimeSeriesFilter) GetPickTimeSeriesFilter
func (x *TimeSeriesFilter) GetPickTimeSeriesFilter() *PickTimeSeriesFilter
func (*TimeSeriesFilter) GetSecondaryAggregation
func (x *TimeSeriesFilter) GetSecondaryAggregation() *Aggregation
func (*TimeSeriesFilter) GetStatisticalTimeSeriesFilter
func (x *TimeSeriesFilter) GetStatisticalTimeSeriesFilter() *StatisticalTimeSeriesFilter
Deprecated: Marked as deprecated in google/monitoring/dashboard/v1/metrics.proto.
func (*TimeSeriesFilter) ProtoMessage
func (*TimeSeriesFilter) ProtoMessage()
func (*TimeSeriesFilter) ProtoReflect
func (x *TimeSeriesFilter) ProtoReflect() protoreflect.Message
func (*TimeSeriesFilter) Reset
func (x *TimeSeriesFilter) Reset()
func (*TimeSeriesFilter) String
func (x *TimeSeriesFilter) String() string
TimeSeriesFilterRatio
type TimeSeriesFilterRatio struct {
// The numerator of the ratio.
Numerator *TimeSeriesFilterRatio_RatioPart `protobuf:"bytes,1,opt,name=numerator,proto3" json:"numerator,omitempty"`
// The denominator of the ratio.
Denominator *TimeSeriesFilterRatio_RatioPart `protobuf:"bytes,2,opt,name=denominator,proto3" json:"denominator,omitempty"`
// Apply a second aggregation after the ratio is computed.
SecondaryAggregation *Aggregation `protobuf:"bytes,3,opt,name=secondary_aggregation,json=secondaryAggregation,proto3" json:"secondary_aggregation,omitempty"`
// Selects an optional filter that is applied to the time series after
// computing the ratio.
//
// Types that are 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
func (*TimeSeriesFilterRatio) Descriptor() ([]byte, []int)
Deprecated: Use TimeSeriesFilterRatio.ProtoReflect.Descriptor instead.
func (*TimeSeriesFilterRatio) GetDenominator
func (x *TimeSeriesFilterRatio) GetDenominator() *TimeSeriesFilterRatio_RatioPart
func (*TimeSeriesFilterRatio) GetNumerator
func (x *TimeSeriesFilterRatio) GetNumerator() *TimeSeriesFilterRatio_RatioPart
func (*TimeSeriesFilterRatio) GetOutputFilter
func (m *TimeSeriesFilterRatio) GetOutputFilter() isTimeSeriesFilterRatio_OutputFilter
func (*TimeSeriesFilterRatio) GetPickTimeSeriesFilter
func (x *TimeSeriesFilterRatio) GetPickTimeSeriesFilter() *PickTimeSeriesFilter
func (*TimeSeriesFilterRatio) GetSecondaryAggregation
func (x *TimeSeriesFilterRatio) GetSecondaryAggregation() *Aggregation
func (*TimeSeriesFilterRatio) GetStatisticalTimeSeriesFilter
func (x *TimeSeriesFilterRatio) GetStatisticalTimeSeriesFilter() *StatisticalTimeSeriesFilter
Deprecated: Marked as deprecated in google/monitoring/dashboard/v1/metrics.proto.
func (*TimeSeriesFilterRatio) ProtoMessage
func (*TimeSeriesFilterRatio) ProtoMessage()
func (*TimeSeriesFilterRatio) ProtoReflect
func (x *TimeSeriesFilterRatio) ProtoReflect() protoreflect.Message
func (*TimeSeriesFilterRatio) Reset
func (x *TimeSeriesFilterRatio) Reset()
func (*TimeSeriesFilterRatio) String
func (x *TimeSeriesFilterRatio) String() string
TimeSeriesFilterRatio_PickTimeSeriesFilter
type TimeSeriesFilterRatio_PickTimeSeriesFilter struct {
// Ranking based time series filter.
PickTimeSeriesFilter *PickTimeSeriesFilter `protobuf:"bytes,4,opt,name=pick_time_series_filter,json=pickTimeSeriesFilter,proto3,oneof"`
}
TimeSeriesFilterRatio_RatioPart
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
func (*TimeSeriesFilterRatio_RatioPart) Descriptor() ([]byte, []int)
Deprecated: Use TimeSeriesFilterRatio_RatioPart.ProtoReflect.Descriptor instead.
func (*TimeSeriesFilterRatio_RatioPart) GetAggregation
func (x *TimeSeriesFilterRatio_RatioPart) GetAggregation() *Aggregation
func (*TimeSeriesFilterRatio_RatioPart) GetFilter
func (x *TimeSeriesFilterRatio_RatioPart) GetFilter() string
func (*TimeSeriesFilterRatio_RatioPart) ProtoMessage
func (*TimeSeriesFilterRatio_RatioPart) ProtoMessage()
func (*TimeSeriesFilterRatio_RatioPart) ProtoReflect
func (x *TimeSeriesFilterRatio_RatioPart) ProtoReflect() protoreflect.Message
func (*TimeSeriesFilterRatio_RatioPart) Reset
func (x *TimeSeriesFilterRatio_RatioPart) Reset()
func (*TimeSeriesFilterRatio_RatioPart) String
func (x *TimeSeriesFilterRatio_RatioPart) String() string
TimeSeriesFilterRatio_StatisticalTimeSeriesFilter
type TimeSeriesFilterRatio_StatisticalTimeSeriesFilter struct {
// Statistics based time series filter.
// Note: This field is deprecated and completely ignored by the API.
//
// Deprecated: Marked as deprecated in google/monitoring/dashboard/v1/metrics.proto.
StatisticalTimeSeriesFilter *StatisticalTimeSeriesFilter `protobuf:"bytes,5,opt,name=statistical_time_series_filter,json=statisticalTimeSeriesFilter,proto3,oneof"`
}
TimeSeriesFilter_PickTimeSeriesFilter
type TimeSeriesFilter_PickTimeSeriesFilter struct {
// Ranking based time series filter.
PickTimeSeriesFilter *PickTimeSeriesFilter `protobuf:"bytes,4,opt,name=pick_time_series_filter,json=pickTimeSeriesFilter,proto3,oneof"`
}
TimeSeriesFilter_StatisticalTimeSeriesFilter
type TimeSeriesFilter_StatisticalTimeSeriesFilter struct {
// Statistics based time series filter.
// Note: This field is deprecated and completely ignored by the API.
//
// Deprecated: Marked as deprecated in google/monitoring/dashboard/v1/metrics.proto.
StatisticalTimeSeriesFilter *StatisticalTimeSeriesFilter `protobuf:"bytes,5,opt,name=statistical_time_series_filter,json=statisticalTimeSeriesFilter,proto3,oneof"`
}
TimeSeriesQuery
type TimeSeriesQuery struct {
// Parameters needed to obtain data for the chart.
//
// Types that are assignable to Source:
//
// *TimeSeriesQuery_TimeSeriesFilter
// *TimeSeriesQuery_TimeSeriesFilterRatio
// *TimeSeriesQuery_TimeSeriesQueryLanguage
// *TimeSeriesQuery_PrometheusQuery
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"`
// Optional. If set, Cloud Monitoring will treat the full query duration as
// the alignment period so that there will be only 1 output value.
//
// *Note: This could override the configured alignment period except for
// the cases where a series of data points are expected, like
// - XyChart
// - Scorecard's spark chart
OutputFullDuration bool `protobuf:"varint,7,opt,name=output_full_duration,json=outputFullDuration,proto3" json:"output_full_duration,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
func (*TimeSeriesQuery) Descriptor() ([]byte, []int)
Deprecated: Use TimeSeriesQuery.ProtoReflect.Descriptor instead.
func (*TimeSeriesQuery) GetOutputFullDuration
func (x *TimeSeriesQuery) GetOutputFullDuration() bool
func (*TimeSeriesQuery) GetPrometheusQuery
func (x *TimeSeriesQuery) GetPrometheusQuery() string
func (*TimeSeriesQuery) GetSource
func (m *TimeSeriesQuery) GetSource() isTimeSeriesQuery_Source
func (*TimeSeriesQuery) GetTimeSeriesFilter
func (x *TimeSeriesQuery) GetTimeSeriesFilter() *TimeSeriesFilter
func (*TimeSeriesQuery) GetTimeSeriesFilterRatio
func (x *TimeSeriesQuery) GetTimeSeriesFilterRatio() *TimeSeriesFilterRatio
func (*TimeSeriesQuery) GetTimeSeriesQueryLanguage
func (x *TimeSeriesQuery) GetTimeSeriesQueryLanguage() string
func (*TimeSeriesQuery) GetUnitOverride
func (x *TimeSeriesQuery) GetUnitOverride() string
func (*TimeSeriesQuery) ProtoMessage
func (*TimeSeriesQuery) ProtoMessage()
func (*TimeSeriesQuery) ProtoReflect
func (x *TimeSeriesQuery) ProtoReflect() protoreflect.Message
func (*TimeSeriesQuery) Reset
func (x *TimeSeriesQuery) Reset()
func (*TimeSeriesQuery) String
func (x *TimeSeriesQuery) String() string
TimeSeriesQuery_PrometheusQuery
type TimeSeriesQuery_PrometheusQuery struct {
// A query used to fetch time series with PromQL.
PrometheusQuery string `protobuf:"bytes,6,opt,name=prometheus_query,json=prometheusQuery,proto3,oneof"`
}
TimeSeriesQuery_TimeSeriesFilter
type TimeSeriesQuery_TimeSeriesFilter struct {
// Filter parameters to fetch time series.
TimeSeriesFilter *TimeSeriesFilter `protobuf:"bytes,1,opt,name=time_series_filter,json=timeSeriesFilter,proto3,oneof"`
}
TimeSeriesQuery_TimeSeriesFilterRatio
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"`
}
TimeSeriesQuery_TimeSeriesQueryLanguage
type TimeSeriesQuery_TimeSeriesQueryLanguage struct {
// A query used to fetch time series with MQL.
TimeSeriesQueryLanguage string `protobuf:"bytes,3,opt,name=time_series_query_language,json=timeSeriesQueryLanguage,proto3,oneof"`
}
TimeSeriesTable
type TimeSeriesTable struct {
DataSets []*TimeSeriesTable_TableDataSet `protobuf:"bytes,1,rep,name=data_sets,json=dataSets,proto3" json:"data_sets,omitempty"`
MetricVisualization TimeSeriesTable_MetricVisualization "" /* 191 byte string literal not displayed */
ColumnSettings []*TimeSeriesTable_ColumnSettings `protobuf:"bytes,4,rep,name=column_settings,json=columnSettings,proto3" json:"column_settings,omitempty"`
}
A table that displays time series data.
func (*TimeSeriesTable) Descriptor
func (*TimeSeriesTable) Descriptor() ([]byte, []int)
Deprecated: Use TimeSeriesTable.ProtoReflect.Descriptor instead.
func (*TimeSeriesTable) GetColumnSettings
func (x *TimeSeriesTable) GetColumnSettings() []*TimeSeriesTable_ColumnSettings
func (*TimeSeriesTable) GetDataSets
func (x *TimeSeriesTable) GetDataSets() []*TimeSeriesTable_TableDataSet
func (*TimeSeriesTable) GetMetricVisualization
func (x *TimeSeriesTable) GetMetricVisualization() TimeSeriesTable_MetricVisualization
func (*TimeSeriesTable) ProtoMessage
func (*TimeSeriesTable) ProtoMessage()
func (*TimeSeriesTable) ProtoReflect
func (x *TimeSeriesTable) ProtoReflect() protoreflect.Message
func (*TimeSeriesTable) Reset
func (x *TimeSeriesTable) Reset()
func (*TimeSeriesTable) String
func (x *TimeSeriesTable) String() string
TimeSeriesTable_ColumnSettings
type TimeSeriesTable_ColumnSettings struct {
// Required. The id of the column.
Column string `protobuf:"bytes,1,opt,name=column,proto3" json:"column,omitempty"`
// Required. Whether the column should be visible on page load.
Visible bool `protobuf:"varint,2,opt,name=visible,proto3" json:"visible,omitempty"`
// contains filtered or unexported fields
}
The persistent settings for a table's columns.
func (*TimeSeriesTable_ColumnSettings) Descriptor
func (*TimeSeriesTable_ColumnSettings) Descriptor() ([]byte, []int)
Deprecated: Use TimeSeriesTable_ColumnSettings.ProtoReflect.Descriptor instead.
func (*TimeSeriesTable_ColumnSettings) GetColumn
func (x *TimeSeriesTable_ColumnSettings) GetColumn() string
func (*TimeSeriesTable_ColumnSettings) GetVisible
func (x *TimeSeriesTable_ColumnSettings) GetVisible() bool
func (*TimeSeriesTable_ColumnSettings) ProtoMessage
func (*TimeSeriesTable_ColumnSettings) ProtoMessage()
func (*TimeSeriesTable_ColumnSettings) ProtoReflect
func (x *TimeSeriesTable_ColumnSettings) ProtoReflect() protoreflect.Message
func (*TimeSeriesTable_ColumnSettings) Reset
func (x *TimeSeriesTable_ColumnSettings) Reset()
func (*TimeSeriesTable_ColumnSettings) String
func (x *TimeSeriesTable_ColumnSettings) String() string
TimeSeriesTable_MetricVisualization
type TimeSeriesTable_MetricVisualization int32
Enum for metric metric_visualization
TimeSeriesTable_METRIC_VISUALIZATION_UNSPECIFIED, TimeSeriesTable_NUMBER, TimeSeriesTable_BAR
const (
// Unspecified state
TimeSeriesTable_METRIC_VISUALIZATION_UNSPECIFIED TimeSeriesTable_MetricVisualization = 0
// Default text rendering
TimeSeriesTable_NUMBER TimeSeriesTable_MetricVisualization = 1
// Horizontal bar rendering
TimeSeriesTable_BAR TimeSeriesTable_MetricVisualization = 2
)
func (TimeSeriesTable_MetricVisualization) Descriptor
func (TimeSeriesTable_MetricVisualization) Descriptor() protoreflect.EnumDescriptor
func (TimeSeriesTable_MetricVisualization) Enum
func (x TimeSeriesTable_MetricVisualization) Enum() *TimeSeriesTable_MetricVisualization
func (TimeSeriesTable_MetricVisualization) EnumDescriptor
func (TimeSeriesTable_MetricVisualization) EnumDescriptor() ([]byte, []int)
Deprecated: Use TimeSeriesTable_MetricVisualization.Descriptor instead.
func (TimeSeriesTable_MetricVisualization) Number
func (x TimeSeriesTable_MetricVisualization) Number() protoreflect.EnumNumber
func (TimeSeriesTable_MetricVisualization) String
func (x TimeSeriesTable_MetricVisualization) String() string
func (TimeSeriesTable_MetricVisualization) Type
func (TimeSeriesTable_MetricVisualization) Type() protoreflect.EnumType
TimeSeriesTable_TableDataSet
type TimeSeriesTable_TableDataSet 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"`
// Optional. 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 i.e.
// "${resource.labels.project_id}."
TableTemplate string `protobuf:"bytes,2,opt,name=table_template,json=tableTemplate,proto3" json:"table_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 *durationpb.Duration `protobuf:"bytes,3,opt,name=min_alignment_period,json=minAlignmentPeriod,proto3" json:"min_alignment_period,omitempty"`
// Optional. Table display options for configuring how the table is
// rendered.
TableDisplayOptions *TableDisplayOptions `protobuf:"bytes,4,opt,name=table_display_options,json=tableDisplayOptions,proto3" json:"table_display_options,omitempty"`
// contains filtered or unexported fields
}
Groups a time series query definition with table options.
func (*TimeSeriesTable_TableDataSet) Descriptor
func (*TimeSeriesTable_TableDataSet) Descriptor() ([]byte, []int)
Deprecated: Use TimeSeriesTable_TableDataSet.ProtoReflect.Descriptor instead.
func (*TimeSeriesTable_TableDataSet) GetMinAlignmentPeriod
func (x *TimeSeriesTable_TableDataSet) GetMinAlignmentPeriod() *durationpb.Duration
func (*TimeSeriesTable_TableDataSet) GetTableDisplayOptions
func (x *TimeSeriesTable_TableDataSet) GetTableDisplayOptions() *TableDisplayOptions
func (*TimeSeriesTable_TableDataSet) GetTableTemplate
func (x *TimeSeriesTable_TableDataSet) GetTableTemplate() string
func (*TimeSeriesTable_TableDataSet) GetTimeSeriesQuery
func (x *TimeSeriesTable_TableDataSet) GetTimeSeriesQuery() *TimeSeriesQuery
func (*TimeSeriesTable_TableDataSet) ProtoMessage
func (*TimeSeriesTable_TableDataSet) ProtoMessage()
func (*TimeSeriesTable_TableDataSet) ProtoReflect
func (x *TimeSeriesTable_TableDataSet) ProtoReflect() protoreflect.Message
func (*TimeSeriesTable_TableDataSet) Reset
func (x *TimeSeriesTable_TableDataSet) Reset()
func (*TimeSeriesTable_TableDataSet) String
func (x *TimeSeriesTable_TableDataSet) String() string
UnimplementedDashboardsServiceServer
type UnimplementedDashboardsServiceServer struct {
}
UnimplementedDashboardsServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedDashboardsServiceServer) CreateDashboard
func (*UnimplementedDashboardsServiceServer) CreateDashboard(context.Context, *CreateDashboardRequest) (*Dashboard, error)
func (*UnimplementedDashboardsServiceServer) DeleteDashboard
func (*UnimplementedDashboardsServiceServer) DeleteDashboard(context.Context, *DeleteDashboardRequest) (*emptypb.Empty, error)
func (*UnimplementedDashboardsServiceServer) GetDashboard
func (*UnimplementedDashboardsServiceServer) GetDashboard(context.Context, *GetDashboardRequest) (*Dashboard, error)
func (*UnimplementedDashboardsServiceServer) ListDashboards
func (*UnimplementedDashboardsServiceServer) ListDashboards(context.Context, *ListDashboardsRequest) (*ListDashboardsResponse, error)
func (*UnimplementedDashboardsServiceServer) UpdateDashboard
func (*UnimplementedDashboardsServiceServer) UpdateDashboard(context.Context, *UpdateDashboardRequest) (*Dashboard, error)
UpdateDashboardRequest
type UpdateDashboardRequest struct {
// Required. The dashboard that will replace the existing dashboard.
Dashboard *Dashboard `protobuf:"bytes,1,opt,name=dashboard,proto3" json:"dashboard,omitempty"`
// If set, validate the request and preview the review, but do not actually
// save it.
ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}
The UpdateDashboard
request.
func (*UpdateDashboardRequest) Descriptor
func (*UpdateDashboardRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDashboardRequest.ProtoReflect.Descriptor instead.
func (*UpdateDashboardRequest) GetDashboard
func (x *UpdateDashboardRequest) GetDashboard() *Dashboard
func (*UpdateDashboardRequest) GetValidateOnly
func (x *UpdateDashboardRequest) GetValidateOnly() bool
func (*UpdateDashboardRequest) ProtoMessage
func (*UpdateDashboardRequest) ProtoMessage()
func (*UpdateDashboardRequest) ProtoReflect
func (x *UpdateDashboardRequest) ProtoReflect() protoreflect.Message
func (*UpdateDashboardRequest) Reset
func (x *UpdateDashboardRequest) Reset()
func (*UpdateDashboardRequest) String
func (x *UpdateDashboardRequest) String() string
Widget
type Widget struct {
// Optional. The title of the widget.
Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
// Content defines the component used to populate the widget.
//
// Types that are assignable to Content:
//
// *Widget_XyChart
// *Widget_Scorecard
// *Widget_Text
// *Widget_Blank
// *Widget_AlertChart
// *Widget_TimeSeriesTable
// *Widget_CollapsibleGroup
// *Widget_LogsPanel
// *Widget_IncidentList
// *Widget_PieChart
// *Widget_ErrorReportingPanel
// *Widget_SectionHeader
// *Widget_SingleViewGroup
Content isWidget_Content `protobuf_oneof:"content"`
// Optional. The widget id. Ids may be made up of alphanumerics, dashes and
// underscores. Widget ids are optional.
Id string `protobuf:"bytes,17,opt,name=id,proto3" json:"id,omitempty"`
// 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
Deprecated: Use Widget.ProtoReflect.Descriptor instead.
func (*Widget) GetAlertChart
func (x *Widget) GetAlertChart() *AlertChart
func (*Widget) GetBlank
func (*Widget) GetCollapsibleGroup
func (x *Widget) GetCollapsibleGroup() *CollapsibleGroup
func (*Widget) GetContent
func (m *Widget) GetContent() isWidget_Content
func (*Widget) GetErrorReportingPanel
func (x *Widget) GetErrorReportingPanel() *ErrorReportingPanel
func (*Widget) GetId
func (*Widget) GetIncidentList
func (x *Widget) GetIncidentList() *IncidentList
func (*Widget) GetLogsPanel
func (*Widget) GetPieChart
func (*Widget) GetScorecard
func (*Widget) GetSectionHeader
func (x *Widget) GetSectionHeader() *SectionHeader
func (*Widget) GetSingleViewGroup
func (x *Widget) GetSingleViewGroup() *SingleViewGroup
func (*Widget) GetText
func (*Widget) GetTimeSeriesTable
func (x *Widget) GetTimeSeriesTable() *TimeSeriesTable
func (*Widget) GetTitle
func (*Widget) GetXyChart
func (*Widget) ProtoMessage
func (*Widget) ProtoMessage()
func (*Widget) ProtoReflect
func (x *Widget) ProtoReflect() protoreflect.Message
func (*Widget) Reset
func (x *Widget) Reset()
func (*Widget) String
Widget_AlertChart
type Widget_AlertChart struct {
// A chart of alert policy data.
AlertChart *AlertChart `protobuf:"bytes,7,opt,name=alert_chart,json=alertChart,proto3,oneof"`
}
Widget_Blank
type Widget_Blank struct {
// A blank space.
Blank *emptypb.Empty `protobuf:"bytes,5,opt,name=blank,proto3,oneof"`
}
Widget_CollapsibleGroup
type Widget_CollapsibleGroup struct {
// A widget that groups the other widgets. All widgets that are within
// the area spanned by the grouping widget are considered member widgets.
CollapsibleGroup *CollapsibleGroup `protobuf:"bytes,9,opt,name=collapsible_group,json=collapsibleGroup,proto3,oneof"`
}
Widget_ErrorReportingPanel
type Widget_ErrorReportingPanel struct {
// A widget that displays a list of error groups.
ErrorReportingPanel *ErrorReportingPanel `protobuf:"bytes,19,opt,name=error_reporting_panel,json=errorReportingPanel,proto3,oneof"`
}
Widget_IncidentList
type Widget_IncidentList struct {
// A widget that shows list of incidents.
IncidentList *IncidentList `protobuf:"bytes,12,opt,name=incident_list,json=incidentList,proto3,oneof"`
}
Widget_LogsPanel
type Widget_LogsPanel struct {
// A widget that shows a stream of logs.
LogsPanel *LogsPanel `protobuf:"bytes,10,opt,name=logs_panel,json=logsPanel,proto3,oneof"`
}
Widget_PieChart
type Widget_PieChart struct {
// A widget that displays timeseries data as a pie chart.
PieChart *PieChart `protobuf:"bytes,14,opt,name=pie_chart,json=pieChart,proto3,oneof"`
}
Widget_Scorecard
type Widget_Scorecard struct {
// A scorecard summarizing time series data.
Scorecard *Scorecard `protobuf:"bytes,3,opt,name=scorecard,proto3,oneof"`
}
Widget_SectionHeader
type Widget_SectionHeader struct {
// A widget that defines a section header for easier navigation of the
// dashboard.
SectionHeader *SectionHeader `protobuf:"bytes,21,opt,name=section_header,json=sectionHeader,proto3,oneof"`
}
Widget_SingleViewGroup
type Widget_SingleViewGroup struct {
// A widget that groups the other widgets by using a dropdown menu.
SingleViewGroup *SingleViewGroup `protobuf:"bytes,22,opt,name=single_view_group,json=singleViewGroup,proto3,oneof"`
}
Widget_Text
type Widget_Text struct {
// A raw string or markdown displaying textual content.
Text *Text `protobuf:"bytes,4,opt,name=text,proto3,oneof"`
}
Widget_TimeSeriesTable
type Widget_TimeSeriesTable struct {
// A widget that displays time series data in a tabular format.
TimeSeriesTable *TimeSeriesTable `protobuf:"bytes,8,opt,name=time_series_table,json=timeSeriesTable,proto3,oneof"`
}
Widget_XyChart
type Widget_XyChart struct {
// A chart of time series data.
XyChart *XyChart `protobuf:"bytes,2,opt,name=xy_chart,json=xyChart,proto3,oneof"`
}
XyChart
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 *durationpb.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"`
// The properties applied to the y2-axis.
Y2Axis *XyChart_Axis `protobuf:"bytes,9,opt,name=y2_axis,json=y2Axis,proto3" json:"y2_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
Deprecated: Use XyChart.ProtoReflect.Descriptor instead.
func (*XyChart) GetChartOptions
func (x *XyChart) GetChartOptions() *ChartOptions
func (*XyChart) GetDataSets
func (x *XyChart) GetDataSets() []*XyChart_DataSet
func (*XyChart) GetThresholds
func (*XyChart) GetTimeshiftDuration
func (x *XyChart) GetTimeshiftDuration() *durationpb.Duration
func (*XyChart) GetXAxis
func (x *XyChart) GetXAxis() *XyChart_Axis
func (*XyChart) GetY2Axis
func (x *XyChart) GetY2Axis() *XyChart_Axis
func (*XyChart) GetYAxis
func (x *XyChart) GetYAxis() *XyChart_Axis
func (*XyChart) ProtoMessage
func (*XyChart) ProtoMessage()
func (*XyChart) ProtoReflect
func (x *XyChart) ProtoReflect() protoreflect.Message
func (*XyChart) Reset
func (x *XyChart) Reset()
func (*XyChart) String
XyChart_Axis
type XyChart_Axis struct {
// The label of the axis.
Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
// The axis scale. By default, a linear scale is used.
Scale XyChart_Axis_Scale `protobuf:"varint,2,opt,name=scale,proto3,enum=google.monitoring.dashboard.v1.XyChart_Axis_Scale" json:"scale,omitempty"`
// contains filtered or unexported fields
}
A chart axis.
func (*XyChart_Axis) Descriptor
func (*XyChart_Axis) Descriptor() ([]byte, []int)
Deprecated: Use XyChart_Axis.ProtoReflect.Descriptor instead.
func (*XyChart_Axis) GetLabel
func (x *XyChart_Axis) GetLabel() string
func (*XyChart_Axis) GetScale
func (x *XyChart_Axis) GetScale() XyChart_Axis_Scale
func (*XyChart_Axis) ProtoMessage
func (*XyChart_Axis) ProtoMessage()
func (*XyChart_Axis) ProtoReflect
func (x *XyChart_Axis) ProtoReflect() protoreflect.Message
func (*XyChart_Axis) Reset
func (x *XyChart_Axis) Reset()
func (*XyChart_Axis) String
func (x *XyChart_Axis) String() string
XyChart_Axis_Scale
type XyChart_Axis_Scale int32
Types of scales used in axes.
XyChart_Axis_SCALE_UNSPECIFIED, XyChart_Axis_LINEAR, XyChart_Axis_LOG10
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
func (XyChart_Axis_Scale) Descriptor() protoreflect.EnumDescriptor
func (XyChart_Axis_Scale) Enum
func (x XyChart_Axis_Scale) Enum() *XyChart_Axis_Scale
func (XyChart_Axis_Scale) EnumDescriptor
func (XyChart_Axis_Scale) EnumDescriptor() ([]byte, []int)
Deprecated: Use XyChart_Axis_Scale.Descriptor instead.
func (XyChart_Axis_Scale) Number
func (x XyChart_Axis_Scale) Number() protoreflect.EnumNumber
func (XyChart_Axis_Scale) String
func (x XyChart_Axis_Scale) String() string
func (XyChart_Axis_Scale) Type
func (XyChart_Axis_Scale) Type() protoreflect.EnumType
XyChart_DataSet
type XyChart_DataSet struct {
TimeSeriesQuery *TimeSeriesQuery `protobuf:"bytes,1,opt,name=time_series_query,json=timeSeriesQuery,proto3" json:"time_series_query,omitempty"`
PlotType XyChart_DataSet_PlotType "" /* 147 byte string literal not displayed */
LegendTemplate string `protobuf:"bytes,3,opt,name=legend_template,json=legendTemplate,proto3" json:"legend_template,omitempty"`
MinAlignmentPeriod *durationpb.Duration `protobuf:"bytes,4,opt,name=min_alignment_period,json=minAlignmentPeriod,proto3" json:"min_alignment_period,omitempty"`
TargetAxis XyChart_DataSet_TargetAxis "" /* 155 byte string literal not displayed */
}
Groups a time series query definition with charting options.
func (*XyChart_DataSet) Descriptor
func (*XyChart_DataSet) Descriptor() ([]byte, []int)
Deprecated: Use XyChart_DataSet.ProtoReflect.Descriptor instead.
func (*XyChart_DataSet) GetLegendTemplate
func (x *XyChart_DataSet) GetLegendTemplate() string
func (*XyChart_DataSet) GetMinAlignmentPeriod
func (x *XyChart_DataSet) GetMinAlignmentPeriod() *durationpb.Duration
func (*XyChart_DataSet) GetPlotType
func (x *XyChart_DataSet) GetPlotType() XyChart_DataSet_PlotType
func (*XyChart_DataSet) GetTargetAxis
func (x *XyChart_DataSet) GetTargetAxis() XyChart_DataSet_TargetAxis
func (*XyChart_DataSet) GetTimeSeriesQuery
func (x *XyChart_DataSet) GetTimeSeriesQuery() *TimeSeriesQuery
func (*XyChart_DataSet) ProtoMessage
func (*XyChart_DataSet) ProtoMessage()
func (*XyChart_DataSet) ProtoReflect
func (x *XyChart_DataSet) ProtoReflect() protoreflect.Message
func (*XyChart_DataSet) Reset
func (x *XyChart_DataSet) Reset()
func (*XyChart_DataSet) String
func (x *XyChart_DataSet) String() string
XyChart_DataSet_PlotType
type XyChart_DataSet_PlotType int32
The types of plotting strategies for data sets.
XyChart_DataSet_PLOT_TYPE_UNSPECIFIED, XyChart_DataSet_LINE, XyChart_DataSet_STACKED_AREA, XyChart_DataSet_STACKED_BAR, XyChart_DataSet_HEATMAP
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
func (XyChart_DataSet_PlotType) Descriptor() protoreflect.EnumDescriptor
func (XyChart_DataSet_PlotType) Enum
func (x XyChart_DataSet_PlotType) Enum() *XyChart_DataSet_PlotType
func (XyChart_DataSet_PlotType) EnumDescriptor
func (XyChart_DataSet_PlotType) EnumDescriptor() ([]byte, []int)
Deprecated: Use XyChart_DataSet_PlotType.Descriptor instead.
func (XyChart_DataSet_PlotType) Number
func (x XyChart_DataSet_PlotType) Number() protoreflect.EnumNumber
func (XyChart_DataSet_PlotType) String
func (x XyChart_DataSet_PlotType) String() string
func (XyChart_DataSet_PlotType) Type
func (XyChart_DataSet_PlotType) Type() protoreflect.EnumType
XyChart_DataSet_TargetAxis
type XyChart_DataSet_TargetAxis int32
An axis identifier.
XyChart_DataSet_TARGET_AXIS_UNSPECIFIED, XyChart_DataSet_Y1, XyChart_DataSet_Y2
const (
// The target axis was not specified. Defaults to Y1.
XyChart_DataSet_TARGET_AXIS_UNSPECIFIED XyChart_DataSet_TargetAxis = 0
// The y_axis (the right axis of chart).
XyChart_DataSet_Y1 XyChart_DataSet_TargetAxis = 1
// The y2_axis (the left axis of chart).
XyChart_DataSet_Y2 XyChart_DataSet_TargetAxis = 2
)
func (XyChart_DataSet_TargetAxis) Descriptor
func (XyChart_DataSet_TargetAxis) Descriptor() protoreflect.EnumDescriptor
func (XyChart_DataSet_TargetAxis) Enum
func (x XyChart_DataSet_TargetAxis) Enum() *XyChart_DataSet_TargetAxis
func (XyChart_DataSet_TargetAxis) EnumDescriptor
func (XyChart_DataSet_TargetAxis) EnumDescriptor() ([]byte, []int)
Deprecated: Use XyChart_DataSet_TargetAxis.Descriptor instead.
func (XyChart_DataSet_TargetAxis) Number
func (x XyChart_DataSet_TargetAxis) Number() protoreflect.EnumNumber
func (XyChart_DataSet_TargetAxis) String
func (x XyChart_DataSet_TargetAxis) String() string
func (XyChart_DataSet_TargetAxis) Type
func (XyChart_DataSet_TargetAxis) Type() protoreflect.EnumType