openzipkin/zipkin-js

How can I add tags per request?

Open

#441 创建于 2019年8月16日

在 GitHub 查看
 (16 评论) (4 反应) (0 负责人)JavaScript (167 fork)auto 404
feature requestfeature request/tagshelp wanted

仓库指标

Star
 (569 star)
PR 合并指标
 (PR 指标待抓取)

描述

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?

贡献者指南