~ubuntuone-support/+junk/syncdaemon-perftest

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
This is a set of simple scripts that attempt to time the execution time of
items that can be perceived of being slow (such as meta queue processing and file upload).

The scripts use txstatsd to submit the data to statsd server.

storage_shemas.conf snip for these:

```
[stats_queue_and_speed]
pattern = .*perf\.(shard.*|dropbox)\.(meta_queue|upload_speed).*
retentions = 20m:30d,1h:60d

[stats_errors]
pattern = .*perf\.(shard.*|dropbox)\.error.*
retentions = 1m:30d,5m:60d
```

crontab:
```
*/20 * *   *   * /home/ubuntu/syncdaemon-perftest/syncdaemon-perftest-run.sh speed
*/20 * *   *   *     /home/ubuntu/syncdaemon-perftest/dropbox-perftest-run.sh speed
10,30,50 * *   *   * /home/ubuntu/syncdaemon-perftest/syncdaemon-perftest-run.sh meta
10,30,50 * *   *   * /home/ubuntu/syncdaemon-perftest/dropbox-perftest-run.sh meta
```