-
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
4c7b310
commit 09f72f0
Showing
9 changed files
with
1,328 additions
and
4 deletions.
There are no files selected for viewing
47 changes: 47 additions & 0 deletions
47
...1481e73a679a5db9bf0943d4646ff185346f6dcfd6f1989eecedb75b1180b64cb4a2283c46a13f04ad9831e89
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,47 @@ | ||
syntax = "proto3"; | ||
|
||
package envoy.config.trace.v3; | ||
|
||
import "google/protobuf/struct.proto"; | ||
|
||
import "envoy/annotations/deprecation.proto"; | ||
import "udpa/annotations/migrate.proto"; | ||
import "udpa/annotations/status.proto"; | ||
import "udpa/annotations/versioning.proto"; | ||
import "validate/validate.proto"; | ||
|
||
option java_package = "io.envoyproxy.envoy.config.trace.v3"; | ||
option java_outer_classname = "DynamicOtProto"; | ||
option java_multiple_files = true; | ||
option go_package = "github.com/envoyproxy/go-control-plane/envoy/config/trace/v3;tracev3"; | ||
option (udpa.annotations.file_migrate).move_to_package = | ||
"envoy.extensions.tracers.dynamic_ot.v4alpha"; | ||
option (udpa.annotations.file_status).package_version_status = ACTIVE; | ||
|
||
// [#protodoc-title: Dynamically loadable OpenTracing tracer] | ||
|
||
// DynamicOtConfig is used to dynamically load a tracer from a shared library | ||
// that implements the `OpenTracing dynamic loading API | ||
// <https://github.com/opentracing/opentracing-cpp>`_. | ||
// [#extension: envoy.tracers.dynamic_ot] | ||
message DynamicOtConfig { | ||
option (udpa.annotations.versioning).previous_message_type = | ||
"envoy.config.trace.v2.DynamicOtConfig"; | ||
|
||
// Dynamic library implementing the `OpenTracing API | ||
// <https://github.com/opentracing/opentracing-cpp>`_. | ||
string library = 1 [ | ||
deprecated = true, | ||
(validate.rules).string = {min_len: 1}, | ||
(envoy.annotations.deprecated_at_minor_version) = "3.0", | ||
(envoy.annotations.disallowed_by_default) = true | ||
]; | ||
|
||
// The configuration to use when creating a tracer from the given dynamic | ||
// library. | ||
google.protobuf.Struct config = 2 [ | ||
deprecated = true, | ||
(envoy.annotations.deprecated_at_minor_version) = "3.0", | ||
(envoy.annotations.disallowed_by_default) = true | ||
]; | ||
} |
569 changes: 569 additions & 0 deletions
569
...c87c41322defe4331ccc91295255e13a1b42f268f316cd24762f717bfab5105a2ed15e80e2aac844eb30dfc27
Large diffs are not rendered by default.
Oops, something went wrong.
70 changes: 70 additions & 0 deletions
70
...6dcce96f97287891eead20c17742a2a6fb28f74da4990a68526c67c07f24b23cb880dd2e2ff4a1088fabf0771
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,70 @@ | ||
syntax = "proto3"; | ||
|
||
package envoy.extensions.access_loggers.fluentd.v3; | ||
|
||
import "google/protobuf/duration.proto"; | ||
import "google/protobuf/struct.proto"; | ||
import "google/protobuf/wrappers.proto"; | ||
|
||
import "udpa/annotations/status.proto"; | ||
import "validate/validate.proto"; | ||
|
||
option java_package = "io.envoyproxy.envoy.extensions.access_loggers.fluentd.v3"; | ||
option java_outer_classname = "FluentdProto"; | ||
option java_multiple_files = true; | ||
option go_package = "github.com/envoyproxy/go-control-plane/envoy/extensions/access_loggers/fluentd/v3;fluentdv3"; | ||
option (udpa.annotations.file_status).package_version_status = ACTIVE; | ||
|
||
// [#protodoc-title: Fluentd access log] | ||
|
||
// Configuration for the *envoy.access_loggers.fluentd* :ref:`AccessLog <envoy_v3_api_msg_config.accesslog.v3.AccessLog>`. | ||
// This access log extension will send the emitted access logs over a TCP connection to an upstream that is accepting | ||
// the Fluentd Forward Protocol as described in: `Fluentd Forward Protocol Specification | ||
// <https://github.com/fluent/fluentd/wiki/Forward-Protocol-Specification-v1>`_. | ||
// [#extension: envoy.access_loggers.fluentd] | ||
// [#next-free-field: 7] | ||
message FluentdAccessLogConfig { | ||
// The upstream cluster to connect to for streaming the Fluentd messages. | ||
string cluster = 1 [(validate.rules).string = {min_len: 1}]; | ||
|
||
// A tag is a string separated with '.' (e.g. log.type) to categorize events. | ||
// See: https://github.com/fluent/fluentd/wiki/Forward-Protocol-Specification-v1#message-modes | ||
string tag = 2 [(validate.rules).string = {min_len: 1}]; | ||
|
||
// The prefix to use when emitting :ref:`statistics <config_access_log_stats>`. | ||
string stat_prefix = 3 [(validate.rules).string = {min_len: 1}]; | ||
|
||
// Interval for flushing access logs to the TCP stream. Logger will flush requests every time | ||
// this interval is elapsed, or when batch size limit is hit, whichever comes first. Defaults to | ||
// 1 second. | ||
google.protobuf.Duration buffer_flush_interval = 4 [(validate.rules).duration = {gt {}}]; | ||
|
||
// Soft size limit in bytes for access log entries buffer. The logger will buffer requests until | ||
// this limit it hit, or every time flush interval is elapsed, whichever comes first. When the buffer | ||
// limit is hit, the logger will immediately flush the buffer contents. Setting it to zero effectively | ||
// disables the batching. Defaults to 16384. | ||
google.protobuf.UInt32Value buffer_size_bytes = 5; | ||
|
||
// A struct that represents the record that is sent for each log entry. | ||
// https://github.com/fluent/fluentd/wiki/Forward-Protocol-Specification-v1#entry | ||
// Values are rendered as strings, numbers, or boolean values as appropriate. | ||
// Nested JSON objects may be produced by some command operators (e.g. FILTER_STATE or DYNAMIC_METADATA). | ||
// See :ref:`format string<config_access_log_format_strings>` documentation for a specific command operator details. | ||
// | ||
// .. validated-code-block:: yaml | ||
// :type-name: envoy.extensions.access_loggers.fluentd.v3.FluentdAccessLogConfig | ||
// | ||
// record: | ||
// status: "%RESPONSE_CODE%" | ||
// message: "%LOCAL_REPLY_BODY%" | ||
// | ||
// The following msgpack record would be created: | ||
// | ||
// .. code-block:: json | ||
// | ||
// { | ||
// "status": 500, | ||
// "message": "My error message" | ||
// } | ||
google.protobuf.Struct record = 6 [(validate.rules).message = {required: true}]; | ||
} |
Oops, something went wrong.