You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/config.rst
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,6 +93,10 @@ Optional settings
93
93
94
94
The sampling factor to apply to events. A value of 0.0 will deny sending any events, and a value of 1.0 will send 100% of events.
95
95
96
+
.. describe:: in_app_module_whitelist
97
+
98
+
Expects a list of modules that is used to distinguish among stacktrace frames that belong to your app and ones that are part of libraries or core Elixir. This is used to better display the significant part of stacktraces. The logic is greedy, so if your app's root module is ``MyApp`` and your setting is ``[MyApp]``, that module as well as any submodules like ``MyApp.Submodule`` would be considered part of your app. Defaults to ``[]``.
99
+
96
100
.. describe:: context_lines
97
101
98
102
The number of lines of source code before and after the line that caused the exception to be included. Defaults to ``3``.
Copy file name to clipboardExpand all lines: lib/sentry/event.ex
+27Lines changed: 27 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,12 @@ defmodule Sentry.Event do
2
2
@moduledoc"""
3
3
Provides an Event Struct as well as transformation of Logger
4
4
entries into Sentry Events.
5
+
6
+
7
+
### Configuration
8
+
9
+
* `:in_app_module_whitelist` - Expects a list of modules that is used to distinguish among stacktrace frames that belong to your app and ones that are part of libraries or core Elixir. This is used to better display the significant part of stacktraces. The logic is greedy, so if your app's root module is `MyApp` and your setting is `[MyApp]`, that module as well as any submodules like `MyApp.Submodule` would be considered part of your app. Defaults to `[]`.
0 commit comments