Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

chrome-trace-event

samccone96.9mMIT1.0.4TypeScript support: included

A library to create a trace of your node app per Google's Trace Event format.

trace-event, trace, event, trace-viewer, google

readme

Build Status

chrome-trace-event: A node library for creating trace event logs of program execution according to Google's Trace Event format. These logs can then be visualized with trace-viewer or chrome devtools to grok one's programs.

Install

npm install chrome-trace-event

Usage

const Trace = require("chrome-trace-event").Tracer;
const trace = new Trace({
    noStream: true
});
trace.pipe(fs.createWriteStream(outPath));
trace.flush();

Links

License

MIT. See LICENSE.txt.

changelog

node-trace-event changelog

1.3.1 (not yet released)

(nothing yet)

1.3.0

  • Add .child(<fields>) option to trace_event.createBunyanTracer() object.

1.2.0

  • Add trace_event.createBunyanLogger() usage for some sugar. See the README.md for details.

1.1.0

  • Rename to 'trace-event', which is a much more accurate name.

1.0.0

First release.