Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sample function to logger #34

Merged
merged 14 commits into from
May 16, 2024
Merged

Add sample function to logger #34

merged 14 commits into from
May 16, 2024

Conversation

PineappleIOnic
Copy link
Member

This PR introduces a new function to the Logger object called sample which accepts a float value.

This PR also includes tests as well as a small fix to the AppSignal tests where we expect 200 but receive 204.

@PineappleIOnic
Copy link
Member Author

Not sure this test is the best one considering it's inherit randomness. also I think the key for Raygun is not working

src/Logger/Logger.php Show resolved Hide resolved
src/Logger/Logger.php Show resolved Hide resolved
tests/e2e/AdapterBase.php Outdated Show resolved Hide resolved
@christyjacob4 christyjacob4 dismissed eldadfux’s stale review May 16, 2024 08:11

All comments addressed

@christyjacob4 christyjacob4 merged commit dccd978 into main May 16, 2024
6 checks passed
@christyjacob4 christyjacob4 deleted the feat-add-sampler branch May 16, 2024 08:11
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.

3 participants