Skip to content

About

Run the Prometheus Blackbox Exporter as AWS Lambda

Resources

Stars

17 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lambda

This project allows you to run the Prometheus Blackbox Exporter as AWS Lambda behind the AWS API Gateway.

It uses a Cloudformation template to create a S3 bucket (named blackbox-exporter-[AWS AccountId]).

It requires a Authorization: Bearer xx token that is set by the AUTH_TOKEN environment variable.

Deploy Stack

Since the code needs to exist when we create the lambda, on first run we disable it's creation by setting FirstRun=true:

Deploy stack w/o Lambda:

make new

Upload Lambda:

make upload

Update stack to enable Lambda:

AUTH_TOKEN=xx make update

About

Run the Prometheus Blackbox Exporter as AWS Lambda

Resources

Stars

17 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages