Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add federated repo status metrics #95

Merged
merged 2 commits into from
Feb 4, 2023
Merged

Add federated repo status metrics #95

merged 2 commits into from
Feb 4, 2023

Conversation

peimanja
Copy link
Owner

@peimanja peimanja commented Feb 4, 2023

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

@peimanja peimanja added the enhancement New feature or request label Feb 4, 2023
@sonarcloud
Copy link

sonarcloud bot commented Feb 4, 2023

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

@peimanja peimanja changed the title Add Repo Federation metrics Add federated repo status metrics Feb 4, 2023
@peimanja peimanja merged commit 4d7be34 into master Feb 4, 2023
@peimanja peimanja deleted the federated-repos branch February 4, 2023 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Federated repository Status Metrics
1 participant