Skip to content

[trace_event] implementing a listener system #81

Closed
@joshgav

Description

@joshgav

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions