This repository spins up Prometheus to monitor a golang web-service that has prometheus client instrumentation.
Prometheus
is running on port9090
.- Scrapes the go web service on the interval of every 5 seconds
Golang web service
is running on port8090
.- Exports custom metric called
incoming_requests_metric
other than default metrics
- Exports custom metric called
- Both Prometheus and go web service are containerized
Steps to run
- cd to monitoring-go-service-with-prometheus directory
- run
docker-compose up
- hit
localhost:9090
in browser to see prometheus dashboard and monitor metrics of go service