Skip to content

BupycHuk/ironfunctions_prometheus_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Very simple prometheus exporter for iron functions

Run iron functions using:

docker run --rm -it --name functions -v ${PWD}/data:/app/data -v /var/run/docker.sock:/var/run/docker.sock -p 8010:8080 iron/functions

Run our exporter:

go run main.go collector.go

Run prometheus using:

docker run -p 9090:9090 --net=host -v $PWD/prometheus-data:/prometheus-data prom/prometheus --config.file=/prometheus-data/prometheus.yml

Grafana dashboard json located in ./dashboard

to run a few tasks in iron functions use commands below:

curl http://localhost:8010/r/myapp/hello #runs failed task
curl http://localhost:8010/r/hello2/hello2 #runs succeeded task

About

Simple prometheus exporter for Iron Functions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages