PerfKit Explorer Installation Guide
PerfKit is a service & web front end for composing queries and dashboards, and sharing the results. You can see a [live deployment and demo dashboard here] (https://perfkit-explorer.appspot.com/explore?dashboard=5714163003293696). You can click and interact with widgets (graphs), see the SQL, edit the json, and move things around on the demo dashboard. When you visit the site it will ask you permission to use your account. The full secuity model of the dashboard is active and permission is needed to verify your identity for permission checking. Everyone has read. Writing dashboards and execution of arbitrary queries is restricted.
Note the installation instructions below are based on using a Google Cloud Platform Compute instance, using the Debian Backports image. Instructions for platform installation may vary depending on your operating system and patch levels.
Set up your workstation
-
Install prerequisite packages:
sudo apt-get install python2.7 openjdk-7-jdk git nodejs nodejs-legacy npm- Python 2.7 runtime
- Java 7 SDK
- Git
- NodeJS (nodejs-legacy provides the required /usr/bin/node symlink)
- Node Package Manager (NPM)
-
Install the Google Cloud SDK:
curl https://sdk.cloud.google.com | bash- note: Restart your shell after installing gcloud to initialize the relevant paths.
-
Install the Google App Engine SDK for Python.
- note: You will need to add the App Engine SDK to your PATH so that you can find appcfg.py.
-
Create a root folder for your source code (i.e.:
~/projects) and navigate to it. -
(Optional) If you are planning to participate in the open source project, create a GitHub account at http://www.github.com and make an editable copy of the PerfKitExplorer repository by clicking the "Fork" button at the top right. You can also set this up later, but it's easier to make the fork now before cloning it.