Skip to content

alecgard/scratch-prometheus-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example project with Go and Benthos Prometheus metrics producers, to test how Prometheus reads metrics.

Run Go client

go run main.go

View metrics at http://localhost:2112/metrics

Run Benthos pipeline

benthos -c benthos-config.yaml

Run Prometheus server

docker run \
    -p 2113:9090 \
    -v $PWD/prometheus.yaml:/etc/prometheus/prometheus.yml \
    prom/prometheus

View Prometheus at http://localhost:2113

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages