ElasticCommitIndexerWorker - Add repository size data to logging
Background
Related gitlab-com/gl-infra/production#8391 (closed)
We need additional visibility into long running ElasticCommitIndexerWorker
jobs
Proposal
Add two new items to the logs when the jobs are kicked off:
number_of_commits
repository_size
-
wiki_size
(if wiki is being indexed)
Since projects are the main owning object, this data can probably be pulled from the ProjectStatistics
object which contains repository_size
, wiki_size
, and commit_count