I have a Go Service which gets traced by opentelemetry. For now, we trace by ratio.
Now for error analysis we would like to change tracing to be always enforced once we call RecordError.
Initial idea was to implement a Sampler, which would look at the collected Events of a Span. From the interfaces it seems like we have no access to this.
So how could I do this instead?