Chromium Code Reviews| Index: compute_engine_scripts/monitoring/README.md |
| diff --git a/compute_engine_scripts/monitoring/README.md b/compute_engine_scripts/monitoring/README.md |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..58a95ff3a1534dc5bc136e043112bfa46023853d |
| --- /dev/null |
| +++ b/compute_engine_scripts/monitoring/README.md |
| @@ -0,0 +1,48 @@ |
| +Monitoring (Graphite) |
|
rmistry
2014/06/10 11:57:58
Can you also please add a small section to compute
jcgregorio
2014/06/16 12:36:23
Done.
|
| +===================== |
| + |
| +[Graphite](https://graphite.readthedocs.org/en/latest/) is a monitoring tool |
| +for servers and services. We are using it to monitor the runtime performance |
| +and behavior of the SkFiddle.com and the new SkPerf services, and maybe other |
| +services in the future. |
| + |
| +This document describes the setup procedure for the Graphite server and the |
| +process for loading data into the server. |
| + |
| +Full Server Setup |
| +================= |
|
rmistry
2014/06/10 11:57:58
The different constants below could change based o
jcgregorio
2014/06/16 12:36:23
Done.
|
| + |
| +Create a GCE instance: |
| + |
| + gcutil --project=google.com:skia-buildbots addinstance skia-monitoring-b \ |
| + --zone=us-central2-b --external_ip_address=108.170.220.59 \ |
| + --service_account=default \ |
| + --service_account_scopes="https://www.googleapis.com/auth/devstorage.full_control" \ |
| + --network=default --machine_type=n1-standard-1 --image=backports-debian-7-wheezy-v20140331 \ |
| + --persistent_boot_disk |
| + |
| +SSH into the instance: |
| + |
| + gcutil --project=google.com:skia-buildbots ssh --ssh_user=default skia-monitoring-b |
| + |
| + |
| +Do once |
| +------- |
| + |
| +The following things only need to be done once |
| + |
| +1. sudo apt-get install git |
| +2. git clone https://skia.googlesource.com/buildbot |
| +3. cd ~/buildbot/compute_engine_scripts/monitoring |
| +4. ./graphite_setup.sh |
| + |
| +Do on update |
| +------------ |
| + |
| +To update the service ssh into the server and run: |
| + |
| +1. cd ~/buildbot/compute_engine_scripts/monitoring |
| +2. git pull |
| +3. ./graphite_setup.sh |
| + |
| + |