You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
2.9 KiB
74 lines
2.9 KiB
5 years ago
|
syntax = "proto3";
|
||
|
|
||
|
package envoy.config.trace.v4alpha;
|
||
|
|
||
|
import "google/protobuf/any.proto";
|
||
|
import "google/protobuf/struct.proto";
|
||
|
|
||
|
import "udpa/annotations/status.proto";
|
||
|
import "udpa/annotations/versioning.proto";
|
||
|
import "validate/validate.proto";
|
||
|
|
||
|
option java_package = "io.envoyproxy.envoy.config.trace.v4alpha";
|
||
|
option java_outer_classname = "HttpTracerProto";
|
||
|
option java_multiple_files = true;
|
||
|
option (udpa.annotations.file_status).package_version_status = NEXT_MAJOR_VERSION_CANDIDATE;
|
||
|
|
||
|
// [#protodoc-title: Tracing]
|
||
|
// Tracing :ref:`architecture overview <arch_overview_tracing>`.
|
||
|
|
||
|
// The tracing configuration specifies settings for an HTTP tracer provider used by Envoy.
|
||
|
//
|
||
|
// Envoy may support other tracers in the future, but right now the HTTP tracer is the only one
|
||
|
// supported.
|
||
|
//
|
||
|
// .. attention::
|
||
|
//
|
||
|
// Use of this message type has been deprecated in favor of direct use of
|
||
|
// :ref:`Tracing.Http <envoy_api_msg_config.trace.v4alpha.Tracing.Http>`.
|
||
|
message Tracing {
|
||
|
option (udpa.annotations.versioning).previous_message_type = "envoy.config.trace.v3.Tracing";
|
||
|
|
||
|
// Configuration for an HTTP tracer provider used by Envoy.
|
||
|
//
|
||
|
// The configuration is defined by the
|
||
|
// :ref:`HttpConnectionManager.Tracing <envoy_api_msg_extensions.filters.network.http_connection_manager.v4alpha.HttpConnectionManager.Tracing>`
|
||
|
// :ref:`provider <envoy_api_field_extensions.filters.network.http_connection_manager.v4alpha.HttpConnectionManager.Tracing.provider>`
|
||
|
// field.
|
||
|
message Http {
|
||
|
option (udpa.annotations.versioning).previous_message_type =
|
||
|
"envoy.config.trace.v3.Tracing.Http";
|
||
|
|
||
|
reserved 2;
|
||
|
|
||
|
reserved "config";
|
||
|
|
||
|
// The name of the HTTP trace driver to instantiate. The name must match a
|
||
|
// supported HTTP trace driver. Built-in trace drivers:
|
||
|
//
|
||
|
// - *envoy.tracers.lightstep*
|
||
|
// - *envoy.tracers.zipkin*
|
||
|
// - *envoy.tracers.dynamic_ot*
|
||
|
// - *envoy.tracers.datadog*
|
||
|
// - *envoy.tracers.opencensus*
|
||
|
// - *envoy.tracers.xray*
|
||
|
string name = 1 [(validate.rules).string = {min_bytes: 1}];
|
||
|
|
||
|
// Trace driver specific configuration which depends on the driver being instantiated.
|
||
|
// See the trace drivers for examples:
|
||
|
//
|
||
|
// - :ref:`LightstepConfig <envoy_api_msg_extensions.tracers.lightstep.v4alpha.LightstepConfig>`
|
||
|
// - :ref:`ZipkinConfig <envoy_api_msg_extensions.tracers.zipkin.v4alpha.ZipkinConfig>`
|
||
|
// - :ref:`DynamicOtConfig <envoy_api_msg_extensions.tracers.dynamic_ot.v4alpha.DynamicOtConfig>`
|
||
|
// - :ref:`DatadogConfig <envoy_api_msg_extensions.tracers.datadog.v4alpha.DatadogConfig>`
|
||
|
// - :ref:`OpenCensusConfig <envoy_api_msg_extensions.tracers.opencensus.v4alpha.OpenCensusConfig>`
|
||
|
// - :ref:`AWS X-Ray <envoy_api_msg_extensions.tracers.xray.v4alpha.XRayConfig>`
|
||
|
oneof config_type {
|
||
|
google.protobuf.Any typed_config = 3;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Provides configuration for the HTTP tracer.
|
||
|
Http http = 1;
|
||
|
}
|