@@ -3,7 +3,9 @@ syntax = "proto3";
33package envoy.extensions.tracers.opentelemetry.samplers.v3 ;
44
55import "envoy/config/core/v3/http_service.proto" ;
6+ import "envoy/config/core/v3/http_uri.proto" ;
67
8+ import "envoy/annotations/deprecation.proto" ;
79import "udpa/annotations/status.proto" ;
810
911option java_package = "io.envoyproxy.envoy.extensions.tracers.opentelemetry.samplers.v3" ;
@@ -16,6 +18,7 @@ option (udpa.annotations.file_status).package_version_status = ACTIVE;
1618
1719// Configuration for the Dynatrace Sampler extension.
1820// [#extension: envoy.tracers.opentelemetry.samplers.dynatrace]
21+ // [#next-free-field: 7]
1922message DynatraceSamplerConfig {
2023 // The Dynatrace tenant.
2124 //
@@ -27,6 +30,22 @@ message DynatraceSamplerConfig {
2730 // The value can be obtained from the Envoy deployment page in Dynatrace.
2831 int32 cluster_id = 2 ;
2932
33+ // [#not-implemented-hide:]
34+ config.core.v3.HttpUri http_uri = 3
35+ [deprecated = true , (envoy.annotations.deprecated_at_minor_version ) = "3.0" ];
36+
37+ // [#not-implemented-hide:]
38+ string token = 4 [deprecated = true , (envoy.annotations.deprecated_at_minor_version ) = "3.0" ];
39+
40+ // Default number of root spans per minute, used when the value can't be obtained from the Dynatrace API.
41+ //
42+ // A default value of ``1000`` is used when:
43+ //
44+ // - ``root_spans_per_minute`` is unset
45+ // - ``root_spans_per_minute`` is set to 0
46+ //
47+ uint32 root_spans_per_minute = 5 ;
48+
3049 // The HTTP service to fetch the sampler configuration from the Dynatrace API (root spans per minute). For example:
3150 //
3251 // .. code-block:: yaml
@@ -41,14 +60,5 @@ message DynatraceSamplerConfig {
4160 // key : "authorization"
4261 // value: "Api-Token dt..."
4362 //
44- config.core.v3.HttpService http_service = 3 ;
45-
46- // Default number of root spans per minute, used when the value can't be obtained from the Dynatrace API.
47- //
48- // A default value of ``1000`` is used when:
49- //
50- // - ``root_spans_per_minute`` is unset
51- // - ``root_spans_per_minute`` is set to 0
52- //
53- uint32 root_spans_per_minute = 4 ;
63+ config.core.v3.HttpService http_service = 6 ;
5464}
0 commit comments