~ubuntuone-support/+junk/syncdaemon-perftest

13 by Roman Yepishev
Migrated to statsd, converting shell-based dropbox check to a python one
1
This is a set of simple scripts that attempt to time the execution time of
2
items that can be perceived of being slow (such as meta queue processing and file upload).
3
4
The scripts use txstatsd to submit the data to statsd server.
5
6
storage_shemas.conf snip for these:
7
14 by Roman Yepishev
Made statsd configurable
8
```
13 by Roman Yepishev
Migrated to statsd, converting shell-based dropbox check to a python one
9
[stats_queue_and_speed]
10
pattern = .*perf\.(shard.*|dropbox)\.(meta_queue|upload_speed).*
11
retentions = 20m:30d,1h:60d
12
13
[stats_errors]
14
pattern = .*perf\.(shard.*|dropbox)\.error.*
15
retentions = 1m:30d,5m:60d
14 by Roman Yepishev
Made statsd configurable
16
```
13 by Roman Yepishev
Migrated to statsd, converting shell-based dropbox check to a python one
17
14 by Roman Yepishev
Made statsd configurable
18
crontab:
19
```
20
*/20 * *   *   * /home/ubuntu/syncdaemon-perftest/syncdaemon-perftest-run.sh speed
21
*/20 * *   *   *     /home/ubuntu/syncdaemon-perftest/dropbox-perftest-run.sh speed
22
10,30,50 * *   *   * /home/ubuntu/syncdaemon-perftest/syncdaemon-perftest-run.sh meta
23
10,30,50 * *   *   * /home/ubuntu/syncdaemon-perftest/dropbox-perftest-run.sh meta
24
```