File tree 3 files changed +37
-15
lines changed
3 files changed +37
-15
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11
11
echo " Tesing againts influxdb ${version} "
12
12
docker kill influxdb || true
13
13
docker rm influxdb || true
14
- docker run -d --name influxdb -p 8086:8086 influxdb:${version}
14
+ docker run \
15
+ --detach \
16
+ --name influxdb \
17
+ --publish 8086:8086 \
18
+ --publish 8089:8089/udp \
19
+ --volume ${PWD} /influxdb.conf:/etc/influxdb/influxdb.conf \
20
+ influxdb:${version}
15
21
16
22
docker run -it --rm \
17
- -v $PWD :/usr/src/mymaven \
18
- -v $PWD /.m2:/root/.m2 \
19
- -w /usr/src/mymaven \
20
- --link=influxdb \
21
- -e INFLUXDB_IP=influxdb \
23
+ --volume $PWD :/usr/src/mymaven \
24
+ --volume $PWD /.m2:/root/.m2 \
25
+ --workdir /usr/src/mymaven \
26
+ --link=influxdb \
27
+ --env INFLUXDB_IP=influxdb \
22
28
maven mvn clean install
23
29
24
30
docker kill influxdb || true
Original file line number Diff line number Diff line change
1
+ [meta]
2
+ dir = "/var/lib/influxdb/meta"
3
+
4
+ [data]
5
+ dir = "/var/lib/influxdb/data"
6
+ engine = "tsm1"
7
+ wal-dir = "/var/lib/influxdb/wal"
8
+
9
+ [admin]
10
+ enabled = true
11
+
12
+ [[udp]]
13
+ enabled = true
14
+ bind-address = ":8089"
15
+ database = "udp"
16
+ retention-policy = ""
17
+
18
+ # These next lines control how batching works. You should have this enabled
19
+ # otherwise you could get dropped metrics or poor performance. Batching
20
+ # will buffer points in memory if you have many coming in.
21
+
22
+ batch-size = 1000 # will flush if this many points get buffered
23
+ batch-pending = 5 # number of batches that may be pending in memory
24
+ batch-timeout = "1s" # will flush at least this often even if we haven't hit buffer limit
25
+ read-buffer = 0 # UDP Read buffer size, 0 means OS default. UDP listener will fail if set above OS max.
You can’t perform that action at this time.
0 commit comments