xref: /aosp_15_r20/external/grpc-grpc-java/xds/third_party/envoy/src/main/proto/envoy/config/trace/v3/opentelemetry.proto (revision e07d83d3ffcef9ecfc9f7f475418ec639ff0e5fe)
1syntax = "proto3";
2
3package envoy.config.trace.v3;
4
5import "envoy/config/core/v3/grpc_service.proto";
6
7import "udpa/annotations/status.proto";
8
9option java_package = "io.envoyproxy.envoy.config.trace.v3";
10option java_outer_classname = "OpentelemetryProto";
11option java_multiple_files = true;
12option go_package = "github.com/envoyproxy/go-control-plane/envoy/config/trace/v3;tracev3";
13option (udpa.annotations.file_status).package_version_status = ACTIVE;
14
15// [#protodoc-title: OpenTelemetry tracer]
16
17// Configuration for the OpenTelemetry tracer.
18//  [#extension: envoy.tracers.opentelemetry]
19message OpenTelemetryConfig {
20  // The upstream gRPC cluster that will receive OTLP traces.
21  // Note that the tracer drops traces if the server does not read data fast enough.
22  // This field can be left empty to disable reporting traces to the collector.
23  core.v3.GrpcService grpc_service = 1;
24
25  // The name for the service. This will be populated in the ResourceSpan Resource attributes.
26  // If it is not provided, it will default to "unknown_service:envoy".
27  string service_name = 2;
28}
29