From a5c61e493013cc15439185ec9db71ecea9d63d23 Mon Sep 17 00:00:00 2001 From: Adrian Gruntkowski Date: Tue, 18 Jun 2024 12:03:39 +0200 Subject: [PATCH] Ignore `site_imports` query traces when sampling for OpenTelemetry (#4241) --- lib/plausible/open_telemetry/sampler.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plausible/open_telemetry/sampler.ex b/lib/plausible/open_telemetry/sampler.ex index e6a459904..a56c0503a 100644 --- a/lib/plausible/open_telemetry/sampler.ex +++ b/lib/plausible/open_telemetry/sampler.ex @@ -18,7 +18,7 @@ defmodule Plausible.OpenTelemetry.Sampler do require OpenTelemetry.Tracer, as: Tracer @routes_to_ignore ["/api/event", "/api/event/"] - @tables_to_ignore ["oban_jobs"] + @tables_to_ignore ["oban_jobs", "site_imports"] @impl true def setup(%{ratio: ratio}) when is_number(ratio) do