http_tracer.proto 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. syntax = "proto3";
  2. package envoy.config.trace.v2;
  3. import "google/protobuf/any.proto";
  4. import "google/protobuf/struct.proto";
  5. import "udpa/annotations/status.proto";
  6. import "validate/validate.proto";
  7. option java_package = "io.envoyproxy.envoy.config.trace.v2";
  8. option java_outer_classname = "HttpTracerProto";
  9. option java_multiple_files = true;
  10. option go_package = "github.com/envoyproxy/go-control-plane/envoy/config/trace/v2;tracev2";
  11. option (udpa.annotations.file_status).package_version_status = FROZEN;
  12. // [#protodoc-title: Tracing]
  13. // Tracing :ref:`architecture overview <arch_overview_tracing>`.
  14. // The tracing configuration specifies settings for an HTTP tracer provider used by Envoy.
  15. //
  16. // Envoy may support other tracers in the future, but right now the HTTP tracer is the only one
  17. // supported.
  18. //
  19. // .. attention::
  20. //
  21. // Use of this message type has been deprecated in favor of direct use of
  22. // :ref:`Tracing.Http <envoy_api_msg_config.trace.v2.Tracing.Http>`.
  23. message Tracing {
  24. // Configuration for an HTTP tracer provider used by Envoy.
  25. //
  26. // The configuration is defined by the
  27. // :ref:`HttpConnectionManager.Tracing <envoy_api_msg_config.filter.network.http_connection_manager.v2.HttpConnectionManager.Tracing>`
  28. // :ref:`provider <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.Tracing.provider>`
  29. // field.
  30. message Http {
  31. // The name of the HTTP trace driver to instantiate. The name must match a
  32. // supported HTTP trace driver. Built-in trace drivers:
  33. //
  34. // - *envoy.tracers.lightstep*
  35. // - *envoy.tracers.zipkin*
  36. // - *envoy.tracers.dynamic_ot*
  37. // - *envoy.tracers.datadog*
  38. // - *envoy.tracers.opencensus*
  39. // - *envoy.tracers.xray*
  40. string name = 1 [(validate.rules).string = {min_bytes: 1}];
  41. // Trace driver specific configuration which depends on the driver being instantiated.
  42. // See the trace drivers for examples:
  43. //
  44. // - :ref:`LightstepConfig <envoy_api_msg_config.trace.v2.LightstepConfig>`
  45. // - :ref:`ZipkinConfig <envoy_api_msg_config.trace.v2.ZipkinConfig>`
  46. // - :ref:`DynamicOtConfig <envoy_api_msg_config.trace.v2.DynamicOtConfig>`
  47. // - :ref:`DatadogConfig <envoy_api_msg_config.trace.v2.DatadogConfig>`
  48. // - :ref:`OpenCensusConfig <envoy_api_msg_config.trace.v2.OpenCensusConfig>`
  49. // - :ref:`AWS X-Ray <envoy_api_msg_config.trace.v2alpha.XRayConfig>`
  50. oneof config_type {
  51. google.protobuf.Struct config = 2 [deprecated = true];
  52. google.protobuf.Any typed_config = 3;
  53. }
  54. }
  55. // Provides configuration for the HTTP tracer.
  56. Http http = 1;
  57. }