openzipkin/zipkin-js

How can I add tags per request?

Open

#441 opened on Aug 16, 2019

View on GitHub
 (16 comments) (4 reactions) (0 assignees)JavaScript (167 forks)auto 404
feature requestfeature request/tagshelp wanted

Repository metrics

Stars
 (569 stars)
PR merge metrics
 (PR metrics pending)

Description

I have this working, but i need to pass in a couple specific tags like username etc so i know who the trace is for. I don't see a way to do that. I am referring to the express implementation. i will have custom fields added to the request object...

was thinking maybe I could do a pull request that looks for a 'tags' object on the request object, and if that's there it adds to the span? if not then nobody breaks and it's backwards compatible?

Contributor guide