We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68d215e commit 6264fa0Copy full SHA for 6264fa0
1 file changed
README.md
@@ -2,16 +2,29 @@
2
3
En Elixir based built-in error tracking solution.
4
5
-## Installation
+## Configuration
6
7
-The package can be installed
8
-by adding `error_tracker` to your list of dependencies in `mix.exs`:
+Set up the repository:
9
10
```elixir
11
-def deps do
12
- [
13
- {:error_tracker, "~> 0.1.0"}
14
- ]
+config :error_tracker,
+ repo: MyApp.Repo
+```
+
+Attach to Oban events:
15
16
+```elixir
17
+defmodule MyApp.Application do
18
+ def start(_type, _args) do
19
+ ErrorTracker.Integrations.Oban.attach()
20
+ end
21
end
22
```
23
24
+Attach to Plug errors:
25
26
27
+defmodule MyApp.Endpoint do
28
+ use ErrorTracker.Plug
29
+end
30
0 commit comments