Merge pull request #176 from vishh/readme

Updating readme to use influxdb with the current head.
This commit is contained in:
Victor Marmol 2014-08-13 11:42:18 -04:00
commit 7e8f2037cb
2 changed files with 20 additions and 6 deletions

View File

@ -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: 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. **Required**
- ``-storage_driver_host``: The *host:port* of the database. ```
- ``-storage_driver_name``: database name. # storage driver to use. Options are: memory (default) and influxdb
- ``-storage_driver_user``: database username. -storage_driver=influxdb
- ``-storage_driver_password``: database password. # Required to make glog work
- ``-storage_driver_secure``: use secure connection with database. False by default -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 ## Web UI

0
deploy/prepare.sh Normal file → Executable file
View File