-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Detected new managed modules references
- Loading branch information
1 parent
af41637
commit e5758d3
Showing
12 changed files
with
1,180 additions
and
6 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
...ae3c6f593d4b04b0ee8c64f2d948ffe95e713fbca7dc0a448d0444f092cebcac273d1fcfbe0448788d044a239
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
syntax = "proto3"; | ||
|
||
package envoy.extensions.filters.http.tap.v3; | ||
|
||
import "envoy/extensions/common/tap/v3/common.proto"; | ||
|
||
import "udpa/annotations/status.proto"; | ||
import "udpa/annotations/versioning.proto"; | ||
import "validate/validate.proto"; | ||
|
||
option java_package = "io.envoyproxy.envoy.extensions.filters.http.tap.v3"; | ||
option java_outer_classname = "TapProto"; | ||
option java_multiple_files = true; | ||
option go_package = "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/http/tap/v3;tapv3"; | ||
option (udpa.annotations.file_status).package_version_status = ACTIVE; | ||
|
||
// [#protodoc-title: Tap] | ||
// Tap :ref:`configuration overview <config_http_filters_tap>`. | ||
// [#extension: envoy.filters.http.tap] | ||
|
||
// Top level configuration for the tap filter. | ||
message Tap { | ||
option (udpa.annotations.versioning).previous_message_type = | ||
"envoy.config.filter.http.tap.v2alpha.Tap"; | ||
|
||
// Common configuration for the HTTP tap filter. | ||
common.tap.v3.CommonExtensionConfig common_config = 1 | ||
[(validate.rules).message = {required: true}]; | ||
|
||
// Indicates whether HTTP tap filter records the time stamp for request/response headers. | ||
// 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; | ||
} |
80 changes: 80 additions & 0 deletions
80
...5da9f74e9cff9346eea6a6cdb09595ffde0adc1ff881e5dea59181f69e5fe0a88103e07deb660c3ebe9baeb66
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
syntax = "proto3"; | ||
|
||
package envoy.data.tap.v3; | ||
|
||
import "envoy/config/core/v3/base.proto"; | ||
import "envoy/data/tap/v3/common.proto"; | ||
|
||
import "google/protobuf/timestamp.proto"; | ||
|
||
import "udpa/annotations/status.proto"; | ||
import "udpa/annotations/versioning.proto"; | ||
|
||
option java_package = "io.envoyproxy.envoy.data.tap.v3"; | ||
option java_outer_classname = "HttpProto"; | ||
option java_multiple_files = true; | ||
option go_package = "github.com/envoyproxy/go-control-plane/envoy/data/tap/v3;tapv3"; | ||
option (udpa.annotations.file_status).package_version_status = ACTIVE; | ||
|
||
// [#protodoc-title: HTTP tap data] | ||
|
||
// A fully buffered HTTP trace message. | ||
message HttpBufferedTrace { | ||
option (udpa.annotations.versioning).previous_message_type = | ||
"envoy.data.tap.v2alpha.HttpBufferedTrace"; | ||
|
||
// HTTP message wrapper. | ||
message Message { | ||
option (udpa.annotations.versioning).previous_message_type = | ||
"envoy.data.tap.v2alpha.HttpBufferedTrace.Message"; | ||
|
||
// Message headers. | ||
repeated config.core.v3.HeaderValue headers = 1; | ||
|
||
// Message body. | ||
Body body = 2; | ||
|
||
// Message trailers. | ||
repeated config.core.v3.HeaderValue trailers = 3; | ||
|
||
// The timestamp after receiving the message headers. | ||
google.protobuf.Timestamp headers_received_time = 4; | ||
} | ||
|
||
// Request message. | ||
Message request = 1; | ||
|
||
// Response message. | ||
Message response = 2; | ||
} | ||
|
||
// A streamed HTTP trace segment. Multiple segments make up a full trace. | ||
// [#next-free-field: 8] | ||
message HttpStreamedTraceSegment { | ||
option (udpa.annotations.versioning).previous_message_type = | ||
"envoy.data.tap.v2alpha.HttpStreamedTraceSegment"; | ||
|
||
// Trace ID unique to the originating Envoy only. Trace IDs can repeat and should not be used | ||
// for long term stable uniqueness. | ||
uint64 trace_id = 1; | ||
|
||
oneof message_piece { | ||
// Request headers. | ||
config.core.v3.HeaderMap request_headers = 2; | ||
|
||
// Request body chunk. | ||
Body request_body_chunk = 3; | ||
|
||
// Request trailers. | ||
config.core.v3.HeaderMap request_trailers = 4; | ||
|
||
// Response headers. | ||
config.core.v3.HeaderMap response_headers = 5; | ||
|
||
// Response body chunk. | ||
Body response_body_chunk = 6; | ||
|
||
// Response trailers. | ||
config.core.v3.HeaderMap response_trailers = 7; | ||
} | ||
} |
543 changes: 543 additions & 0 deletions
543
...055ebf5e1a993e1f827f62a0aff2367a14eb11cc14a1ad85d44f34a4b7b6a38ad472d8c8d280e41f1c2ebe977
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.