-
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
ea9b2b3
commit 3098fa6
Showing
9 changed files
with
2,188 additions
and
4 deletions.
There are no files selected for viewing
571 changes: 571 additions & 0 deletions
571
...283042b51cea9936e81aaee83811546b2118b0edf9be087fa4941ceacfa470a42697249b9e250a8981a09dd3b
Large diffs are not rendered by default.
Oops, something went wrong.
791 changes: 791 additions & 0 deletions
791
...f1d0a22cf7a7c5fe77daeea2ba3b82396867185ed8901323468139b01e502fc4a4bc46514a3ed217d6a486756
Large diffs are not rendered by default.
Oops, something went wrong.
91 changes: 91 additions & 0 deletions
91
...6f98204a7b19739bb3411d64de521b48fa071bb30b49b74105a0d848e14bd8c8cc6117b8af917fb4c7ff8155d
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,91 @@ | ||
syntax = "proto3"; | ||
|
||
package envoy.config.trace.v3; | ||
|
||
import "google/protobuf/wrappers.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 = "ZipkinProto"; | ||
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.zipkin.v4alpha"; | ||
option (udpa.annotations.file_status).package_version_status = ACTIVE; | ||
|
||
// [#protodoc-title: Zipkin tracer] | ||
|
||
// Configuration for the Zipkin tracer. | ||
// [#extension: envoy.tracers.zipkin] | ||
// [#next-free-field: 8] | ||
message ZipkinConfig { | ||
option (udpa.annotations.versioning).previous_message_type = "envoy.config.trace.v2.ZipkinConfig"; | ||
|
||
// Available Zipkin collector endpoint versions. | ||
enum CollectorEndpointVersion { | ||
// Zipkin API v1, JSON over HTTP. | ||
// [#comment: The default implementation of Zipkin client before this field is added was only v1 | ||
// and the way user configure this was by not explicitly specifying the version. Consequently, | ||
// before this is added, the corresponding Zipkin collector expected to receive v1 payload. | ||
// Hence the motivation of adding HTTP_JSON_V1 as the default is to avoid a breaking change when | ||
// user upgrading Envoy with this change. Furthermore, we also immediately deprecate this field, | ||
// since in Zipkin realm this v1 version is considered to be not preferable anymore.] | ||
DEPRECATED_AND_UNAVAILABLE_DO_NOT_USE = 0 | ||
[deprecated = true, (envoy.annotations.disallowed_by_default_enum) = true]; | ||
|
||
// Zipkin API v2, JSON over HTTP. | ||
HTTP_JSON = 1; | ||
|
||
// Zipkin API v2, protobuf over HTTP. | ||
HTTP_PROTO = 2; | ||
|
||
// [#not-implemented-hide:] | ||
GRPC = 3; | ||
} | ||
|
||
// The cluster manager cluster that hosts the Zipkin collectors. | ||
string collector_cluster = 1 [(validate.rules).string = {min_len: 1}]; | ||
|
||
// The API endpoint of the Zipkin service where the spans will be sent. When | ||
// using a standard Zipkin installation. | ||
string collector_endpoint = 2 [(validate.rules).string = {min_len: 1}]; | ||
|
||
// Determines whether a 128bit trace id will be used when creating a new | ||
// trace instance. The default value is false, which will result in a 64 bit trace id being used. | ||
bool trace_id_128bit = 3; | ||
|
||
// Determines whether client and server spans will share the same span context. | ||
// The default value is true. | ||
google.protobuf.BoolValue shared_span_context = 4; | ||
|
||
// Determines the selected collector endpoint version. | ||
CollectorEndpointVersion collector_endpoint_version = 5; | ||
|
||
// Optional hostname to use when sending spans to the collector_cluster. Useful for collectors | ||
// that require a specific hostname. Defaults to :ref:`collector_cluster <envoy_v3_api_field_config.trace.v3.ZipkinConfig.collector_cluster>` above. | ||
string collector_hostname = 6; | ||
|
||
// If this is set to true, then Envoy will be treated as an independent hop in trace chain. A complete span pair will be created for a single | ||
// request. Server span will be created for the downstream request and client span will be created for the related upstream request. | ||
// This should be set to true in the following cases: | ||
// | ||
// * The Envoy Proxy is used as gateway or ingress. | ||
// * The Envoy Proxy is used as sidecar but inbound traffic capturing or outbound traffic capturing is disabled. | ||
// * Any case that the :ref:`start_child_span of router <envoy_v3_api_field_extensions.filters.http.router.v3.Router.start_child_span>` is set to true. | ||
// | ||
// .. attention:: | ||
// | ||
// If this is set to true, then the | ||
// :ref:`start_child_span of router <envoy_v3_api_field_extensions.filters.http.router.v3.Router.start_child_span>` | ||
// SHOULD be set to true also to ensure the correctness of trace chain. | ||
// | ||
// Both this field and ``start_child_span`` are deprecated by the | ||
// :ref:`spawn_upstream_span <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.spawn_upstream_span>`. | ||
// Please use that ``spawn_upstream_span`` field to control the span creation. | ||
bool split_spans_for_request = 7 | ||
[deprecated = true, (envoy.annotations.deprecated_at_minor_version) = "3.0"]; | ||
} |
Oops, something went wrong.