peimanja / artifactory_exporter

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

feat: Optionally extract replication status for artifactory_replication_enabled metric #88

Closed peimanja closed 1 year ago

peimanja commented 1 year ago

closes #83

Adding a new feature to optionally enable some metrics/stats that might be expensive to extract and might impact the performance in Artifactory instances with many repositories.

Starting with replication_status which extracts status of replication for each repository which has replication enabled. Enabling this will add the status label to artifactory_replication_enabled metric.

pass --optional-metric=replication_status flag to enable this

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