From ac89d6080804660bf5ed6f602a6a8170d1352567 Mon Sep 17 00:00:00 2001 From: Uku Taht Date: Thu, 7 Jul 2022 11:50:47 +0300 Subject: [PATCH] Add sample rate to sentry config --- config/runtime.exs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/runtime.exs b/config/runtime.exs index 3defb7292..6357d7cb2 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,