Add service.name to OpenTelemetry tracer (#22472)

Signed-off-by: Alex Ellis <ellisonjtk@gmail.com>

Mirrored from https://github.com/envoyproxy/envoy @ 40d2bd404c6ead78c782f93fb6203d99242aa61b
pull/626/head
data-plane-api(Azure Pipelines) 2 years ago
parent 6060290dd5
commit 45eb69d100
  1. 4
      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;
}

Loading…
Cancel
Save