I hesitate to register at_exit hooks in instrumentations and I think it would be better suited for the SDK package. There are other cases where the tracer provider should also be shutdown, e.g. Resque Workers and Unicorn that fork child process.
cc: @open-telemetry/ruby-maintainers
Originally posted by @arielvalentin in open-telemetry/opentelemetry-ruby-contrib#80 (comment)