peimanja / artifactory_exporter

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

artifactory_storage_filestore_free_bytes calculating from cache #126

Closed JyotsnaSharma21 closed 3 months ago

JyotsnaSharma21 commented 6 months ago

Hi,

I am getting artifactory_storage_filestore_free_bytes value as 4 gbs, and it says around 15 is used. However, the storage type is "s3-storage-v3-direct". It is assuming that storage_dir="/opt/jfrog/artifactory/var/data/artifactory/cache". So, actually it is calculating the no.s from cache. I think this is a bit ambiguous. Can we get the how much has been consumed in total(on S3)?

github-actions[bot] commented 5 months ago

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.

KacperPerschke commented 4 months ago

@JyotsnaSharma21 please check percent. I'm not sure if this answers your need. But may be?

github-actions[bot] commented 3 months ago

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.