http_tracer.proto 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. syntax = "proto3";
  2. package envoy.config.trace.v3;
  3. import "google/protobuf/any.proto";
  4. import "udpa/annotations/status.proto";
  5. import "udpa/annotations/versioning.proto";
  6. import "validate/validate.proto";
  7. option java_package = "io.envoyproxy.envoy.config.trace.v3";
  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/v3;tracev3";
  11. option (udpa.annotations.file_status).package_version_status = ACTIVE;
  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_v3_api_msg_config.trace.v3.Tracing.Http>`.
  23. message Tracing {
  24. option (udpa.annotations.versioning).previous_message_type = "envoy.config.trace.v2.Tracing";
  25. // Configuration for an HTTP tracer provider used by Envoy.
  26. //
  27. // The configuration is defined by the
  28. // :ref:`HttpConnectionManager.Tracing <envoy_v3_api_msg_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing>`
  29. // :ref:`provider <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.provider>`
  30. // field.
  31. message Http {
  32. option (udpa.annotations.versioning).previous_message_type =
  33. "envoy.config.trace.v2.Tracing.Http";
  34. reserved 2;
  35. reserved "config";
  36. // The name of the HTTP trace driver to instantiate. The name must match a
  37. // supported HTTP trace driver.
  38. // See the :ref:`extensions listed in typed_config below <extension_category_envoy.tracers>` for the default list of the HTTP trace driver.
  39. string name = 1 [(validate.rules).string = {min_len: 1}];
  40. // Trace driver specific configuration which must be set according to the driver being instantiated.
  41. // [#extension-category: envoy.tracers]
  42. oneof config_type {
  43. google.protobuf.Any typed_config = 3;
  44. }
  45. }
  46. // Provides configuration for the HTTP tracer.
  47. Http http = 1;
  48. }