ribbybibby / s3_exporter

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

Config file for multiple prefixes of single bucket #14

Closed arvin-pjr closed 4 years ago

arvin-pjr commented 4 years ago

Hello Team,

I would like to scrape the metrics of multiple prefixes of a single bucket. Let's say I have dev-bucket contains folder-1, folder-2 and folder-3.

I tried following configuration but no luck.

I'm not surprised it returned only folder-3 metrics but only one metric, s3_list_success. FYI, there no problem from exporter side as I could see all the metrics at their end points.

Kindly help us with prometheus configuration file.