Sampler doesn't have a shutdown / close method.
This is a problem for samplers like JaegerRemoteSampler, which manage resources like thread pools / connections which need to be shutdown to prevent memory leaks.
Noticed this while debugging noisy build output.
We should fix by adding shutdown / close methods to the base Sampler interface, and calling when SdkTracerProvider is shutdown / closed.
Sampler doesn't have a shutdown / close method.
This is a problem for samplers like JaegerRemoteSampler, which manage resources like thread pools / connections which need to be shutdown to prevent memory leaks.
Noticed this while debugging noisy build output.
We should fix by adding shutdown / close methods to the base Sampler interface, and calling when SdkTracerProvider is shutdown / closed.