molu8bits / s3bucket_exporter

S3 bucket exporter exposing metrics size and number of objects
MIT License
20 stars 10 forks source link

caps for ceph account #6

Open manuelneg opened 1 year ago

manuelneg commented 1 year ago

Hello @molu8bits . you said in the readme that this project was initially made to work with Ceph. im currently trying to use it for it however i kept getting empty information from my setup:

level=debug msg="s3metrics read from s3_endpoint :{Test-bucket2 true 0 0 []}"

im wondering if you know what type of capabilities the user needs to have in order to get the right information about the buckets.

also, i dont know what should be the default values for this parameters to work with ceph: S3_DISABLE_ENDPOINT_HOST_PREFIX
S3_FORCE_PATH_STYLE

kind regards

molu8bits commented 1 year ago

Default values should be ok. At least they were couple of years ago for Mimic releases of Ceph.

Something like:

./s3bucket_exporter -s3_endpoint=192.168.0.1:7480 -s3_access_key=akces123 -s3_secret_key=secret123 -s3_name=MyS3Endpoint

You can check also the recent release - it doesn't introduce any changes only updates some dependencies.

What version of Ceph are you using?

manuelneg commented 1 year ago

Hello @molu8bits

we are currently @nautilus. ill give it another try next week once i come back from holidays.

regards