A simple API skeleton written in Go with metrics pre-configurated
- Zap - Uber Log library
- Echo Framework
- MongoDB driver
- Go-Redis
- Prometheus
- Prometheus PushGateway
- Grafana
- Docker
- Docker Compose
- Docker Compose
- Nginx with
proxy_pass
preconfigured - API
- MongoDB
- Redis
- Prometheus
- Prometheus Push Gateway
- Grafana
- Nginx with
make run
curl http://localhost/healthcheck
curl -i -X POST -H 'Content-Type: application/json' -d '{"name": "user name", "email": "[email protected]"}' http://localhost/user
Access:
- http://localhost:3000 to view Grafana metrics pre-configurated
- http://localhost:9090 to view Prometheus server