Skip to content

Implement sampling#807

Merged
quinnmil merged 27 commits intomasterfrom
806-implement-sampling
Jan 15, 2025
Merged

Implement sampling#807
quinnmil merged 27 commits intomasterfrom
806-implement-sampling

Conversation

@quinnmil
Copy link
Copy Markdown
Contributor

@quinnmil quinnmil commented Jan 7, 2025

Changes

  • Instantiates the new Sampler class as a singleton class variable of the tracked_request class.
  • Uses the Sampler.should _sample->bool inside the finish method of the same class.
  • adds test to check singleton functionality.

@quinnmil quinnmil force-pushed the 806-implement-sampling branch 2 times, most recently from 36dff70 to 7395b58 Compare January 7, 2025 21:43
@quinnmil quinnmil force-pushed the 804-add-sampling-logic branch from 08eb143 to f9d92f2 Compare January 7, 2025 21:43
@quinnmil quinnmil force-pushed the 806-implement-sampling branch from 7395b58 to da3bfab Compare January 7, 2025 21:44
@quinnmil quinnmil marked this pull request as ready for review January 7, 2025 23:10
@quinnmil quinnmil force-pushed the 806-implement-sampling branch 2 times, most recently from 7dd9fd3 to ceab2c1 Compare January 10, 2025 16:33
Comment thread CHANGELOG.md Outdated
@quinnmil quinnmil force-pushed the 806-implement-sampling branch 2 times, most recently from 3019116 to 4b4d71e Compare January 14, 2025 20:02
Base automatically changed from 804-add-sampling-logic to master January 15, 2025 01:43
@quinnmil quinnmil force-pushed the 806-implement-sampling branch from bcc18f1 to fca26d2 Compare January 15, 2025 01:47
@quinnmil quinnmil force-pushed the 806-implement-sampling branch from fca26d2 to c81950a Compare January 15, 2025 02:09
@quinnmil quinnmil merged commit 226d564 into master Jan 15, 2025
@quinnmil quinnmil deleted the 806-implement-sampling branch January 15, 2025 20:51
@quinnmil quinnmil linked an issue Jan 15, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement sampling

2 participants