aboutsummaryrefslogtreecommitdiffhomepage
path: root/pingora-ketama/test-data/README.md
blob: f44bac85ac7d37cbaacbdd39c80ccc3104d5cc85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Steps to generate nginx upstream ketama hash logs

1. Prepare nginx conf
```
mkdir -p /tmp/nginx-ketama/logs
cp nginx.conf /tmp/nginx-ketama
nginx -t -c nginx.conf -p /tmp/nginx-ketama
```

2. Generate trace
```
./trace.sh
```

3. Collect trace
```
 cp /tmp/nginx-ketama/logs/access.log ./sample-nginx-upstream.csv
```