opened
avisbal
username_0
@uschi2000 / @schlosna - here is one approach of how we can add userId metadata to zipkin trace logs so we can filter on them in the Zipkin UI.

#### Proposed changes
 - `Span` now has a `Map<String,String>` field that is used to store contextual information on spans via zipkin `BinaryAnnotation`s
 - `TraceEnrichingFilter` stores userId metadata on the spans it creates

#### Followup changes
 - Add configuration to enable/disable trace logging on a per user basis

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/palantir/http-remoting/429)
<!-- Reviewable:end -->
support adding metadata to spans at completion
issue
created
avisbal
username_0
@schlosna / @uschi2000 - this is ready for review
comment