-
APM Server
- Web requests
- SQL queries
- Outgoing HTTP requests
- Panic tracking
- Custom spans
-
Metricbeat
- Golang Metrics
- Docker Metrics
- System Metrics
- Redis Metrics
-
Heartbeat
- Uptime Metrics
- Start Kibana, Elasticsearch, APM-Server, Postgres, Redis and Heartbeat
make up
- Start app
make up-go-info
- listen port 3001
- depends_on: postgres
Endpoint | HTTP Method | Description |
---|---|---|
/info |
GET |
Info network |
/health |
GET |
Healthcheck |
/query/{name} |
GET |
Query in Postgres |
/http-external |
GET |
HTTP request for app go-app |
/debug/vars |
GET |
Metrics for golang metrics |
- Start app
make up-go-info
- listen port 3000
- depends_on: redis
Endpoint | HTTP Method | Description |
---|---|---|
/ping |
GET |
Pong response |
/health |
GET |
Healthcheck |
/query/{name} |
GET |
Query in MySQL |
/cache/{key} |
GET |
Find in Redis |
/http-external |
GET |
HTTP request for app go-info |
/debug/vars |
GET |
Metrics for golang metrics |
- Start Metricbeat after starting others containers
make up-metric
- Build app go-info
make up-go-info-build
- Build app go-app
make up-go-app-build
- Send request
##make request n=100 p=3001 r=/query/test
make request NUM_REQUESTS PORT RESOURCE
- Kill all containers
make down