From 41b539d87ee6b348f6d7de2f63f1485e02b858c1 Mon Sep 17 00:00:00 2001 From: Vishnu Kannan Date: Tue, 12 Aug 2014 21:33:45 +0000 Subject: [PATCH] Updating readme to use influxdb with the current head. --- README.md | 26 ++++++++++++++++++++------ deploy/prepare.sh | 0 2 files changed, 20 insertions(+), 6 deletions(-) mode change 100644 => 100755 deploy/prepare.sh diff --git a/README.md b/README.md index 9c1eb5a2..224b9046 100644 --- a/README.md +++ b/README.md @@ -29,12 +29,26 @@ If you want to build your own cAdvisor Docker image, take a look at the Dockerfi cAdvisor now also supports [InfluxDB](http://influxdb.com) to store stats. To use InfluxDB, you need to pass some additional flags to cAdvisor: -- ``-storage_driver``: storage driver to use. Options are: memory (default) and influxdb. Use influxdb. -- ``-storage_driver_host``: The *host:port* of the database. -- ``-storage_driver_name``: database name. -- ``-storage_driver_user``: database username. -- ``-storage_driver_password``: database password. -- ``-storage_driver_secure``: use secure connection with database. False by default +**Required** +``` + # storage driver to use. Options are: memory (default) and influxdb + -storage_driver=influxdb + # Required to make glog work + -log_dir=/ +``` +**Optional** +``` + # The *ip:port* of the database. Default is 'localhost:8086' + -storage_driver_host=ip:port + # database name. Uses db 'cadvisor' by default + -storage_driver_name + # database username. Default is 'root' + -storage_driver_user + # database password. Default is 'root' + -storage_driver_password + # Use secure connection with database. False by default + -storage_driver_secure +``` ## Web UI diff --git a/deploy/prepare.sh b/deploy/prepare.sh old mode 100644 new mode 100755