File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ import "envoy/config/core/v3/extension.proto";
6
6
import "envoy/config/core/v3/grpc_service.proto" ;
7
7
import "envoy/config/core/v3/http_service.proto" ;
8
8
9
+ import "google/protobuf/wrappers.proto" ;
10
+
9
11
import "udpa/annotations/migrate.proto" ;
10
12
import "udpa/annotations/status.proto" ;
11
13
@@ -19,7 +21,7 @@ option (udpa.annotations.file_status).package_version_status = ACTIVE;
19
21
20
22
// Configuration for the OpenTelemetry tracer.
21
23
// [#extension: envoy.tracers.opentelemetry]
22
- // [#next-free-field: 6 ]
24
+ // [#next-free-field: 7 ]
23
25
message OpenTelemetryConfig {
24
26
// The upstream gRPC cluster that will receive OTLP traces.
25
27
// Note that the tracer drops traces if the server does not read data fast enough.
@@ -57,4 +59,9 @@ message OpenTelemetryConfig {
57
59
// See: `OpenTelemetry sampler specification <https://opentelemetry.io/docs/specs/otel/trace/sdk/#sampler>`_
58
60
// [#extension-category: envoy.tracers.opentelemetry.samplers]
59
61
core.v3.TypedExtensionConfig sampler = 5 ;
62
+
63
+ // Envoy caches the span in memory when the OpenTelemetry backend service is temporarily unavailable.
64
+ // This field specifies the maximum number of spans that can be cached. If not specified, the
65
+ // default is 1024.
66
+ google.protobuf.UInt32Value max_cache_size = 6 ;
60
67
}
You can’t perform that action at this time.
0 commit comments