11syntax = "proto3" ;
22
3- package envoy.admin.v3alpha ;
3+ package envoy.admin.v3 ;
44
5- option java_package = "io.envoyproxy.envoy.admin.v3alpha" ;
6- option java_outer_classname = "ClustersProto" ;
7- option java_multiple_files = true ;
8-
9- import "envoy/admin/v3alpha/metrics.proto" ;
10- import "envoy/api/v3alpha/core/address.proto" ;
11- import "envoy/api/v3alpha/core/health_check.proto" ;
12- import "envoy/type/v3alpha/percent.proto" ;
5+ import "envoy/admin/v3/metrics.proto" ;
6+ import "envoy/config/core/v3/address.proto" ;
7+ import "envoy/config/core/v3/health_check.proto" ;
8+ import "envoy/type/v3/percent.proto" ;
139
1410import "udpa/annotations/versioning.proto" ;
1511
12+ option java_package = "io.envoyproxy.envoy.admin.v3" ;
13+ option java_outer_classname = "ClustersProto" ;
14+ option java_multiple_files = true ;
15+
1616// [#protodoc-title: Clusters]
1717
1818// Admin endpoint uses this wrapper for `/clusters` to display cluster status information.
@@ -37,10 +37,10 @@ message ClusterStatus {
3737
3838 // The success rate threshold used in the last interval.
3939 // If
40- // :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_api.v3alpha. cluster.OutlierDetection.split_external_local_origin_errors>`
40+ // :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_config. cluster.v3 .OutlierDetection.split_external_local_origin_errors>`
4141 // is *false*, all errors: externally and locally generated were used to calculate the threshold.
4242 // If
43- // :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_api.v3alpha. cluster.OutlierDetection.split_external_local_origin_errors>`
43+ // :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_config. cluster.v3 .OutlierDetection.split_external_local_origin_errors>`
4444 // is *true*, only externally generated errors were used to calculate the threshold.
4545 // The threshold is used to eject hosts based on their success rate. See
4646 // :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for details.
@@ -52,15 +52,15 @@ message ClusterStatus {
5252 // 2. The threshold is computed to be < 0 because a negative value implies that there was no
5353 // threshold for that interval.
5454 // 3. Outlier detection is not enabled for this cluster.
55- type.v3alpha .Percent success_rate_ejection_threshold = 3 ;
55+ type.v3 .Percent success_rate_ejection_threshold = 3 ;
5656
5757 // Mapping from host address to the host's current status.
5858 repeated HostStatus host_statuses = 4 ;
5959
6060 // The success rate threshold used in the last interval when only locally originated failures were
6161 // taken into account and externally originated errors were treated as success.
6262 // This field should be interpreted only when
63- // :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_api.v3alpha. cluster.OutlierDetection.split_external_local_origin_errors>`
63+ // :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_config. cluster.v3 .OutlierDetection.split_external_local_origin_errors>`
6464 // is *true*. The threshold is used to eject hosts based on their success rate.
6565 // See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for
6666 // details.
@@ -72,7 +72,7 @@ message ClusterStatus {
7272 // 2. The threshold is computed to be < 0 because a negative value implies that there was no
7373 // threshold for that interval.
7474 // 3. Outlier detection is not enabled for this cluster.
75- type.v3alpha .Percent local_origin_success_rate_ejection_threshold = 5 ;
75+ type.v3 .Percent local_origin_success_rate_ejection_threshold = 5 ;
7676}
7777
7878// Current state of a particular host.
@@ -81,7 +81,7 @@ message HostStatus {
8181 option (udpa.annotations.versioning ).previous_message_type = "envoy.admin.v2alpha.HostStatus" ;
8282
8383 // Address of this host.
84- api.v3alpha. core.Address address = 1 ;
84+ config. core.v3 .Address address = 1 ;
8585
8686 // List of stats specific to this host.
8787 repeated SimpleMetric stats = 2 ;
@@ -91,18 +91,18 @@ message HostStatus {
9191
9292 // Request success rate for this host over the last calculated interval.
9393 // If
94- // :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_api.v3alpha. cluster.OutlierDetection.split_external_local_origin_errors>`
94+ // :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_config. cluster.v3 .OutlierDetection.split_external_local_origin_errors>`
9595 // is *false*, all errors: externally and locally generated were used in success rate
9696 // calculation. If
97- // :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_api.v3alpha. cluster.OutlierDetection.split_external_local_origin_errors>`
97+ // :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_config. cluster.v3 .OutlierDetection.split_external_local_origin_errors>`
9898 // is *true*, only externally generated errors were used in success rate calculation.
9999 // See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for
100100 // details.
101101 //
102102 // Note: the message will not be present if host did not have enough request volume to calculate
103103 // success rate or the cluster did not have enough hosts to run through success rate outlier
104104 // ejection.
105- type.v3alpha .Percent success_rate = 4 ;
105+ type.v3 .Percent success_rate = 4 ;
106106
107107 // The host's weight. If not configured, the value defaults to 1.
108108 uint32 weight = 5 ;
@@ -117,15 +117,15 @@ message HostStatus {
117117 // interval when only locally originated errors are taken into account and externally originated
118118 // errors were treated as success.
119119 // This field should be interpreted only when
120- // :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_api.v3alpha. cluster.OutlierDetection.split_external_local_origin_errors>`
120+ // :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_config. cluster.v3 .OutlierDetection.split_external_local_origin_errors>`
121121 // is *true*.
122122 // See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for
123123 // details.
124124 //
125125 // Note: the message will not be present if host did not have enough request volume to calculate
126126 // success rate or the cluster did not have enough hosts to run through success rate outlier
127127 // ejection.
128- type.v3alpha .Percent local_origin_success_rate = 8 ;
128+ type.v3 .Percent local_origin_success_rate = 8 ;
129129}
130130
131131// Health status for a host.
@@ -152,6 +152,6 @@ message HostHealthStatus {
152152
153153 // Health status as reported by EDS. Note: only HEALTHY and UNHEALTHY are currently supported
154154 // here.
155- // TODO(mrice32): pipe through remaining EDS health status possibilities.
156- api.v3alpha. core.HealthStatus eds_health_status = 3 ;
155+ // [#comment: TODO(mrice32): pipe through remaining EDS health status possibilities.]
156+ config. core.v3 .HealthStatus eds_health_status = 3 ;
157157}
0 commit comments