bucharest-gold / lightbright Goto Github PK
View Code? Open in Web Editor NEWNO LONGER MAINTAINED: A utility providing filters for asynchronous hooks in process.binding('async_wrap')
NO LONGER MAINTAINED: A utility providing filters for asynchronous hooks in process.binding('async_wrap')
I was using lightbright and I forget to add the filter.
Then traces are returning only [ ] empty array.
Code tracing can be expensive. How expensive? Well, we don't know yet. We should produce reports with the build that show what the cost of enabling tracing is.
assert.js:85
throw new assert.AssertionError({
^
AssertionError: Async hooks called unexpectedly: 5
at process.once (/mnt/ddisk/dev/lightbright/test/test-filter-reactivation.js:37:10)
at Object.onceWrapper (events.js:290:19)
at emitOne (events.js:96:13)
at process.emit (events.js:188:7)
- failed
failed - 1 tests failed
For example, assume we had some kind of hawkular filter, or a hawkular client was implemented to feed application trace data to the hawkular server. We probably want the hawkular requests to be filtered from data. How can we do this?
Probably using istanbul
The various provider types:
{ NONE: 0,
CRYPTO: 1,
FSEVENTWRAP: 2,
FSREQWRAP: 3,
GETADDRINFOREQWRAP: 4,
GETNAMEINFOREQWRAP: 5,
HTTPPARSER: 6,
JSSTREAM: 7,
PIPEWRAP: 8,
PIPECONNECTWRAP: 9,
PROCESSWRAP: 10,
QUERYWRAP: 11,
SHUTDOWNWRAP: 12,
SIGNALWRAP: 13,
STATWATCHER: 14,
TCPWRAP: 15,
TCPCONNECTWRAP: 16,
TIMERWRAP: 17,
TLSWRAP: 18,
TTYWRAP: 19,
UDPWRAP: 20,
UDPSENDWRAP: 21,
WRITEWRAP: 22,
ZLIB: 23 }
https://github.com/nodejs/node/blob/master/src/async-wrap.h#L15-L39
See https://github.com/AndreasMadsen/trace for inspiration
https://travis-ci.org/bucharest-gold/lightbright/builds
Currently needs admin rights on this repo.
#3
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.