janestreet / janestreet/magic-trace
common events trigger too fast
- Dominant language
- OCaml
- Stars
- 6.3k
- Forks
- 209
- PR merge metrics
- No merged PRs in 30d
Description
If I run a particular trace for an event I expect to be trigger very often (say expected 1000Hz) then as soon as magic trace starts recording, it stops. As a consequence I get a very limited history.
While my software trigger could be written to only probabalistically trigger I'd like it if magic trace had an option "refuse to trigger until we've been recording for TIME-SPAN".
Contributor guide
Research direction
Review how magic trace handles software triggers and the transition into recording, focusing on what happens when a common event fires immediately. Define where a configurable recording delay would apply, then verify that frequent events no longer end the trace before the requested time span has elapsed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ocaml
- Domain
- observability
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100