janestreet / janestreet/magic-trace

common events trigger too fast

Open
#56 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.