http-tap downstream connection (#29420)

Additional Description:
Risk Level: Low
Testing: Ut/Integrated Test
Docs Changes:
Release Notes:
Platform Specific Features:

Signed-off-by: Felix Du <durd07@gmail.com>

Mirrored from https://github.com/envoyproxy/envoy @ 6092cdcc2f4cce51c7c6409b4452e52d0a185f42
main
update-envoy[bot] 1 year ago
parent e141467f77
commit 6a27123da2
  1. 13
      envoy/data/tap/v3/common.proto
  2. 3
      envoy/data/tap/v3/http.proto
  3. 12
      envoy/data/tap/v3/transport.proto
  4. 3
      envoy/extensions/filters/http/tap/v3/tap.proto

@ -2,6 +2,8 @@ syntax = "proto3";
package envoy.data.tap.v3;
import "envoy/config/core/v3/address.proto";
import "udpa/annotations/status.proto";
import "udpa/annotations/versioning.proto";
@ -36,3 +38,14 @@ message Body {
// <envoy_v3_api_field_config.tap.v3.OutputConfig.max_buffered_tx_bytes>` settings.
bool truncated = 3;
}
// Connection properties.
message Connection {
option (udpa.annotations.versioning).previous_message_type = "envoy.data.tap.v2alpha.Connection";
// Local address.
config.core.v3.Address local_address = 1;
// Remote address.
config.core.v3.Address remote_address = 2;
}

@ -46,6 +46,9 @@ message HttpBufferedTrace {
// Response message.
Message response = 2;
// downstream connection
Connection downstream_connection = 3;
}
// A streamed HTTP trace segment. Multiple segments make up a full trace.

@ -2,7 +2,6 @@ syntax = "proto3";
package envoy.data.tap.v3;
import "envoy/config/core/v3/address.proto";
import "envoy/data/tap/v3/common.proto";
import "google/protobuf/timestamp.proto";
@ -20,17 +19,6 @@ option (udpa.annotations.file_status).package_version_status = ACTIVE;
// Trace format for the tap transport socket extension. This dumps plain text read/write
// sequences on a socket.
// Connection properties.
message Connection {
option (udpa.annotations.versioning).previous_message_type = "envoy.data.tap.v2alpha.Connection";
// Local address.
config.core.v3.Address local_address = 2;
// Remote address.
config.core.v3.Address remote_address = 3;
}
// Event in a socket trace.
message SocketEvent {
option (udpa.annotations.versioning).previous_message_type = "envoy.data.tap.v2alpha.SocketEvent";

@ -31,4 +31,7 @@ message Tap {
// Request headers time stamp is stored after receiving request headers.
// Response headers time stamp is stored after receiving response headers.
bool record_headers_received_time = 2;
// Indicates whether report downstream connection info
bool record_downstream_connection = 3;
}

Loading…
Cancel
Save