mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:31 +02:00
update influxdb
This commit is contained in:
parent
f7859319ec
commit
b168f274b0
@ -18,4 +18,13 @@ influxdb:
|
||||
restart: always
|
||||
```
|
||||
|
||||
## up and running
|
||||
|
||||
- Open url: <http://localhost:8083>
|
||||
- Create user: `CREATE USER "username" WITH PASSWORD 'password'`
|
||||
- Create database: `CREATE DATABASE "db_name"`
|
||||
- Select database: `db_name`
|
||||
- Write data: `INSERT cpu,host=serverA,region=us_west value=0.64`
|
||||
- Query data: `SELECT * FROM cpu`
|
||||
|
||||
[1]: https://influxdata.com/
|
||||
|
Loading…
Reference in New Issue
Block a user