OLD | NEW |
(Empty) | |
| 1 Monitoring (Graphite) |
| 2 ===================== |
| 3 |
| 4 [Graphite](https://graphite.readthedocs.org/en/latest/) is a monitoring tool |
| 5 for servers and services. We are using it to monitor the runtime performance |
| 6 and behavior of the SkFiddle.com and the new SkPerf services, and maybe other |
| 7 services in the future. |
| 8 |
| 9 This document describes the setup procedure for the Graphite server and the |
| 10 process for loading data into the server. |
| 11 |
| 12 Full Server Setup |
| 13 ================= |
| 14 |
| 15 Do once |
| 16 ------- |
| 17 |
| 18 $ ./vm_create_instance.sh |
| 19 $ ./vm_setup_instance.sh |
| 20 |
| 21 Make sure to 'set daemon 2' in /etc/monit/monitrc so that monit |
| 22 runs every 2 seconds. |
| 23 |
| 24 Do on update |
| 25 ------------ |
| 26 |
| 27 $ ./vm_push_update.sh |
| 28 |
| 29 Notes |
| 30 ----- |
| 31 To SSH into the instance: |
| 32 |
| 33 gcutil --project=google.com:skia-buildbots ssh --ssh_user=default skia-monit
oring-b |
| 34 |
| 35 If you need to modify the constants for the vm_XXX.sh scripts they are |
| 36 specified in compute_engine_scripts/buildbot/vm_config.sh. |
OLD | NEW |