-
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.
Found new managed modules references (#545)
- Loading branch information
1 parent
24d19e8
commit a82ab8e
Showing
10 changed files
with
2,402 additions
and
3 deletions.
There are no files selected for viewing
574 changes: 574 additions & 0 deletions
574
...4841dd6a6e9a55d88d80d8da1aa41ea2fa66ce132d92c57b1654af413df542c6fd4916538d6a7a6c4463b4f6b
Large diffs are not rendered by default.
Oops, something went wrong.
574 changes: 574 additions & 0 deletions
574
...ba57f0e2a88c515af5770c29289641e224499a6371bf7284072e21c476a225d53448e119b3c25f5d9c3f18494
Large diffs are not rendered by default.
Oops, something went wrong.
156 changes: 156 additions & 0 deletions
156
...7d19d21d4e817abd33db4035ecde0bfcb646dee74746eb22c9dc58e144addb3bdd7ef2d7ee305f1306190cfb2
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,156 @@ | ||
syntax = "proto3"; | ||
|
||
package envoy.config.trace.v3; | ||
|
||
import "envoy/config/core/v3/grpc_service.proto"; | ||
|
||
import "opencensus/proto/trace/v1/trace_config.proto"; | ||
|
||
import "envoy/annotations/deprecation.proto"; | ||
import "udpa/annotations/migrate.proto"; | ||
import "udpa/annotations/status.proto"; | ||
import "udpa/annotations/versioning.proto"; | ||
|
||
option java_package = "io.envoyproxy.envoy.config.trace.v3"; | ||
option java_outer_classname = "OpencensusProto"; | ||
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.opencensus.v4alpha"; | ||
option (udpa.annotations.file_status).package_version_status = ACTIVE; | ||
|
||
// [#protodoc-title: OpenCensus tracer] | ||
|
||
// Configuration for the OpenCensus tracer. | ||
// [#next-free-field: 15] | ||
// [#extension: envoy.tracers.opencensus] | ||
message OpenCensusConfig { | ||
option (udpa.annotations.versioning).previous_message_type = | ||
"envoy.config.trace.v2.OpenCensusConfig"; | ||
|
||
enum TraceContext { | ||
// No-op default, no trace context is utilized. | ||
NONE = 0; | ||
|
||
// W3C Trace-Context format "traceparent:" header. | ||
TRACE_CONTEXT = 1; | ||
|
||
// Binary "grpc-trace-bin:" header. | ||
GRPC_TRACE_BIN = 2; | ||
|
||
// "X-Cloud-Trace-Context:" header. | ||
CLOUD_TRACE_CONTEXT = 3; | ||
|
||
// X-B3-* headers. | ||
B3 = 4; | ||
} | ||
|
||
reserved 7; | ||
|
||
// Configures tracing, e.g. the sampler, max number of annotations, etc. | ||
opencensus.proto.trace.v1.TraceConfig trace_config = 1 [ | ||
deprecated = true, | ||
(envoy.annotations.deprecated_at_minor_version) = "3.0", | ||
(envoy.annotations.disallowed_by_default) = true | ||
]; | ||
|
||
// Enables the stdout exporter if set to true. This is intended for debugging | ||
// purposes. | ||
bool stdout_exporter_enabled = 2 [ | ||
deprecated = true, | ||
(envoy.annotations.deprecated_at_minor_version) = "3.0", | ||
(envoy.annotations.disallowed_by_default) = true | ||
]; | ||
|
||
// Enables the Stackdriver exporter if set to true. The project_id must also | ||
// be set. | ||
bool stackdriver_exporter_enabled = 3 [ | ||
deprecated = true, | ||
(envoy.annotations.deprecated_at_minor_version) = "3.0", | ||
(envoy.annotations.disallowed_by_default) = true | ||
]; | ||
|
||
// The Cloud project_id to use for Stackdriver tracing. | ||
string stackdriver_project_id = 4 [ | ||
deprecated = true, | ||
(envoy.annotations.deprecated_at_minor_version) = "3.0", | ||
(envoy.annotations.disallowed_by_default) = true | ||
]; | ||
|
||
// (optional) By default, the Stackdriver exporter will connect to production | ||
// Stackdriver. If stackdriver_address is non-empty, it will instead connect | ||
// to this address, which is in the gRPC format: | ||
// https://github.com/grpc/grpc/blob/master/doc/naming.md | ||
string stackdriver_address = 10 [ | ||
deprecated = true, | ||
(envoy.annotations.deprecated_at_minor_version) = "3.0", | ||
(envoy.annotations.disallowed_by_default) = true | ||
]; | ||
|
||
// (optional) The gRPC server that hosts Stackdriver tracing service. Only | ||
// Google gRPC is supported. If :ref:`target_uri <envoy_v3_api_field_config.core.v3.GrpcService.GoogleGrpc.target_uri>` | ||
// is not provided, the default production Stackdriver address will be used. | ||
core.v3.GrpcService stackdriver_grpc_service = 13 [ | ||
deprecated = true, | ||
(envoy.annotations.deprecated_at_minor_version) = "3.0", | ||
(envoy.annotations.disallowed_by_default) = true | ||
]; | ||
|
||
// Enables the Zipkin exporter if set to true. The url and service name must | ||
// also be set. This is deprecated, prefer to use Envoy's :ref:`native Zipkin | ||
// tracer <envoy_v3_api_msg_config.trace.v3.ZipkinConfig>`. | ||
bool zipkin_exporter_enabled = 5 [ | ||
deprecated = true, | ||
(envoy.annotations.deprecated_at_minor_version) = "3.0", | ||
(envoy.annotations.disallowed_by_default) = true | ||
]; | ||
|
||
// The URL to Zipkin, e.g. "http://127.0.0.1:9411/api/v2/spans". This is | ||
// deprecated, prefer to use Envoy's :ref:`native Zipkin tracer | ||
// <envoy_v3_api_msg_config.trace.v3.ZipkinConfig>`. | ||
string zipkin_url = 6 [ | ||
deprecated = true, | ||
(envoy.annotations.deprecated_at_minor_version) = "3.0", | ||
(envoy.annotations.disallowed_by_default) = true | ||
]; | ||
|
||
// Enables the OpenCensus Agent exporter if set to true. The ocagent_address or | ||
// ocagent_grpc_service must also be set. | ||
bool ocagent_exporter_enabled = 11 [ | ||
deprecated = true, | ||
(envoy.annotations.deprecated_at_minor_version) = "3.0", | ||
(envoy.annotations.disallowed_by_default) = true | ||
]; | ||
|
||
// The address of the OpenCensus Agent, if its exporter is enabled, in gRPC | ||
// format: https://github.com/grpc/grpc/blob/master/doc/naming.md | ||
// [#comment:TODO: deprecate this field] | ||
string ocagent_address = 12 [ | ||
deprecated = true, | ||
(envoy.annotations.deprecated_at_minor_version) = "3.0", | ||
(envoy.annotations.disallowed_by_default) = true | ||
]; | ||
|
||
// (optional) The gRPC server hosted by the OpenCensus Agent. Only Google gRPC is supported. | ||
// This is only used if the ocagent_address is left empty. | ||
core.v3.GrpcService ocagent_grpc_service = 14 [ | ||
deprecated = true, | ||
(envoy.annotations.deprecated_at_minor_version) = "3.0", | ||
(envoy.annotations.disallowed_by_default) = true | ||
]; | ||
|
||
// List of incoming trace context headers we will accept. First one found | ||
// wins. | ||
repeated TraceContext incoming_trace_context = 8 [ | ||
deprecated = true, | ||
(envoy.annotations.deprecated_at_minor_version) = "3.0", | ||
(envoy.annotations.disallowed_by_default) = true | ||
]; | ||
|
||
// List of outgoing trace context headers we will produce. | ||
repeated TraceContext outgoing_trace_context = 9 [ | ||
deprecated = true, | ||
(envoy.annotations.deprecated_at_minor_version) = "3.0", | ||
(envoy.annotations.disallowed_by_default) = true | ||
]; | ||
} |
Oops, something went wrong.