Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including trace-hook with all npm packages installed. Try it out:

var traceHook = require("trace-hook")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

trace-hook v0.2.14

一个轻量化的全链路追踪中间件, 可生成TraceID, 并将TraceID注入到各种请求中, 以便于在日志中查看请求的完整链路, 目前支持logger koa-logger axios mq A lightweight, full-link tracking middleware that generates traceIds and injects traceIds into various requests so that the full link of the request can be viewed in the log, currently supporting logger koa-logger axios mq

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free