envoyproxy/envoy

tracing: Set span.kind tag for opencensus tracer when creating client/server spans

Open

#12,538 创建于 2020年8月7日

在 GitHub 查看
 (11 评论) (0 反应) (0 负责人)C++ (5,373 fork)batch import
area/tracingenhancementhelp wanted

仓库指标

Star
 (27,997 star)
PR 合并指标
 (平均合并 8天) (30 天内合并 378 个 PR)

描述

Currently OpenTracing tracers and the zipkin tracer derives the span.kind (or cs/cr/ss/sr annotations) from the tracing config "operation_name" - however opencensus tracer doesn't have this tag set.

The proxy needs to explicitly set this tag when creating the span. This is similiar to #3435 which was resolved in 42a9cae38dd3bf5264fb83f64e310b0d76ea4257 (but this time just for opencensus)

贡献者指南