mirror of
https://github.com/cloudflare/pingora.git
synced 2024-09-19 18:21:34 +02:00
8797329225
Co-authored-by: Andrew Hauck <ahauck@cloudflare.com> Co-authored-by: Edward Wang <ewang@cloudflare.com> |
||
---|---|---|
.. | ||
nginx.conf | ||
README.md | ||
sample-nginx-upstream.csv | ||
trace.sh |
Steps to generate nginx upstream ketama hash logs
- Prepare nginx conf
mkdir -p /tmp/nginx-ketama/logs
cp nginx.conf /tmp/nginx-ketama
nginx -t -c nginx.conf -p /tmp/nginx-ketama
- Generate trace
./trace.sh
- Collect trace
cp /tmp/nginx-ketama/logs/access.log ./sample-nginx-upstream.csv