-
Notifications
You must be signed in to change notification settings - Fork 384
collectors StatsCollector
Rob Smith edited this page Apr 30, 2014
·
7 revisions
This is a slightly unusual 'collector'. It collects and uploads stats to a app engine instance run by Rob Smith. The stats collected are:
- Per collector enabled or not
- Per collector interval time
- Global collector reload interval
- Global handlers
- Any custom collector set stats
These stats are stored anonymously (other then UUID), processed and the results are at http://diamond-stats.appspot.com/.
These values can help us know more about how Diamond is being used and can help us target development efforts in the future.
You can install Smolt and run it once or run the following from a terminal
Linux:
- mkdir /etc/smolt
- cd /etc/smolt
- cat /proc/sys/kernel/random/uuid > hw-uuid
Others:
- mkdir /etc/smolt
- cd /etc/smolt
- curl -Lo- http://utils.kormoc.com/uuid/get.php > hw-uuid
- /etc/smolt/hw-uuid
- urllib
- json/simplejson
Options - Generic Options
Setting | Default | Description | Type |
---|---|---|---|
byte_unit | byte | Default numeric output(s) | str |
enabled | False | Enable collecting these metrics | bool |
measure_collector_time | False | Collect the collector run time in ms | bool |
url | http://diamond-stats.appspot.com/submitstats | The url to post stats to. | str |
uuidfile | /etc/smolt/hw-uuid | The path to the uuid file | str |
__EXAMPLESHERE__