@@ -56,7 +56,7 @@ Open the generated migration and call the `up` and `down` functions on `ErrorTra
5656defmodule MyApp .Repo .Migrations .AddErrorTracker do
5757 use Ecto .Migration
5858
59- def up , do: ErrorTracker .Migration .up (version: 4 )
59+ def up , do: ErrorTracker .Migration .up (version: 5 )
6060
6161 # We specify `version: 1` in `down`, to ensure we remove all migrations.
6262 def down , do: ErrorTracker .Migration .down (version: 1 )
@@ -152,9 +152,27 @@ environments where you may want to prune old errors that have been resolved.
152152The ` ErrorTracker.Plugins.Pruner ` module provides automatic pruning functionality with a configurable
153153interval and error age.
154154
155- ## Ignoring errors
155+ ## Ignoring and Muting Errors
156+
157+ ErrorTracker provides two different ways to silence errors:
158+
159+ ### Ignoring Errors
156160
157161ErrorTracker tracks every error by default. In certain cases some errors may be expected or just not interesting to track.
158- ErrorTracker provides functionality that allows you to ignore errors based on their attributes and context.
162+ The ` ErrorTracker.Ignorer ` behaviour allows you to ignore errors based on their attributes and context.
163+
164+ When an error is ignored, its occurrences are not tracked at all. This is useful for expected errors that you don't want to store in your database.
165+
166+ ### Muting Errors
167+
168+ Sometimes you may want to keep tracking error occurrences but avoid receiving notifications about them. For these cases,
169+ ErrorTracker allows you to mute specific errors.
170+
171+ When an error is muted:
172+ - New occurrences are still tracked and stored in the database
173+ - No telemetry events are emitted for new occurrences
174+ - You can still see the error and its occurrences in the web UI
175+
176+ This is particularly useful for noisy errors that you want to keep tracking but don't want to receive notifications about.
159177
160- Take a look at the ` ErrorTracker.Ignorer ` behaviour for more information about how to implement your own ignorer .
178+ You can mute and unmute errors manually through the web UI or programmatically using the ` ErrorTracker.mute/1 ` and ` ErrorTracker.unmute/1 ` functions .
0 commit comments