Fix error when reloading code in Sidekiq during development
Now that Rails 5 supports thread-safe code reload
(https://github.com/mperham/sidekiq/issues/2450), we encounter errors
when the Rails app code changes in development. We need to add ::
in
one middleware so that Object.const_missing will be invoked instead of
Metrics.const_missing.