Closed fevrin closed 1 year ago
Thanks for the suggestion. I will see if I get a chance to add this and ask you to test it, since we don't run any replication now. Meanwhile any PRs are welcomed.
Thanks, sounds good!
I don't have much go experience, but I can try my hand at this if I get a chance :+1:
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
Still valid
Feature Description
One can already monitor which repos have replication enabled using
artifactory_replication_enabled
; however, it would be awesome if the exporter could additionally monitor replication statuses.That information is already available via the Artifactory API: https://www.jfrog.com/confluence/display/JFROG/Artifactory+REST+API#ArtifactoryRESTAPI-ScheduledReplicationStatus
This already captures which repos have replication enabled: https://github.com/peimanja/artifactory_exporter/blob/master/artifactory/replication.go
So the above could potentially feed that repo list into the new feature, which then checks just those repos' replication statuses, similar to this bash command:
Use Case(s)
This would be great for monitoring replication statuses to track any issues there.