Skip to content

BruceLEO1969/ses-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS SES Prometheus Exporter

A Prometheus metrics exporter for AWS SES.

Metrics

Metric Labels Description
ses_max24hoursend aws_region The maximum number of emails allowed to be sent in a rolling 24 hours.
ses_maxsendrate aws_region The maximum rate of emails allowed to be sent per second.
ses_sentlast24hours aws_region The number of emails sent in the last 24 hours.
ses_Bounces aws_region The number of emails of emails that have bounced.
ses_Complaints aws_region Number of unwanted emails that were rejected by recipients.
ses_DeliveryAttempts aws_region Number of emails that have been sent.
ses_Rejects aws_region Number of emails rejected by Amazon SES.

For more information see the AWS SES Documentation

Configuration

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

Environment Variables

Variable Default Value Description
PORT 9435 The port for metrics server
ENDPOINT metrics The metrics endpoint

Running

docker run -d -p 9435:9435 bruceleo1969/ses-exporter

You can provide the AWS credentials as environment variables depending upon your security rules configured in AWS;

docker run -d -p 9435:9435 -e AWS_ACCESS_KEY_ID=<access_key> -e AWS_SECRET_ACCESS_KEY=<secret_key> -e AWS_REGION=<region> bruceleo1969/ses-exporter

About

A Prometheus metrics exporter for AWS SES.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published