Skip to content

Commit

Permalink
Ignore site_imports query traces when sampling for OpenTelemetry (p…
Browse files Browse the repository at this point in the history
  • Loading branch information
zoldar authored Jun 18, 2024
1 parent 0060954 commit a5c61e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plausible/open_telemetry/sampler.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a5c61e4

Please sign in to comment.