From time to time issues affects Jenkins mirrors listed on [get.jenkins.io|https://get.jenkins.io/war/2.308/jenkins.war?mirrorlist.]
We want to detect those as soon as possible, and then alert so we can take appropriate actions
We need a Datadog custom checks that uploads metrics to the Jenkins Datadog account and trigger an alert when mirrors haven't been updated for more than one day.
Every mirror has a file named "TIME" containing a date in EPOCH format.
That date corresponds to the last time the mirror was synchronized with its upstream.
For various reasons a mirror can get outdated, we want to identify them so we can take the appropriate action.
We need to write a Datadog custom check in Python that compare every mirrors TIME listed here
This ticket can be considered done once metrics are upload to the Jenkins datadog account