123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239 |
- syntax = "proto3";
- package google.monitoring.v3;
- import "google/api/label.proto";
- import "google/api/metric.proto";
- import "google/api/monitored_resource.proto";
- import "google/monitoring/v3/common.proto";
- option csharp_namespace = "Google.Cloud.Monitoring.V3";
- option go_package = "google.golang.org/genproto/googleapis/monitoring/v3;monitoring";
- option java_multiple_files = true;
- option java_outer_classname = "MetricProto";
- option java_package = "com.google.monitoring.v3";
- option php_namespace = "Google\\Cloud\\Monitoring\\V3";
- option ruby_package = "Google::Cloud::Monitoring::V3";
- message Point {
-
-
-
-
-
-
-
-
-
- TimeInterval interval = 1;
-
- TypedValue value = 2;
- }
- message TimeSeries {
-
-
- google.api.Metric metric = 1;
-
-
-
-
- google.api.MonitoredResource resource = 2;
-
-
-
- google.api.MonitoredResourceMetadata metadata = 7;
-
-
-
-
-
-
-
-
-
- google.api.MetricDescriptor.MetricKind metric_kind = 3;
-
-
-
-
-
-
- google.api.MetricDescriptor.ValueType value_type = 4;
-
-
-
-
-
-
-
-
- repeated Point points = 5;
-
-
-
- string unit = 8;
- }
- message TimeSeriesDescriptor {
-
- message ValueDescriptor {
-
- string key = 1;
-
- google.api.MetricDescriptor.ValueType value_type = 2;
-
- google.api.MetricDescriptor.MetricKind metric_kind = 3;
-
-
-
-
- string unit = 4;
- }
-
- repeated google.api.LabelDescriptor label_descriptors = 1;
-
- repeated ValueDescriptor point_descriptors = 5;
- }
- message TimeSeriesData {
-
-
-
- message PointData {
-
- repeated TypedValue values = 1;
-
- TimeInterval time_interval = 2;
- }
-
-
-
-
- repeated LabelValue label_values = 1;
-
- repeated PointData point_data = 2;
- }
- message LabelValue {
-
- oneof value {
-
- bool bool_value = 1;
-
- int64 int64_value = 2;
-
- string string_value = 3;
- }
- }
- message QueryError {
-
-
- TextLocator locator = 1;
-
- string message = 2;
- }
- message TextLocator {
-
- message Position {
-
- int32 line = 1;
-
-
- int32 column = 2;
- }
-
-
-
-
-
-
-
- string source = 1;
-
- Position start_position = 2;
-
- Position end_position = 3;
-
-
-
-
- TextLocator nested_locator = 4;
-
-
-
-
-
-
- string nesting_reason = 5;
- }
|