server
- Contains composition of ELK stack + Traefik proxyservice
- Contains fastAPI configured with APM-server
- Setup traefik configurations
# server/traefik/traefik.yml
http:
routers:
es-router:
rule: "Host(`es.example.com`)"
entryPoints: es
service: elasticsearch
# add tls middleware
- Run
docker-compose up -d
-
Configure
main.py
with APM client and logstash configs -
Run
docker-compose up -d
boom http://localhost:8000/ -c 100 -n 1000
boom http://localhost:8000/ -c 100 -d 10
boom http://localhost:8000/health -c 10 -n 100