peimanja / artifactory_exporter

JFrog Artifactory Prometheus Exporter written in Go
Apache License 2.0
140 stars 37 forks source link

Add federated repo status metrics #95

Closed peimanja closed 1 year ago

peimanja commented 1 year ago

fixes #92 Add new optional metrics to collect status of federated repos:

Metric Description Labels
artifactory_federation_mirror_lag Federation mirror lag in milliseconds. name, remote_url, remote_name
artifactory_federation_unavailable_mirror Unsynchronized federated mirror status. status, name, remote_url, remote_name
artifactory_federation_repo_status Synchronization status of the Federation for a repository status, name, remote_url, remote_name

Enable this by passing --optional-metric=federation_status flag

Also added Common Issues section in the README

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication