Skip to content

Hook up log level to LOG_LEVEL, bump down sentry's profile rates to match Appointment, and setup release strings for sentry.#636

Merged
MelissaAutumn merged 2 commits intomainfrom
tasks/fix-log-level-and-sentry
Mar 10, 2026
Merged

Hook up log level to LOG_LEVEL, bump down sentry's profile rates to match Appointment, and setup release strings for sentry.#636
MelissaAutumn merged 2 commits intomainfrom
tasks/fix-log-level-and-sentry

Conversation

@MelissaAutumn
Copy link
Member

Stage is still debug for debugging reasons. But release is bumped up to info.

Also hooked up version string with the pyproject.toml's version. Since we're doing immutable releases it's pretty easy to pull a sensible version now.

Some references:
https://docs.djangoproject.com/en/5.2/topics/logging/#loggers
https://github.com/thunderbird/appointment/blob/main/backend/src/appointment/main.py#L82
https://docs.sentry.io/product/releases/

… match Appointment, and setup release strings for sentry.
@MelissaAutumn MelissaAutumn self-assigned this Mar 10, 2026
Copy link

@aatchison aatchison left a comment

Choose a reason for hiding this comment

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

Very nice!

@MelissaAutumn MelissaAutumn merged commit 67cd6a2 into main Mar 10, 2026
8 checks passed
@MelissaAutumn MelissaAutumn deleted the tasks/fix-log-level-and-sentry branch March 10, 2026 17:57
ryanjjung pushed a commit that referenced this pull request Mar 10, 2026
… match Appointment, and setup release strings for sentry. (#636)

* Hook up log level to `LOG_LEVEL`, bump down sentry's profile rates to match Appointment, and setup release strings for sentry.

* Hook up sentry profile sample rate to env `SENTRY_PROFILE_SAMPLE_RATE`.
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