dpattmann / prometheus-timestream-adapter

Use AWS Timestream as a remote storage database for Prometheus
Apache License 2.0
36 stars 12 forks source link

expanded README? #2

Closed htsoi-boto closed 3 years ago

htsoi-boto commented 3 years ago

Would like to know a bit more on how to get this running? from the main.go I only see variables for us-east-1 but no AWS account id or credentials, how does it know to forward to timestream?

The documentation is a bit lacking, is there anyway to get this working? Was successful in building docker image and also via go and running it listening on 9201. Created prometheus db and table in timestream but no data shows up.

dpattmann commented 3 years ago

Hi @htsoi-boto, you can use environment variables, a ~/.aws/credentials file or an IAM Role/Policy to access your timestream database.

htsoi-boto commented 3 years ago

Awesome, will try it out. Thanks!