Can transactions only be sent for Error events?


Having reached our transaction limit in our trial account for Sentry I was looking into the best way to limit the transactions we are sending from our services. I just wondered whether it’s possible or whether there are any examples of only sending transactions where there has been an error between one project calling another? (and not sending any transactions for successful requests)

I was looking into the trace_sampler and before_send hooks and saw that the transaction of one of our projects calling another one is sent before the error is sent by the parent service, so wasn’t sure whether this was possible.