Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Add sample rate to sentry config

Uku Tahtac89d6080804
diff --git a/config/runtime.exs b/config/runtime.exs
index 3defb72921..6357d7cb22 100644
--- a/config/runtime.exs
+++ b/config/runtime.exs
@@ -228,7 +228,8 @@ config :sentry,
tags: %{app_version: app_version},
enable_source_code_context: true,
root_source_code_path: [File.cwd!()],
- hackney_pool_max_connections: get_int_from_path_or_env(config_dir, "SENTRY_POOL_SIZE", 50)
+ hackney_pool_max_connections: get_int_from_path_or_env(config_dir, "SENTRY_POOL_SIZE", 50),
+ sample_rate: 1.0
config :logger, Sentry.LoggerBackend,
capture_log_messages: true,