Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 556 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 556 Bytes

S3 Exporter

Situation: Collecting metrics from S3 Buckets in Prometheus.

Solution: An exporter that can report for any needed metrics from S3 Buckets such as the last modified date for objects in a bucket that match a given prefix for instance.

Export Variable: To make it works successfully, you have to export these environment variable before :

  • AWS_REGION=eu-west-1
  • AWS_ACCESS_KEY_ID= ...
  • AWS_SECRET_ACCESS_KEY= ...

see the AWS SDK FOR GO DOC FILE : https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html