Skip to content

Commit

Permalink
Updating readme to use influxdb with the current head.
Browse files Browse the repository at this point in the history
  • Loading branch information
vishh committed Aug 12, 2014
1 parent 78cb882 commit 41b539d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Empty file modified deploy/prepare.sh
100644 → 100755
Empty file.

0 comments on commit 41b539d

Please sign in to comment.