Oh, yeah I misunderstood then.
Isn't that just a health check? I don't see any metrics in the sample output in that documentation....
@unixwitch I think what you're asking is covered by https://docs.gitlab.com/ee/user/admin_area/monitoring/health_check.html.
-
2a7d378d · Add a link to CONTRIBUTING.md in README.md
- ... and 1 more commit. Compare ac7640a8...2a7d378d
@stanhu Nope, it will raise an exception that will be caught by the rescue
in #execute
.
At least UpdateAllMirrorsWorker
and RepositoryUpdateMirrorsWorker
only exist in EE
@stanhu mirroring is EE only right?
Are we excluding these queries from CE?
@tiagonbotelho Thanks!
-
678afacb · Merge branch 'add-mirror-monitoring' into 'master'
- ... and 1 more commit. Compare 442fef7f...678afacb
@stanhu if we start needing more queries I will add them as well in a new MR
-
95965b30 · Adds mirror monitoring query
Just a comment and a Rubocop offense :).
@tiagonbotelho Could you please add a comment like # GitLab-EE only
here, just as a hint.
The query that I used to write this one was the one generated by Project.mirrors_to_sync(Time.now)
(https://gitlab.com/gitlab-org/gitlab-ee/blob/ma...