ribbybibby / s3_exporter

Exports Prometheus metrics about S3 buckets and objects
Apache License 2.0
104 stars 42 forks source link

s3_objects_size_sum_bytes only shows size of first 1000 objects. #48

Open lappesj opened 1 year ago

lappesj commented 1 year ago

Hi, we've been wanting to use your S3 Exporter for Monitoring purposes but face the issue, that the metric s3_objects_size_sum_bytes only results in the sum (Storage size wise) of the first 1000 objects. So, while S3 Exporter shows that the bucket size equals 34 GiB, the actual size is 90GiB, because there are more than 1000 objects.

Is there a way to fix this, or are we missing something?

Thanks und kind regards, Jacob