cadvisor/storage/bigquery
Vishnu Kannan 5e8fecea6a Adding filesystem usage calculation for docker containers. This patch also includes some internal refactoring.
'machine' api now exports a list of all existing 'ext*' filesystems along with the capacity.
2014-10-06 09:51:32 +00:00
..
client Improve error reporting on bigquery row insertion failure. 2014-09-05 19:29:44 +00:00
bigquery.go Adding filesystem usage calculation for docker containers. This patch also includes some internal refactoring. 2014-10-06 09:51:32 +00:00
README.md Update README.md for readability and typo fixes 2014-08-27 15:47:40 -07:00

BigQuery Storage Driver

[EXPERIMENTAL] Support for BigQuery backend as cAdvisor storage driver. The current implementation takes bunch of BigQuery specific flags for authentication. These will be merged into a single backend config.

To run the current version, following flags need to be specified:

 # Storage driver to use.
 -storage_driver=bigquery
 
 # Information about server-to-server Oauth token.
 # These can be obtained by creating a Service Account client id under `Google Developer API`
 
 # service client id
 -bq_id="XYZ.apps.googleusercontent.com"
 
 # service email address
 -bq_account="ABC@developer.gserviceaccount.com"
 
 # path to pem key (converted from p12 file)
 -bq_credentials_file="/path/to/key.pem"
 
 # project id to use for storing datasets.
 -bq_project_id="awesome_project"

See Service account Authentication for Oauth related details.