Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(453)

Unified Diff: compute_engine_scripts/monitoring/README.md

Issue 310253003: Add setup scripts for a Graphite server. (Closed) Base URL: https://skia.googlesource.com/buildbot.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
+
+

Powered by Google App Engine
This is Rietveld 408576698