yarpc / yarpc-go

A message passing platform for Go
MIT License
414 stars 103 forks source link

Add component tag to tracing spans #2309

Closed ChenX1993 closed 1 week ago

ChenX1993 commented 1 month ago

This PR is making a tiny change to add span component tag to tracing spans. According to the OpenTracing sematic conventions, the component tag indicates the library that created the spans.

The software package, framework, library, or module that generated the associated Span. E.g., "grpc", "django", "JDBI".

Internally at Uber, It is quite useful for the tracing team to understand the distribution of span creation among libraries in order to optimize the operational cost.