[PR #20381] [MERGED] Closes #20380: Introduce the SENTRY_CONFIG config parameter #15913

Closed
opened 2025-12-30 00:24:45 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/20381
Author: @jeremystretch
Created: 9/17/2025
Status: Merged
Merged: 9/19/2025
Merged by: @bctiemann

Base: mainHead: 20380-sentry_config


📝 Commits (1)

  • 8e33205 Closes #20380: Introduce the SENTRY_CONFIG config parameter

📊 Changes

2 files changed (+77 additions, -9 deletions)

View changed files

📝 docs/configuration/error-reporting.md (+52 -0)
📝 netbox/netbox/settings.py (+25 -9)

📄 Description

Closes: #20380

  • Introduce the SENTRY_CONFIG config parameter, which takes a dictionary of arbitrary keyword arguments to pass to sentry_sdk.init()
  • Deprecate the following config parameters:
    • SENTRY_DSN
    • SENTRY_SAMPLE_RATE
    • SENTRY_SEND_DEFAULT_PII
    • SENTRY_TRACES_SAMPLE_RATE

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/20381 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 9/17/2025 **Status:** ✅ Merged **Merged:** 9/19/2025 **Merged by:** [@bctiemann](https://github.com/bctiemann) **Base:** `main` ← **Head:** `20380-sentry_config` --- ### 📝 Commits (1) - [`8e33205`](https://github.com/netbox-community/netbox/commit/8e332055bce2ecdac26ea7e33a10c22e30b4f0f5) Closes #20380: Introduce the SENTRY_CONFIG config parameter ### 📊 Changes **2 files changed** (+77 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `docs/configuration/error-reporting.md` (+52 -0) 📝 `netbox/netbox/settings.py` (+25 -9) </details> ### 📄 Description ### Closes: #20380 * Introduce the `SENTRY_CONFIG` config parameter, which takes a dictionary of arbitrary keyword arguments to pass to `sentry_sdk.init()` * Deprecate the following config parameters: * `SENTRY_DSN` * `SENTRY_SAMPLE_RATE` * `SENTRY_SEND_DEFAULT_PII` * `SENTRY_TRACES_SAMPLE_RATE` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-30 00:24:45 +01:00
adam closed this issue 2025-12-30 00:24:45 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15913