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

TP2000-1461 Enable Sentry tracing #1277

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

paulpepper-trade
Copy link
Collaborator

TP2000-1461 Enable Sentry tracing

Why

Migration to DBT Platform moves performance telemetry capture from Grafana to Sentry.

What

Support enabling Sentry tracing and trace sampling rate via the environment variables SENTRY_ENABLE_TRACING and SENTRY_TRACES_SAMPLE_RATE, respectively. The values loaded from these variables (with sensible default parameters to support current platform) are passed into the sentry_sdk.init() function via enable_tracing and traces_sample_rate.

Checklist

  • Requires migrations? No
  • Requires dependency updates? No

Adds Sentry init kwargs used to:
- Enable / disable tracing.
- Set the sample rate when tracing is enabled.
@paulpepper-trade paulpepper-trade requested a review from a team as a code owner August 8, 2024 15:07
@paulpepper-trade paulpepper-trade force-pushed the TP2000-1461--enable-sentry-tracing branch from 478a5ae to 1708755 Compare August 8, 2024 16:50
@paulpepper-trade paulpepper-trade merged commit 436a234 into master Aug 9, 2024
13 checks passed
@paulpepper-trade paulpepper-trade deleted the TP2000-1461--enable-sentry-tracing branch August 9, 2024 09:13
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.

2 participants