xref: /aosp_15_r20/external/grpc-grpc-java/xds/third_party/envoy/src/main/proto/envoy/config/trace/v3/dynamic_ot.proto (revision e07d83d3ffcef9ecfc9f7f475418ec639ff0e5fe)
1syntax = "proto3";
2
3package envoy.config.trace.v3;
4
5import "google/protobuf/struct.proto";
6
7import "udpa/annotations/migrate.proto";
8import "udpa/annotations/status.proto";
9import "udpa/annotations/versioning.proto";
10import "validate/validate.proto";
11
12option java_package = "io.envoyproxy.envoy.config.trace.v3";
13option java_outer_classname = "DynamicOtProto";
14option java_multiple_files = true;
15option go_package = "github.com/envoyproxy/go-control-plane/envoy/config/trace/v3;tracev3";
16option (udpa.annotations.file_migrate).move_to_package =
17    "envoy.extensions.tracers.dynamic_ot.v4alpha";
18option (udpa.annotations.file_status).package_version_status = ACTIVE;
19
20// [#protodoc-title: Dynamically loadable OpenTracing tracer]
21
22// DynamicOtConfig is used to dynamically load a tracer from a shared library
23// that implements the `OpenTracing dynamic loading API
24// <https://github.com/opentracing/opentracing-cpp>`_.
25// [#extension: envoy.tracers.dynamic_ot]
26message DynamicOtConfig {
27  option (udpa.annotations.versioning).previous_message_type =
28      "envoy.config.trace.v2.DynamicOtConfig";
29
30  // Dynamic library implementing the `OpenTracing API
31  // <https://github.com/opentracing/opentracing-cpp>`_.
32  string library = 1 [(validate.rules).string = {min_len: 1}];
33
34  // The configuration to use when creating a tracer from the given dynamic
35  // library.
36  google.protobuf.Struct config = 2;
37}
38