github.com/cloudwan/edgelq-sdk@v1.15.4/monitoring/proto/v3/phantom_time_serie.proto (about) 1 syntax = "proto3"; 2 3 package ntt.monitoring.v3; 4 5 import "edgelq-sdk/monitoring/proto/v3/common.proto"; 6 import "edgelq-sdk/monitoring/proto/v3/metric_descriptor.proto"; 7 import "google/api/field_behavior.proto"; 8 import "google/api/resource.proto"; 9 import "google/protobuf/timestamp.proto"; 10 import "goten-sdk/types/meta.proto"; 11 12 option go_package = "github.com/cloudwan/edgelq-sdk/monitoring/resources/v3/phantom_time_serie;phantom_time_serie"; 13 option java_multiple_files = true; 14 option java_outer_classname = "PhantomTimeSerieProto"; 15 option java_package = "com.ntt.monitoring.pb.v3"; 16 17 // PhantomTimeSerie generates data in absence of real data 18 message PhantomTimeSerie { 19 option (google.api.resource) = { 20 type : "monitoring.edgelq.com/PhantomTimeSerie" 21 pattern : "projects/{project}/regions/{region}/phantomTimeSeries/" 22 "{phantom_time_serie}" 23 }; 24 25 // Common resource Metadata 26 goten.types.Meta metadata = 11; 27 28 // Name of PhantomTimeSeries 29 // Name must contain base64 encoded string of TimeSeries key 30 string name = 100; 31 32 // TimeSerie key identifies unique TimeSeries tuple: 33 // <project, metric.type, metric.labels, resource.type, resource.labels> 34 // 35 // Kind/ValueType are not present in key 36 // Key is not to be decoded outside of service, but treated as opaque string 37 bytes key = 101 [ (google.api.field_behavior) = OUTPUT_ONLY ]; 38 39 // Internal use - for bulk reporting of TimeSeries 40 string project = 102 [ (google.api.field_behavior) = OUTPUT_ONLY ]; 41 42 // The associated metric. A fully-specified metric used to identify the time 43 // series. 44 // This field cannot be updated, can be only set during creation. 45 Metric metric = 1; 46 47 // The associated monitored resource. Custom metrics can use only certain 48 // monitored resource types in their time series data. 49 // This field cannot be updated, can be only set during creation. 50 MonitoredResource resource = 2; 51 52 // The metric kind of the time series. When listing time series, this metric 53 // kind might be different from the metric kind of the associated metric if 54 // this time series is an alignment or reduction of other time series. 55 // 56 // When creating a time series, this field is optional. If present, it must be 57 // the same as the metric kind of the associated metric. If the associated 58 // metric's descriptor must be auto-created, then this field specifies the 59 // metric kind of the new descriptor and must be either `GAUGE` (the default) 60 // or `CUMULATIVE`. 61 MetricDescriptor.MetricKind metric_kind = 3 62 [ (google.api.field_behavior) = OUTPUT_ONLY ]; 63 64 // The value type of the time series. When listing time series, this value 65 // type might be different from the value type of the associated metric if 66 // this time series is an alignment or reduction of other time series. 67 // 68 // When creating a time series, this field is optional. If present, it must be 69 // the same as the type of the data in the `points` field. 70 MetricDescriptor.ValueType value_type = 4 71 [ (google.api.field_behavior) = OUTPUT_ONLY ]; 72 73 // Phantom value 74 TypedValue value = 6; 75 }