github.com/cloudwan/edgelq-sdk@v1.15.4/monitoring/proto/v4/phantom_time_serie.proto (about)

     1  syntax = "proto3";
     2  
     3  package ntt.monitoring.v4;
     4  
     5  import "edgelq-sdk/monitoring/proto/v4/common.proto";
     6  import "edgelq-sdk/monitoring/proto/v4/metric_descriptor.proto";
     7  import "google/api/field_behavior.proto";
     8  import "google/api/resource.proto";
     9  import "goten-sdk/types/meta.proto";
    10  
    11  option go_package = "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/phantom_time_serie;phantom_time_serie";
    12  option java_multiple_files = true;
    13  option java_outer_classname = "PhantomTimeSerieProto";
    14  option java_package = "com.ntt.monitoring.pb.v4";
    15  
    16  // PhantomTimeSerie Resource
    17  message PhantomTimeSerie {
    18    option (google.api.resource) = {
    19      type : "monitoring.edgelq.com/PhantomTimeSerie"
    20      pattern : "projects/{project}/regions/{region}/phantomTimeSeries/"
    21                "{phantom_time_serie}"
    22    };
    23  
    24    // Name of PhantomTimeSerie
    25    // When creating a new instance, this field is optional and if not provided,
    26    // it will be generated automatically. Last ID segment must conform to the
    27    // following regex: [\\w+/=]{1,256}
    28    string name = 100;
    29  
    30    // Metadata is an object with information like create, update and delete time
    31    // (for async deleted resources), has user labels/annotations, sharding
    32    // information, multi-region syncing information and may have non-schema
    33    // owners (useful for taking ownership of resources belonging to lower level
    34    // services by higher ones).
    35    goten.types.Meta metadata = 11;
    36  
    37    // TimeSerie key identifies unique TimeSeries tuple:
    38    // <project, metric.type, metric.labels, resource.type, resource.labels>
    39    //
    40    // Kind/ValueType are not present in key
    41    // Key is not to be decoded outside of service, but treated as opaque string
    42    bytes key = 101 [ (google.api.field_behavior) = OUTPUT_ONLY ];
    43  
    44    // Internal use - for bulk reporting of TimeSeries
    45    string project = 102 [ (google.api.field_behavior) = OUTPUT_ONLY ];
    46  
    47    // The associated metric. A fully-specified metric used to identify the time
    48    // series.
    49    // This field cannot be updated, can be only set during creation.
    50    Metric metric = 1;
    51  
    52    // The associated monitored resource.  Custom metrics can use only certain
    53    // monitored resource types in their time series data.
    54    // This field cannot be updated, can be only set during creation.
    55    MonitoredResource resource = 2;
    56  
    57    // The metric kind of the time series. When listing time series, this metric
    58    // kind might be different from the metric kind of the associated metric if
    59    // this time series is an alignment or reduction of other time series.
    60    //
    61    // When creating a time series, this field is optional. If present, it must be
    62    // the same as the metric kind of the associated metric. If the associated
    63    // metric's descriptor must be auto-created, then this field specifies the
    64    // metric kind of the new descriptor and must be either `GAUGE` (the default)
    65    // or `CUMULATIVE`.
    66    MetricDescriptor.MetricKind metric_kind = 3
    67        [ (google.api.field_behavior) = OUTPUT_ONLY ];
    68  
    69    // The value type of the time series. When listing time series, this value
    70    // type might be different from the value type of the associated metric if
    71    // this time series is an alignment or reduction of other time series.
    72    //
    73    // When creating a time series, this field is optional. If present, it must be
    74    // the same as the type of the data in the `points` field.
    75    MetricDescriptor.ValueType value_type = 4
    76        [ (google.api.field_behavior) = OUTPUT_ONLY ];
    77  
    78    // Phantom value
    79    TypedValue value = 6;
    80  }