From Artifactory release 7.49.6, you can monitor the status of Federated repositories using a set of dedicated REST APIs. Use these APIs to get the status of the Federation for a specific repository, to get a list of Federation mirror lag times, and to get a list of unsynchronized mirrors.
For detailed information about each API, see Artifactory REST API.
For information about monitoring Federated repositories in the platform UI, see:
Get Federated Repository Status
Returns the synchronization status of the Federation for a specific repository, including:
The number of tasks in progress
The number of failed tasks
The number of various types of pending events (create, update, delete, node property, error)
Server lag time (elapsed time since last event not handled)
The number of fully (binary and metadata) and artificially (metadata only) replicated artifacts
Get Federation Mirror Lag Time
Returns the elapsed time since the last event that was not handled on each Federation mirror for all repositories. This API can be used to gather lag statistics at regular intervals. When a repository with significant lag is detected, the Get Federated Repository Status API can be used to get additional details.
Get Unavailable Mirrors
Returns a list of unsynchronized Federated mirrors from all repositories. Mirrors are unsynchronized in the following circumstances: