All Projects → jmal98 → sqs-exporter

jmal98 / sqs-exporter

Licence: Apache-2.0 license
A Prometheus Exporter for the Amazon Simple Queue Service (SQS)

Programming Languages

java
68154 projects - #9 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to sqs-exporter

Aws Sdk Perl
A community AWS SDK for Perl Programmers
Stars: ✭ 153 (+537.5%)
Mutual labels:  amazon, sqs
Broadway sqs
A Broadway producer for Amazon SQS
Stars: ✭ 64 (+166.67%)
Mutual labels:  amazon, sqs
aws-sqs-sns-client
AWS SNS SQS client UI
Stars: ✭ 26 (+8.33%)
Mutual labels:  amazon, sqs
django-eb-sqs-worker
Django Background Tasks for Amazon Elastic Beanstalk
Stars: ✭ 27 (+12.5%)
Mutual labels:  amazon, sqs
Liquid-Application-Framework
Liquid Application Framework documentation, useful links and sample project
Stars: ✭ 467 (+1845.83%)
Mutual labels:  sqs
terraform-emr-spark-example
An example Terraform project that will configure a Secure and Customizable Spark Cluster on Amazon EMR.
Stars: ✭ 43 (+79.17%)
Mutual labels:  amazon
chkdfront
Check Domain Fronting (chkdfront) - It checks if your domain fronting is working
Stars: ✭ 42 (+75%)
Mutual labels:  amazon
HuntTheYetiAlexa
Play the game Hunt the Yeti on the Amazon Echo
Stars: ✭ 17 (-29.17%)
Mutual labels:  amazon
aws-sdk-net-extensions-cognito
An extension library to assist in the Amazon Cognito User Pools authentication process
Stars: ✭ 80 (+233.33%)
Mutual labels:  amazon
sqs-quooler
A complete queue consumer for SQS
Stars: ✭ 23 (-4.17%)
Mutual labels:  sqs
sns-sqs-big-payload
Amazon SNS/SQS client library that enables sending and receiving messages with payload larger than 256KiB via Amazon S3.
Stars: ✭ 40 (+66.67%)
Mutual labels:  sqs
aws-webrtc-recognition-example
Example with WebRTC , AWS Rekognition 👍
Stars: ✭ 18 (-25%)
Mutual labels:  amazon
golang-tts
Text-to-Speach golang package based in Amazon Polly service
Stars: ✭ 19 (-20.83%)
Mutual labels:  amazon
node-amazon
E-commerce website done in Node, and Angular 11 (SSR)
Stars: ✭ 48 (+100%)
Mutual labels:  amazon
dramatiq sqs
A Dramatiq broker that can be used with Amazon SQS.
Stars: ✭ 41 (+70.83%)
Mutual labels:  sqs
tucan-tools
Nomen est omen. It exports tucan grades/vv etc.
Stars: ✭ 24 (+0%)
Mutual labels:  exporter
ansible-process exporter
Provision process exporter for prometheus monitoring tool
Stars: ✭ 16 (-33.33%)
Mutual labels:  exporter
Competitive-Programming-Solutions
COMPETITIVE PROGRAMMING PRACTICE QUESTIONS
Stars: ✭ 28 (+16.67%)
Mutual labels:  amazon
sql-to-redis
🔄 Simple tool for ETL. From SQL to Redis.
Stars: ✭ 18 (-25%)
Mutual labels:  exporter
amazon-reviews
Sentiment Analysis & Topic Modeling with Amazon Reviews
Stars: ✭ 26 (+8.33%)
Mutual labels:  amazon

Amazon Simple Queue Service (SQS) Exporter

A Prometheus exporter for the Amazon Simple Queue Service metrics.

Build

docker build --tag sqs-exporter  .

Exported Metrics

Metric Labels
sqs_ATTRIBUTE_NAME Queue Name
  • ApproximateNumberOfMessages - Approximate number of visible messages in a queue. For more information, see Resources Required to Process Messages in the Amazon SQS Developer Guide.
  • ApproximateNumberOfMessagesDelayed - Approximate number of messages that are waiting to be added to the queue.
  • ApproximateNumberOfMessagesNotVisible - Approximate number of messages that have not timed-out and aren't deleted. For more information, see Resources Required to Process Messages in the Amazon SQS Developer Guide.

Configuration

AWS credentials can be provided via the following:

  • Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
  • Credentials delivered through the Amazon EC2 container service if AWS_CONTAINER_CREDENTIALS_RELATIVE_URI" environment variable is set and security manager has permission to access the variable,
  • Instance profile credentials delivered through the Amazon EC2 metadata service if running within AWS
  • IAM role applied to either an Amazon Elastic Container Service (ECS) service or task
  • Custom SQS Endpoint: You can define the environment variable SQS_ENDPOINT to access a compatible SQS Service (i.e. http://localhost:4100)

By default, the exporter will watch all SQS queues visible to the AWS account. To watch a specific set of queues, supply one of these parameters:

  • a comma-separated list of queue names in the environment variable SQS_QUEUE_NAMES;
  • a single queue prefix in SQS_QUEUE_NAME_PREFIX. (SQS_QUEUE_NAMES takes precedence over SQS_QUEUE_NAME_PREFIX);
  • a comma-separated list of queue URLs in SQS_QUEUE_URLS.

With no parameters specified via environment variables, the full list of queues will be returned.

Docker

You can deploy this exporter using the jmal98/sqs-exporter Docker image.

If you run in AWS, the following will assume it's running with an IAM profile which will allow read access to SQS information.

docker run -d -p 9384:9384 jmal98/sqs-exporter:0.1.0

Use the following to pass the queue filtering environment variables to the docker container.

docker run -d -e SQS_QUEUE_NAME_PREFIX='example_queue_prefix' -p 9384:9384 jmal98/sqs-exporter:0.1.0

If you would like to run the exporter with supplied environment configuration, the following will work both inside and outside of AWS. This is useful if you desire to run the exporter externally.

docker run -d -p 9384:9384 -e AWS_ACCESS_KEY_ID=<access key> -e AWS_SECRET_ACCESS_KEY=<secret key> -e AWS_REGION=<region>  jmal98/sqs-exporter:0.1.0
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].