# Log Spinner CF App

## Requirements
1. Add a credentials.json file in the root
1. Add your GCP service account credentials into this file. These credentials will allow the app to query stackdriver logs.
# Log Spinner CF App

## Instructions to run stackdriver-spinner
1. Add the target GCP project in `stackdriver-tools/src/stackdriver-spinner/manifest.yml`.
1. The GCP project will need a service account with log reader and writer permissions.
1. The JSON key for this service account should be stored in `stackdriver-tools/src/stackdriver-spinner/credentials.json`.
1. Make sure that you are logged into cf and have targeted the desired org and space.
1. Run the following: `cd stackdriver-tools/src/stackdriver-spinner & cf push`.
1. Search for "Loss: " in the stackdriver logging platform. You should be able to see the loss measurement on a scale from 0 to 1 (1 representing complete loss of logs).
Add instructions to run the app
Add instructions to run the app

[#153589526](https://www.pivotaltracker.com/story/show/153589526)

Signed-off-by: Garima Sharma <06d7b37b5a325ed85d240645635b035c4d225740@pivotal.io>
