Skip to content

Conversation

@grahamalama
Copy link
Contributor

Closes #215

In this PR, we:

  • use dynamic sampling to ignore __lbheartbeat__ requests in Sentry. The sentry_traces_sample_rateenvironment variable is still present so that we can control the global sample rate of non-__lbheartbeat__ requests.
  • update the way we initialize Sentry to be in line with current documentation
  • rename test_main to test_app. main.py was renamed to app.py, but we didn't rename the complementary test module at that time

@grahamalama grahamalama requested a review from a team as a code owner January 12, 2023 15:57
Copy link
Contributor

@bsieber-mozilla bsieber-mozilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🚀

@grahamalama grahamalama merged commit 033685c into main Jan 12, 2023
@grahamalama grahamalama deleted the ignore-lbheartbeat-requests branch January 12, 2023 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Do we need so many Sentry transactions?

3 participants