I'd like to switch to using Application Insights for logging etc. I know I'm going to need to use sampling on my telemetry data, to stay within the free plan. However, I want to be able to see all event sequences that led to an exception being thrown, so I can reproduce them.
Does Application Insights come with something like this built in? And if not, is there some way I can write a custom sampler which produces the desired behaviour? E.g.
class CustomSampler : ITelemetrySampler