...

Text file src/github.com/datawire/ambassador/v2/api/envoy/config/trace/v3/dynamic_ot.proto

Documentation: github.com/datawire/ambassador/v2/api/envoy/config/trace/v3

     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 (udpa.annotations.file_migrate).move_to_package =
    16    "envoy.extensions.tracers.dynamic_ot.v4alpha";
    17option (udpa.annotations.file_status).package_version_status = ACTIVE;
    18
    19// [#protodoc-title: Dynamically loadable OpenTracing tracer]
    20
    21// DynamicOtConfig is used to dynamically load a tracer from a shared library
    22// that implements the `OpenTracing dynamic loading API
    23// <https://github.com/opentracing/opentracing-cpp>`_.
    24// [#extension: envoy.tracers.dynamic_ot]
    25message DynamicOtConfig {
    26  option (udpa.annotations.versioning).previous_message_type =
    27      "envoy.config.trace.v2.DynamicOtConfig";
    28
    29  // Dynamic library implementing the `OpenTracing API
    30  // <https://github.com/opentracing/opentracing-cpp>`_.
    31  string library = 1 [(validate.rules).string = {min_len: 1}];
    32
    33  // The configuration to use when creating a tracer from the given dynamic
    34  // library.
    35  google.protobuf.Struct config = 2;
    36}

View as plain text