Instrument RepositoryCheck::SingleRepositoryWorker manually
This worker is called manually by RepositoryCheck::BatchWorker
meaning it's not tracked automatically by the Sidekiq middleware. Because most of the work in SingleRepositoryWorker
happens in private methods we have to either make those public (so we can easily instrument the entire class) or instrument them manually using Gitlab::Metrics::Instrumentation.instrument_instance_method
.