A Prometheus metrics exporter for AWS DynamoDB.
Further function is yet to come.
Metric | Labels | Description |
---|---|---|
dynamodb_tablesCount | aws_region | The dynamodb count of current region. |
For more information see the AWS DynamoDB Documentation
Credentials to AWS are provided in the following order:
- Environment variables (AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY)
- Shared credentials file (~/.aws/credentials)
- IAM role for Amazon EC2
For more information see the AWS SDK Documentation
Variable | Default Value | Description |
---|---|---|
PORT | 9436 | The port for metrics server |
ENDPOINT | metrics | The metrics endpoint |
docker run -d -p 9436:9436 bruceleo1969/dynamodb-exporter
You can provide the AWS credentials as environment variables depending upon your security rules configured in AWS;
docker run -d -p 9436:9436 -e AWS_ACCESS_KEY_ID=<access_key> -e AWS_SECRET_ACCESS_KEY=<secret_key> bruceleo1969/dynamodb-exporter