OLD | NEW |
---|---|
(Empty) | |
1 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.
| |
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 ================= | |
rmistry
2014/06/10 11:57:58
The different constants below could change based o
jcgregorio
2014/06/16 12:36:23
Done.
| |
14 | |
15 Create a GCE instance: | |
16 | |
17 gcutil --project=google.com:skia-buildbots addinstance skia-monitoring-b \ | |
18 --zone=us-central2-b --external_ip_address=108.170.220.59 \ | |
19 --service_account=default \ | |
20 --service_account_scopes="https://www.googleapis.com/auth/devstorage.full_ control" \ | |
21 --network=default --machine_type=n1-standard-1 --image=backports-debian-7- wheezy-v20140331 \ | |
22 --persistent_boot_disk | |
23 | |
24 SSH into the instance: | |
25 | |
26 gcutil --project=google.com:skia-buildbots ssh --ssh_user=default skia-monit oring-b | |
27 | |
28 | |
29 Do once | |
30 ------- | |
31 | |
32 The following things only need to be done once | |
33 | |
34 1. sudo apt-get install git | |
35 2. git clone https://skia.googlesource.com/buildbot | |
36 3. cd ~/buildbot/compute_engine_scripts/monitoring | |
37 4. ./graphite_setup.sh | |
38 | |
39 Do on update | |
40 ------------ | |
41 | |
42 To update the service ssh into the server and run: | |
43 | |
44 1. cd ~/buildbot/compute_engine_scripts/monitoring | |
45 2. git pull | |
46 3. ./graphite_setup.sh | |
47 | |
48 | |
OLD | NEW |