0.4.0 • Published 2 years ago

ts-trace-event v0.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Google's Trace Event format tracer written in Typescript for NodeJS

Build Status

NPM

Implemented as a wrapper of NodeJS Readable stream

Installation

yarn add ts-trace-event

Usage

import { TsTrace } from "ts-trace-event";
const tracer = new TsTrace();
tracer.pipe(process.stdin);

const { pid, E } = tracer.B({ name: `name`, cat: [`cat`] });
doSomething();
E(); //or
tracer.E({ name: `another-name`, cat: [`another-cat`], pid });
tracer.close();
0.3.0

2 years ago

0.2.0

2 years ago

0.4.0

2 years ago

0.1.0

2 years ago

0.0.2

2 years ago