Sign inSign up

mconf/aws-batch-exporter

By mconf

•Updated 2 months ago

Buildkit cache
Image
0

1.6K

mconf/aws-batch-exporter repository overview

⁠aws_batch_exporter

AWS Batch metrics exporter.

⁠How to run
⁠local
go build -o aws_batch_exporter cmd/aws_batch_exporter.go
# required
export REGION= #your region
./aws_batch_exporter
⁠docker
docker build . -t aws_batch_exporter
docker run -d -p 8080:8080 -e REGION=<your region> aws_batch_exporter
⁠Requirements

Please set the access key and secret key of AWS or authentication by IAM role in advance.

⁠Environment Variables
variabledescriptiondefaultrequired
SERVER_ADDRThe domain and port that runs the application:8080false
REGIONTarget's AWS regionnonetrue
⁠Metrics
metriclabels
aws_batch_submitted_jobregion, queue
aws_batch_pending_jobregion, queue
aws_batch_runnable_jobregion, queue
aws_batch_starting_jobregion, queue
aws_batch_running_jobregion, queue
aws_batch_failed_jobregion, queue
aws_batch_succeeded_jobregion, queue

Tag summary

Content type

Image

Digest

sha256:39f43a845…

Size

12.7 MB

Last updated

2 months ago

docker pull mconf/aws-batch-exporter