openzipkin/zipkin-js

How can I add tags per request?

Open

#441 aperta il 16 ago 2019

Vedi su GitHub
 (16 commenti) (4 reazioni) (0 assegnatari)JavaScript (167 fork)auto 404
feature requestfeature request/tagshelp wanted

Metriche repository

Star
 (569 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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?

Guida contributor