diagnostics icon indicating copy to clipboard operation
diagnostics copied to clipboard

[trace_event] tracking issue

Open joshgav opened this issue 7 years ago • 6 comments

This issue is to track ongoing work to refine Trace Events in Node and graduate it from experimental state.

It builds on and replaces

  • https://github.com/nodejs/diagnostics/issues/30
  • https://github.com/nodejs/diagnostics/issues/53

Initial Trace PR including discussion: node#9304

todo:

  • [ ] configurable output destinations
    • support targeting lttng, etw, dtrace, etc...
  • [ ] add a listener system (#81)
  • [ ] C/C++ API (#83)
  • [x] JavaScript API (node-eps#48)
    • needs to be as fast as possible, probably a VM intrinsic.
  • [ ] add trace points to nodejs/node (#82)
  • [ ] move existing dtrace/lttng trace writes to trace_event
  • [x] add trace points: async hooks (PR: https://github.com/nodejs/node/pull/15538)
  • [ ] relationship to upstream trace_event_common.h (see https://github.com/nodejs/node/pull/10628)
  • [ ] recommendations for naming categories for ecosystem
  • [ ] need approach on how to collect "context"
    • e.g., for capturing http connection info, currently connection object is passed through DTrace APIs, and some handler/provider, and then the handler/provider will navigate connection object to pull out interesting data to trace. This approach is brittle (dependent on structure of connection object), and puts burden on provider (ie., won't easily allow using different event tracing systems like lttng, dtrace,...).
  • [ ] standardize on output format for trace event data
  • [ ] command-line options to support tracing features.

joshgav avatar Feb 06 '17 18:02 joshgav

I would like to bring an issue that i have found while playing with the runtime toggle of the trace events (via the inspector) : https://github.com/nodejs/node/issues/23185

vmarchaud avatar Oct 15 '18 12:10 vmarchaud

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

gireeshpunathil avatar Oct 25 '19 06:10 gireeshpunathil

Yes, this is not yet completed

jasnell avatar Oct 25 '19 11:10 jasnell

This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.

github-actions[bot] avatar Jul 19 '20 00:07 github-actions[bot]

Keeping this open, but we need to triage the todo list to identify which items were completed, which items are not relevant anymore, and any missing items.

mmarchini avatar Jul 21 '20 00:07 mmarchini

This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.

github-actions[bot] avatar Aug 05 '22 00:08 github-actions[bot]