Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
TypeScript analyticsanalytics-dashboardclickhouseelixirgoogle-analyticsmarketingopen-source-analyticsphoenixplausible-analyticspostgresqlprivacyprivacy-friendlyself-hostedsimple-analyticsstatisticstailwindcssweb-analyticswebsite-analyticswebsite-statswebsite-tracking
Group Mint.TransportError in Sentry (#5659)
Adam Rutkowski43b52d599b8b
diff --git a/lib/sentry_filter.ex b/lib/sentry_filter.exindex 5e4bb60e95..4884d17a97 100644--- a/lib/sentry_filter.ex+++ b/lib/sentry_filter.ex@@ -23,6 +23,15 @@ defmodule Plausible.SentryFilter do%{event | fingerprint: ["db_connection", reason]}end+ def before_send(+ %{+ exception: [%{type: "Mint.TransportError"}],+ original_exception: %{reason: reason}+ } = event+ ) do+ %{event | fingerprint: ["mint_transport", reason]}+ end+def before_send(%{extra: %{request: %Plausible.Ingestion.Request{}}} = event) do%{event | fingerprint: ["ingestion_request"]}end