We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f53bc2 commit 57a0192Copy full SHA for 57a0192
lib/sentry/client.ex
@@ -110,7 +110,6 @@ defmodule Sentry.Client do
110
@spec send_transaction(Transaction.t(), keyword()) ::
111
{:ok, transaction_id :: String.t()}
112
| {:error, ClientError.t()}
113
- | :unsampled
114
| :excluded
115
def send_transaction(%Transaction{} = transaction, opts \\ []) do
116
opts = NimbleOptions.validate!(opts, Options.send_transaction_schema())
@@ -130,10 +129,6 @@ defmodule Sentry.Client do
130
129
_ignored = maybe_call_after_send(transaction, send_result, after_send_event)
131
send_result
132
else
133
- :unsampled ->
134
- ClientReport.Sender.record_discarded_events(:sample_rate, [transaction])
135
- :unsampled
136
-
137
:excluded ->
138
:excluded
139
end
0 commit comments