Ignore site_imports query traces when sampling for OpenTelemetry (#4241)

This commit is contained in:
Adrian Gruntkowski 2024-06-18 12:03:39 +02:00 committed by GitHub
parent 0060954372
commit a5c61e4930
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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