Skip to content

Commit bfe0320

Browse files
authored
feat(billing): Spend notification settings for Logs (#95292)
Closes: https://linear.app/getsentry/issue/BIL-1079/update-spend-notification-user-settings Contains notification settings for Logs spending
1 parent 0729902 commit bfe0320

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/sentry/notifications/defaults.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
NotificationSettingEnum.QUOTA_PROFILE_DURATION: NotificationSettingsOptionEnum.ALWAYS,
2424
NotificationSettingEnum.QUOTA_PROFILE_DURATION_UI: NotificationSettingsOptionEnum.ALWAYS,
2525
NotificationSettingEnum.QUOTA_SEER_BUDGET: NotificationSettingsOptionEnum.ALWAYS,
26+
NotificationSettingEnum.QUOTA_LOG_BYTES: NotificationSettingsOptionEnum.ALWAYS,
2627
NotificationSettingEnum.QUOTA_WARNINGS: NotificationSettingsOptionEnum.ALWAYS,
2728
NotificationSettingEnum.QUOTA_SPEND_ALLOCATIONS: NotificationSettingsOptionEnum.ALWAYS,
2829
NotificationSettingEnum.QUOTA_THRESHOLDS: NotificationSettingsOptionEnum.ALWAYS,

tests/sentry/notifications/api/endpoints/test_notification_defaults.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ def test_basic(self):
2929
"quotaProfileDuration": "always",
3030
"quotaProfileDurationUI": "always",
3131
"quotaSeerBudget": "always",
32+
"quotaLogBytes": "always",
3233
"reports": "always",
3334
"spikeProtection": "always",
3435
"workflow": "subscribe_only",

0 commit comments

Comments
 (0)