The collection of data in the InfluxDB data structure that share a measurement, tag set, and retention policy. (not including fields)
version: '3.3'
services:
influxdb:
image: 'influxdb:1.7.8-alpine'
environment:
INFLUXDB_DB: monitordb
INFLUXDB_HTTP_AUTH_ENABLED: 'true'
INFLUXDB_ADMIN_USER: admin
INFLUXDB_ADMIN_PASSWORD: password
INFLUXDB_USER: influxuser
INFLUXDB_USER_PASSWORD: password
ports:
- "8086:8086"
- "8088:8088"
volumes:
- /opt/volumes/influxdb/data:/var/lib/influxdb
networks:
layer0:
aliases:
- 'influxdb'
labels:
- "dev.description=transaction monitoring influx db"
networks:
layer0:
Commandline:
./usr/bin/influx -username 'admin' -password 'password'
If data point's time is before retention policy's valid time range, inserting it will show error: "partial write: points beyond retention policy dropped=1"
If data point is inserted with retention policy, querying the data should also set retention policy. Eg "select * from ninetyday.test1", otherwise, no record will be found
Batch processing uses a separate thread pool and data is send to server if data is accumulated until flush duration (1s) or buffer limit exceeded (10000 records). Need to call InfluxDB.close after batch processing to ensure proper resource reclamation
max-values-per-tag limit exceeded (100000/100000): /etc/influxdb/influxdb.conf max-values-per-tag = 0 or docker environment variable: INFLUXDB_DATA_MAX_VALUES_PER_TAG: 0
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。