Skip to content

How to enable sample_rate for error logging #202

Answered by stayallive
Nikschavan asked this question in Q&A
Discussion options

You must be logged in to vote

Best way currently is: https://github.com/stayallive/wp-sentry?tab=readme-ov-file#wp_sentry_options

This fires a little on the late side maybe depending on where your errors might occur.

Maybe filtering is a better way to prevent many errors, or can you share a bit more about your use case? I have personally never needed to sample for errors, but happy to add the option if it makes sense 👍

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by stayallive
Comment options

You must be logged in to vote
1 reply
@stayallive
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants