From 5a717266b8bbc8c16b90b0139877bdbc290fc33a Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sat, 14 Jun 2025 21:00:08 +0000 Subject: [PATCH] Add new sentry endpoint. (closes #66) Signed-off-by: Jason Volk --- src/core/config/mod.rs | 10 ++++++++-- tuwunel-example.toml | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/core/config/mod.rs b/src/core/config/mod.rs index dee45b27..9800cc04 100644 --- a/src/core/config/mod.rs +++ b/src/core/config/mod.rs @@ -1623,7 +1623,7 @@ pub struct Config { /// Sentry.io crash/panic reporting, performance monitoring/metrics, etc. /// This is NOT enabled by default. tuwunel's default Sentry reporting - /// endpoint domain is `o4506996327251968.ingest.us.sentry.io`. + /// endpoint domain is `o4509498990067712.ingest.us.sentry.io`. #[serde(default)] pub sentry: bool, @@ -2312,7 +2312,13 @@ fn default_url_preview_max_spider_size() -> usize { fn default_new_user_displayname_suffix() -> String { "🎔".to_owned() } -fn default_sentry_endpoint() -> Option { None } +fn default_sentry_endpoint() -> Option { + let url = "https://8994b1762a6a95af9502a7900edabc4c@o4509498990067712.ingest.us.sentry.io/4509498993213440" + .try_into() + .expect("default sentry url is invalid"); + + Some(url) +} fn default_sentry_traces_sample_rate() -> f32 { 0.15 } diff --git a/tuwunel-example.toml b/tuwunel-example.toml index 97a6d9d8..0a6c1719 100644 --- a/tuwunel-example.toml +++ b/tuwunel-example.toml @@ -1407,7 +1407,7 @@ # Sentry.io crash/panic reporting, performance monitoring/metrics, etc. # This is NOT enabled by default. tuwunel's default Sentry reporting -# endpoint domain is `o4506996327251968.ingest.us.sentry.io`. +# endpoint domain is `o4509498990067712.ingest.us.sentry.io`. # #sentry = false