From 45eb69d100528000f8917583b75aab7384e1f41d Mon Sep 17 00:00:00 2001 From: "data-plane-api(Azure Pipelines)" Date: Tue, 2 Aug 2022 15:28:22 +0000 Subject: [PATCH] Add service.name to OpenTelemetry tracer (#22472) Signed-off-by: Alex Ellis Mirrored from https://github.com/envoyproxy/envoy @ 40d2bd404c6ead78c782f93fb6203d99242aa61b --- envoy/config/trace/v3/opentelemetry.proto | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/envoy/config/trace/v3/opentelemetry.proto b/envoy/config/trace/v3/opentelemetry.proto index 1bb44fd0..67cfc3fe 100644 --- a/envoy/config/trace/v3/opentelemetry.proto +++ b/envoy/config/trace/v3/opentelemetry.proto @@ -21,4 +21,8 @@ message OpenTelemetryConfig { // The upstream gRPC cluster that will receive OTLP traces. // Note that the tracer drops traces if the server does not read data fast enough. core.v3.GrpcService grpc_service = 1 [(validate.rules).message = {required: true}]; + + // The name for the service. This will be populated in the ResourceSpan Resource attributes. + // If it is not provided, it will default to "unknown_service:envoy". + string service_name = 2; }