| 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..971e181e73e22a6e7d63f7e5c0a33c70ca146386
|
| --- /dev/null
|
| +++ b/compute_engine_scripts/monitoring/README.md
|
| @@ -0,0 +1,36 @@
|
| +Monitoring (Graphite)
|
| +=====================
|
| +
|
| +[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
|
| +=================
|
| +
|
| +Do once
|
| +-------
|
| +
|
| + $ ./vm_create_instance.sh
|
| + $ ./vm_setup_instance.sh
|
| +
|
| +Make sure to 'set daemon 2' in /etc/monit/monitrc so that monit
|
| +runs every 2 seconds.
|
| +
|
| +Do on update
|
| +------------
|
| +
|
| + $ ./vm_push_update.sh
|
| +
|
| +Notes
|
| +-----
|
| +To SSH into the instance:
|
| +
|
| + gcutil --project=google.com:skia-buildbots ssh --ssh_user=default skia-monitoring-b
|
| +
|
| +If you need to modify the constants for the vm_XXX.sh scripts they are
|
| +specified in compute_engine_scripts/buildbot/vm_config.sh.
|
|
|