Skip to content

Commit f8fcd6a

Browse files
authored
chore: Update protobuf files (#14)
* envoy-proto-collect: update submodules * envoy-types: collect updated protos * envoy-types: update generated files
1 parent 9de2219 commit f8fcd6a

File tree

66 files changed

+773
-270
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+773
-270
lines changed
Submodule data-plane-api updated 38 files
Submodule googleapis updated 217 files

envoy-types/proto/data-plane-api/envoy/admin/v3/clusters.proto

Lines changed: 51 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -55,22 +55,24 @@ message ClusterStatus {
5555
bool added_via_api = 2;
5656

5757
// The success rate threshold used in the last interval.
58-
// If
59-
// :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
60-
// is ``false``, all errors: externally and locally generated were used to calculate the threshold.
61-
// If
62-
// :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
63-
// is ``true``, only externally generated errors were used to calculate the threshold.
64-
// The threshold is used to eject hosts based on their success rate. See
65-
// :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for details.
6658
//
67-
// Note: this field may be omitted in any of the three following cases:
59+
// * If :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
60+
// is ``false``, all errors: externally and locally generated were used to calculate the threshold.
61+
// * If :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
62+
// is ``true``, only externally generated errors were used to calculate the threshold.
63+
//
64+
// The threshold is used to eject hosts based on their success rate. For more information, see the
65+
// :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation.
66+
//
67+
// .. note::
68+
//
69+
// This field may be omitted in any of the three following cases:
70+
//
71+
// 1. There were not enough hosts with enough request volume to proceed with success rate based outlier ejection.
72+
// 2. The threshold is computed to be < 0 because a negative value implies that there was no threshold for that
73+
// interval.
74+
// 3. Outlier detection is not enabled for this cluster.
6875
//
69-
// 1. There were not enough hosts with enough request volume to proceed with success rate based
70-
// outlier ejection.
71-
// 2. The threshold is computed to be < 0 because a negative value implies that there was no
72-
// threshold for that interval.
73-
// 3. Outlier detection is not enabled for this cluster.
7476
type.v3.Percent success_rate_ejection_threshold = 3;
7577

7678
// Mapping from host address to the host's current status.
@@ -81,16 +83,18 @@ message ClusterStatus {
8183
// This field should be interpreted only when
8284
// :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
8385
// is ``true``. The threshold is used to eject hosts based on their success rate.
84-
// See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for
85-
// details.
8686
//
87-
// Note: this field may be omitted in any of the three following cases:
87+
// For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation.
88+
//
89+
// .. note::
90+
//
91+
// This field may be omitted in any of the three following cases:
92+
//
93+
// 1. There were not enough hosts with enough request volume to proceed with success rate based outlier ejection.
94+
// 2. The threshold is computed to be < 0 because a negative value implies that there was no threshold for that
95+
// interval.
96+
// 3. Outlier detection is not enabled for this cluster.
8897
//
89-
// 1. There were not enough hosts with enough request volume to proceed with success rate based
90-
// outlier ejection.
91-
// 2. The threshold is computed to be < 0 because a negative value implies that there was no
92-
// threshold for that interval.
93-
// 3. Outlier detection is not enabled for this cluster.
9498
type.v3.Percent local_origin_success_rate_ejection_threshold = 5;
9599

96100
// :ref:`Circuit breaking <arch_overview_circuit_break>` settings of the cluster.
@@ -117,19 +121,20 @@ message HostStatus {
117121
// The host's current health status.
118122
HostHealthStatus health_status = 3;
119123

120-
// Request success rate for this host over the last calculated interval.
121-
// If
122-
// :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
123-
// is ``false``, all errors: externally and locally generated were used in success rate
124-
// calculation. If
125-
// :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
126-
// is ``true``, only externally generated errors were used in success rate calculation.
127-
// See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for
128-
// details.
124+
// The success rate for this host during the last measurement interval.
125+
//
126+
// * If :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
127+
// is ``false``, all errors: externally and locally generated were used in success rate calculation.
128+
// * If :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
129+
// is ``true``, only externally generated errors were used in success rate calculation.
130+
//
131+
// For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation.
132+
//
133+
// .. note::
134+
//
135+
// The message will be missing if the host didn't receive enough traffic to calculate a reliable success rate, or
136+
// if the cluster had too few hosts to apply outlier ejection based on success rate.
129137
//
130-
// Note: the message will not be present if host did not have enough request volume to calculate
131-
// success rate or the cluster did not have enough hosts to run through success rate outlier
132-
// ejection.
133138
type.v3.Percent success_rate = 4;
134139

135140
// The host's weight. If not configured, the value defaults to 1.
@@ -141,18 +146,20 @@ message HostStatus {
141146
// The host's priority. If not configured, the value defaults to 0 (highest priority).
142147
uint32 priority = 7;
143148

144-
// Request success rate for this host over the last calculated
145-
// interval when only locally originated errors are taken into account and externally originated
146-
// errors were treated as success.
147-
// This field should be interpreted only when
149+
// The success rate for this host during the last interval, considering only locally generated errors. Externally
150+
// generated errors are treated as successes.
151+
//
152+
// This field is only relevant when
148153
// :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
149-
// is ``true``.
150-
// See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for
151-
// details.
154+
// is set to ``true``.
155+
//
156+
// For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation.
157+
//
158+
// .. note::
159+
//
160+
// The message will be missing if the host didn’t receive enough traffic to compute a success rate, or if the
161+
// cluster didn’t have enough hosts to perform outlier ejection based on success rate.
152162
//
153-
// Note: the message will not be present if host did not have enough request volume to calculate
154-
// success rate or the cluster did not have enough hosts to run through success rate outlier
155-
// ejection.
156163
type.v3.Percent local_origin_success_rate = 8;
157164

158165
// locality of the host.

envoy-types/proto/data-plane-api/envoy/config/cluster/v3/cluster.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1359,7 +1359,7 @@ message TrackClusterStats {
13591359

13601360
// If request_response_sizes is true, then the :ref:`histograms
13611361
// <config_cluster_manager_cluster_stats_request_response_sizes>` tracking header and body sizes
1362-
// of requests and responses will be published.
1362+
// of requests and responses will be published. Additionally, number of headers in the requests and responses will be tracked.
13631363
bool request_response_sizes = 2;
13641364

13651365
// If true, some stats will be emitted per-endpoint, similar to the stats in admin ``/clusters``

envoy-types/proto/data-plane-api/envoy/config/core/v3/address.proto

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ message EnvoyInternalAddress {
6464
string endpoint_id = 2;
6565
}
6666

67-
// [#next-free-field: 7]
67+
// [#next-free-field: 8]
6868
message SocketAddress {
6969
option (udpa.annotations.versioning).previous_message_type = "envoy.api.v2.core.SocketAddress";
7070

@@ -111,6 +111,11 @@ message SocketAddress {
111111
// allow both IPv4 and IPv6 connections, with peer IPv4 addresses mapped into
112112
// IPv6 space as ``::FFFF:<IPv4-address>``.
113113
bool ipv4_compat = 6;
114+
115+
// The Linux network namespace to bind the socket to. If this is set, Envoy will
116+
// create the socket in the specified network namespace. Only supported on Linux.
117+
// [#not-implemented-hide:]
118+
string network_namespace_filepath = 7;
114119
}
115120

116121
message TcpKeepalive {

0 commit comments

Comments
 (0)