lightstep.proto 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. syntax = "proto3";
  2. package envoy.config.trace.v2;
  3. import "udpa/annotations/status.proto";
  4. import "validate/validate.proto";
  5. option java_package = "io.envoyproxy.envoy.config.trace.v2";
  6. option java_outer_classname = "LightstepProto";
  7. option java_multiple_files = true;
  8. option go_package = "github.com/envoyproxy/go-control-plane/envoy/config/trace/v2;tracev2";
  9. option (udpa.annotations.file_status).package_version_status = FROZEN;
  10. // [#protodoc-title: LightStep tracer]
  11. // Configuration for the LightStep tracer.
  12. // [#extension: envoy.tracers.lightstep]
  13. message LightstepConfig {
  14. // Available propagation modes
  15. enum PropagationMode {
  16. // Propagate trace context in the single header x-ot-span-context.
  17. ENVOY = 0;
  18. // Propagate trace context using LightStep's native format.
  19. LIGHTSTEP = 1;
  20. // Propagate trace context using the b3 format.
  21. B3 = 2;
  22. // Propagation trace context using the w3 trace-context standard.
  23. TRACE_CONTEXT = 3;
  24. }
  25. // The cluster manager cluster that hosts the LightStep collectors.
  26. string collector_cluster = 1 [(validate.rules).string = {min_bytes: 1}];
  27. // File containing the access token to the `LightStep
  28. // <https://lightstep.com/>`_ API.
  29. string access_token_file = 2 [(validate.rules).string = {min_bytes: 1}];
  30. // Propagation modes to use by LightStep's tracer.
  31. repeated PropagationMode propagation_modes = 3
  32. [(validate.rules).repeated = {items {enum {defined_only: true}}}];
  33. }