Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[trace_event] implementing a listener system #81

Closed
joshgav opened this issue Feb 6, 2017 · 3 comments
Closed

[trace_event] implementing a listener system #81

joshgav opened this issue Feb 6, 2017 · 3 comments

Comments

@joshgav
Copy link
Contributor

joshgav commented Feb 6, 2017

Trace Controller writes traces to a buffer and eventually a file on disk. Currently reading that file is the only way to review or be notified that an event occurred.

This issue is to discuss implementing a listener system in Node's and/or V8's Trace Controller.

Diagnostics subsystems and libraries would benefit from being able to listen/subscribe to a stream of trace events to better monitor, respond to, and report on changing conditions in an app. Also, a generic listen capability makes Trace Events a more appropriate target for other trace data too, such as the proposed network trace provider.

@jasongin's JS API Proposal also discusses a trace listener API.

@AndreasMadsen AndreasMadsen changed the title [trace] implementing a listener system [trace_event] implementing a listener system Sep 22, 2017
@jasnell
Copy link
Member

jasnell commented Feb 14, 2018

Need to determine the specific use cases for this and just how granular it needs to be. I, for one, would like to use this to selectively emit timing data for various categories using the perf API but this kind of listener could be a major firehose and bottleneck.

@gireeshpunathil
Copy link
Member

should this remain open? [ I am trying to chase dormant issues to closure ]

@jasnell
Copy link
Member

jasnell commented Oct 25, 2019

This can be closed

@jasnell jasnell closed this as completed Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants