- Update Dockerfile with the chosen runtime and command. Create
.env
file and copy values from.env.example
. - docker-compose build && docker-compose up
- open localhost grafana on browser (localhost:3000) with username: admin, password: admin1
- prepare graphs for metrics
nodejs_memory_usage_in_bytes
andnodejs_cpu_usage_in_percentage
- prepare graphs for metrics
- install k6 and run load test
- k6 run src/http-request-load-test.js or
- View metrics on grafana
- docker-compose down