Skip to content

Conversation

scrossley11
Copy link

Summary:
DynoTicker is a simple class to schedule tick events on subscriber functions. Multiple levels of tick are supported, 'major', 'minor' and a templated number of levels of 'sub-minor' ticks. A typical cadence in telemetry could be 60s and 1s, for instrumenting course and fine grained.
Sub-minor ticks can be configured with custom sampling rates, which may be helpful if their work is too expensive to perform on every interval.
DynoMonitorBase is intended as an abstract base that uses the DynoTicker for scheduling.

Reviewed By: bigzachattack

Differential Revision: D69408689

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 15, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D69408689

…ubator#346)

Summary:
Pull Request resolved: facebookincubator#346

DynoTicker is a simple class to schedule tick events on subscriber functions. Multiple levels of tick are supported, 'major', 'minor' and a templated number of levels of 'sub-minor' ticks. A typical cadence in telemetry could be 60s and 1s, for instrumenting course and fine grained.
Sub-minor ticks can be configured with custom sampling rates, which may be helpful if their work is too expensive to perform on every interval.
DynoMonitorBase is intended as an abstract base that uses the DynoTicker for scheduling.

Reviewed By: bigzachattack

Differential Revision: D69408689
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D69408689

@scrossley11 scrossley11 changed the title Move DynoTicker and DynoMonitor out of dyno/experimental Add DynoTicker and DynoMonitorBase Feb 16, 2025
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 6c6b1cd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants