123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- syntax = "proto3";
- package google.monitoring.dashboard.v1;
- import "google/api/field_behavior.proto";
- import "google/monitoring/dashboard/v1/metrics.proto";
- import "google/protobuf/duration.proto";
- option csharp_namespace = "Google.Cloud.Monitoring.Dashboard.V1";
- option go_package = "google.golang.org/genproto/googleapis/monitoring/dashboard/v1;dashboard";
- option java_multiple_files = true;
- option java_outer_classname = "XyChartProto";
- option java_package = "com.google.monitoring.dashboard.v1";
- option php_namespace = "Google\\Cloud\\Monitoring\\Dashboard\\V1";
- option ruby_package = "Google::Cloud::Monitoring::Dashboard::V1";
- message XyChart {
-
- message DataSet {
-
- enum PlotType {
-
- PLOT_TYPE_UNSPECIFIED = 0;
-
- LINE = 1;
-
-
-
-
- STACKED_AREA = 2;
-
-
-
-
- STACKED_BAR = 3;
-
-
-
-
- HEATMAP = 4;
- }
-
- enum TargetAxis {
-
- TARGET_AXIS_UNSPECIFIED = 0;
-
- Y1 = 1;
-
- Y2 = 2;
- }
-
-
- TimeSeriesQuery time_series_query = 1 [(google.api.field_behavior) = REQUIRED];
-
- PlotType plot_type = 2;
-
-
-
- string legend_template = 3;
-
-
-
-
-
- google.protobuf.Duration min_alignment_period = 4 [(google.api.field_behavior) = OPTIONAL];
-
- TargetAxis target_axis = 5 [(google.api.field_behavior) = OPTIONAL];
- }
-
- message Axis {
-
- enum Scale {
-
- SCALE_UNSPECIFIED = 0;
-
- LINEAR = 1;
-
- LOG10 = 2;
- }
-
- string label = 1;
-
- Scale scale = 2;
- }
-
- repeated DataSet data_sets = 1 [(google.api.field_behavior) = REQUIRED];
-
-
-
-
-
- google.protobuf.Duration timeshift_duration = 4;
-
- repeated Threshold thresholds = 5;
-
- Axis x_axis = 6;
-
- Axis y_axis = 7;
-
- Axis y2_axis = 9;
-
- ChartOptions chart_options = 8;
- }
- message ChartOptions {
-
- enum Mode {
-
- MODE_UNSPECIFIED = 0;
-
-
- COLOR = 1;
-
-
- X_RAY = 2;
-
-
- STATS = 3;
- }
-
- Mode mode = 1;
- }
|