123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457 |
- syntax = "proto3";
- package google.monitoring.v3;
- import "google/api/resource.proto";
- import "google/protobuf/duration.proto";
- import "google/type/calendar_period.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 = "ServiceMonitoringProto";
- option java_package = "com.google.monitoring.v3";
- option php_namespace = "Google\\Cloud\\Monitoring\\V3";
- option ruby_package = "Google::Cloud::Monitoring::V3";
- message Service {
- option (google.api.resource) = {
- type: "monitoring.googleapis.com/Service"
- pattern: "projects/{project}/services/{service}"
- pattern: "organizations/{organization}/services/{service}"
- pattern: "folders/{folder}/services/{service}"
- pattern: "*"
- };
-
-
- message Custom {
- }
-
- message AppEngine {
-
-
-
- string module_id = 1;
- }
-
- message CloudEndpoints {
-
-
-
- string service = 1;
- }
-
-
-
- message ClusterIstio {
-
-
-
- string location = 1;
-
-
-
- string cluster_name = 2;
-
-
- string service_namespace = 3;
-
-
- string service_name = 4;
- }
-
-
- message MeshIstio {
-
-
- string mesh_uid = 1;
-
-
- string service_namespace = 3;
-
-
- string service_name = 4;
- }
-
-
- message IstioCanonicalService {
-
-
-
- string mesh_uid = 1;
-
-
-
-
- string canonical_service_namespace = 3;
-
-
-
-
- string canonical_service = 4;
- }
-
- message Telemetry {
-
-
- string resource_name = 1;
- }
-
-
-
- string name = 1;
-
- string display_name = 2;
-
- oneof identifier {
-
- Custom custom = 6;
-
- AppEngine app_engine = 7;
-
- CloudEndpoints cloud_endpoints = 8;
-
- ClusterIstio cluster_istio = 9;
-
- MeshIstio mesh_istio = 10;
-
-
-
- IstioCanonicalService istio_canonical_service = 11;
- }
-
- Telemetry telemetry = 13;
-
-
-
-
-
-
- map<string, string> user_labels = 14;
- }
- message ServiceLevelObjective {
- option (google.api.resource) = {
- type: "monitoring.googleapis.com/ServiceLevelObjective"
- pattern: "projects/{project}/services/{service}/serviceLevelObjectives/{service_level_objective}"
- pattern: "organizations/{organization}/services/{service}/serviceLevelObjectives/{service_level_objective}"
- pattern: "folders/{folder}/services/{service}/serviceLevelObjectives/{service_level_objective}"
- pattern: "*"
- history: ORIGINALLY_SINGLE_PATTERN
- };
-
-
-
- enum View {
-
- VIEW_UNSPECIFIED = 0;
-
-
- FULL = 2;
-
-
-
-
-
- EXPLICIT = 1;
- }
-
-
-
- string name = 1;
-
- string display_name = 11;
-
-
-
- ServiceLevelIndicator service_level_indicator = 3;
-
-
- double goal = 4;
-
- oneof period {
-
-
- google.protobuf.Duration rolling_period = 5;
-
-
-
- google.type.CalendarPeriod calendar_period = 6;
- }
-
-
-
-
-
-
- map<string, string> user_labels = 12;
- }
- message ServiceLevelIndicator {
-
-
-
- oneof type {
-
- BasicSli basic_sli = 4;
-
- RequestBasedSli request_based = 1;
-
- WindowsBasedSli windows_based = 2;
- }
- }
- message BasicSli {
-
- message AvailabilityCriteria {
- }
-
- message LatencyCriteria {
-
-
- google.protobuf.Duration threshold = 3;
- }
-
-
-
-
-
- repeated string method = 7;
-
-
-
-
-
- repeated string location = 8;
-
-
-
-
-
- repeated string version = 9;
-
- oneof sli_criteria {
-
-
- AvailabilityCriteria availability = 2;
-
-
- LatencyCriteria latency = 3;
- }
- }
- message Range {
-
- double min = 1;
-
- double max = 2;
- }
- message RequestBasedSli {
-
- oneof method {
-
-
- TimeSeriesRatio good_total_ratio = 1;
-
-
-
-
- DistributionCut distribution_cut = 3;
- }
- }
- message TimeSeriesRatio {
-
-
-
-
- string good_service_filter = 4;
-
-
-
-
-
- string bad_service_filter = 5;
-
-
-
-
- string total_service_filter = 6;
- }
- message DistributionCut {
-
-
-
- string distribution_filter = 4;
-
-
- Range range = 5;
- }
- message WindowsBasedSli {
-
-
- message PerformanceThreshold {
-
-
- oneof type {
-
- RequestBasedSli performance = 1;
-
- BasicSli basic_sli_performance = 3;
- }
-
- double threshold = 2;
- }
-
-
-
-
- message MetricRange {
-
-
- string time_series = 1;
-
-
- Range range = 4;
- }
-
- oneof window_criterion {
-
-
-
- string good_bad_metric_filter = 5;
-
- PerformanceThreshold good_total_ratio_threshold = 2;
-
-
- MetricRange metric_mean_in_range = 6;
-
-
- MetricRange metric_sum_in_range = 7;
- }
-
-
- google.protobuf.Duration window_period = 4;
- }
|