openzipkin/zipkin-js

Adds support for http.route based name

Open

#183 创建于 2018年1月30日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)JavaScript (167 fork)auto 404
help wanted

仓库指标

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

描述

Currently http middlewares use the http method for naming spans. This solution is a not so bad low cardinality option, however from user perspective this could be improved by using the path instead of the verb. For that we can override the span name in the onPreResponse (see this in hapi for example) event so instead of having get as span name we get get /user/{user_id}.

Ping @fbaiodias @adriancole

贡献者指南