Geo: More metrics for scheduler
I think that would be useful to have gauge metrics in Geo::RepositoryShardSyncWorker#load_pending_resources
for remaining_capacity
and db_retrieve_batch_size
.
Or any other metric that would make a picture of what is spawning a Geo::ProjectSyncWorker
job
Also from Slack (https://gitlab.slack.com/archives/C32LCGC1H/p1523538637000732)
Should we create a metric for the sources of
::Geo::ProjectSyncWorker
. We currently spawn that job in 3 places, that would be useful to make a metrics to know where exactly we have a spike. Wdyt?
Edited by Valery Sizov