fluent-plugin-influxdb-v2 1.6.0.pre.641 → 1.6.0.pre.675
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +2 -5
- data/CHANGELOG.md +3 -0
- data/README.md +5 -5
- data/bin/influxdb-onboarding.sh +2 -2
- data/bin/influxdb-restart.sh +2 -1
- data/examples/README.md +5 -4
- data/examples/fluentd/fluent.conf +1 -1
- data/examples/run-example.sh +3 -2
- data/lib/fluent/plugin/out_influxdb2.rb +2 -2
- data/test/influxdb/plugin/output_test.rb +28 -28
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 167334e6f33b6975f9243e33d6860df3d433b94795e0e4965aed7666f7054619
|
4
|
+
data.tar.gz: 8fc2681cc93e67bc9f31c7594f21b4c7ec2b190cb4d9518047f609294355cd30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bcfd581f53d6ae2f7dc9a89d0583b1952b22b078c1adff9a49d8e523fab0107dd08bc82fbe9ca795e89ff89974c2892819857fa453ccfd4020c0aa15f57ca459
|
7
|
+
data.tar.gz: 9bebf14256c49b7b7b7bfb81082f88cebfdaf15748617d525d5018016dbd93656f2d54b5f60b8f4c18ec1707dc7abe5b26d00edacbd6729f346bf66f6abc9f09
|
data/.circleci/config.yml
CHANGED
@@ -82,6 +82,8 @@ jobs:
|
|
82
82
|
docker:
|
83
83
|
- image: << parameters.ruby-image >>
|
84
84
|
- image: &influx-image quay.io/influxdb/<< parameters.influxdb-image >>
|
85
|
+
environment:
|
86
|
+
INFLUXD_HTTP_BIND_ADDRESS: :8086
|
85
87
|
steps:
|
86
88
|
- prepare
|
87
89
|
- test:
|
@@ -89,13 +91,8 @@ jobs:
|
|
89
91
|
- storing-test-results
|
90
92
|
|
91
93
|
deploy-preview:
|
92
|
-
parameters:
|
93
|
-
influxdb-image:
|
94
|
-
type: string
|
95
|
-
default: *default-influxdb-image
|
96
94
|
docker:
|
97
95
|
- image: *default-ruby-image
|
98
|
-
- image: *influx-image
|
99
96
|
steps:
|
100
97
|
- run:
|
101
98
|
name: Early return if this build is from a forked repository
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
## 1.6.0 [unreleased]
|
2
2
|
|
3
|
+
### API
|
4
|
+
1. [#15](https://github.com/influxdata/influxdb-plugin-fluent/pull/15): Default port changed from 9999 -> 8086
|
5
|
+
|
3
6
|
## 1.5.0 [2020-07-17]
|
4
7
|
|
5
8
|
1. [#12](https://github.com/influxdata/influxdb-plugin-fluent/pull/12): Renamed gem to `fluent-plugin-influxdb-v2`
|
data/README.md
CHANGED
@@ -32,7 +32,7 @@ Store Fluentd event to InfluxDB 2 database.
|
|
32
32
|
|
33
33
|
| Option | Description | Type | Default |
|
34
34
|
|---|---|---|---|
|
35
|
-
| url | InfluxDB URL to connect to (ex. https://localhost:
|
35
|
+
| url | InfluxDB URL to connect to (ex. https://localhost:8086). | String | https://localhost:8086 |
|
36
36
|
| token | Access Token used for authenticating/authorizing the InfluxDB request sent by client. | String | |
|
37
37
|
| use_ssl | Turn on/off SSL for HTTP communication. | bool | true |
|
38
38
|
| bucket | Specifies the destination bucket for writes. | String | |
|
@@ -51,8 +51,8 @@ Store Fluentd event to InfluxDB 2 database.
|
|
51
51
|
<match influxdb2.**>
|
52
52
|
@type influxdb2
|
53
53
|
|
54
|
-
# InfluxDB URL to connect to (ex. https://localhost:
|
55
|
-
url https://localhost:
|
54
|
+
# InfluxDB URL to connect to (ex. https://localhost:8086).
|
55
|
+
url https://localhost:8086
|
56
56
|
# Access Token used for authenticating/authorizing the InfluxDB request sent by client.
|
57
57
|
token my-token
|
58
58
|
|
@@ -69,8 +69,8 @@ Store Fluentd event to InfluxDB 2 database.
|
|
69
69
|
<match influxdb2.**>
|
70
70
|
@type influxdb2
|
71
71
|
|
72
|
-
# InfluxDB URL to connect to (ex. https://localhost:
|
73
|
-
url https://localhost:
|
72
|
+
# InfluxDB URL to connect to (ex. https://localhost:8086).
|
73
|
+
url https://localhost:8086
|
74
74
|
# Access Token used for authenticating/authorizing the InfluxDB request sent by client.
|
75
75
|
token my-token
|
76
76
|
# Turn on/off SSL for HTTP communication.
|
data/bin/influxdb-onboarding.sh
CHANGED
@@ -24,12 +24,12 @@
|
|
24
24
|
set -e
|
25
25
|
|
26
26
|
echo "Wait to start InfluxDB 2.0"
|
27
|
-
wget -S --spider --tries=20 --retry-connrefused --waitretry=5 http://localhost:
|
27
|
+
wget -S --spider --tries=20 --retry-connrefused --waitretry=5 http://localhost:8086/metrics
|
28
28
|
|
29
29
|
echo
|
30
30
|
echo "Post onBoarding request, to setup initial user (my-user@my-password), org (my-org) and bucketSetup (my-bucket)"
|
31
31
|
echo
|
32
|
-
curl -i -X POST http://localhost:
|
32
|
+
curl -i -X POST http://localhost:8086/api/v2/setup -H 'accept: application/json' \
|
33
33
|
-d '{
|
34
34
|
"username": "my-user",
|
35
35
|
"password": "my-password",
|
data/bin/influxdb-restart.sh
CHANGED
@@ -49,9 +49,10 @@ echo
|
|
49
49
|
docker pull "${INFLUXDB_V2_IMAGE}" || true
|
50
50
|
docker run \
|
51
51
|
--detach \
|
52
|
+
--env INFLUXD_HTTP_BIND_ADDRESS=:8086 \
|
52
53
|
--name influxdb_v2 \
|
53
54
|
--network influx_network \
|
54
|
-
--publish
|
55
|
+
--publish 8086:8086 \
|
55
56
|
"${INFLUXDB_V2_IMAGE}"
|
56
57
|
|
57
58
|
#
|
data/examples/README.md
CHANGED
@@ -37,15 +37,16 @@ Start latest `InfluxDB 2`:
|
|
37
37
|
```bash
|
38
38
|
docker run \
|
39
39
|
--detach \
|
40
|
+
--env INFLUXD_HTTP_BIND_ADDRESS=:8086 \
|
40
41
|
--name influxdb_v2 \
|
41
42
|
--network influx_network \
|
42
|
-
--publish
|
43
|
+
--publish 8086:8086 \
|
43
44
|
quay.io/influxdb/influxdb:2.0.0-beta
|
44
45
|
```
|
45
46
|
|
46
47
|
Create default organization, user and bucket:
|
47
48
|
```bash
|
48
|
-
curl -i -X POST http://localhost:
|
49
|
+
curl -i -X POST http://localhost:8086/api/v2/setup -H 'accept: application/json' \
|
49
50
|
-d '{
|
50
51
|
"username": "my-user",
|
51
52
|
"password": "my-password",
|
@@ -103,7 +104,7 @@ USER fluent
|
|
103
104
|
@type copy
|
104
105
|
<store>
|
105
106
|
@type influxdb2
|
106
|
-
url http://influxdb_v2:
|
107
|
+
url http://influxdb_v2:8086
|
107
108
|
token my-token
|
108
109
|
bucket my-bucket
|
109
110
|
org my-org
|
@@ -161,7 +162,7 @@ curl http://localhost:8080/not_exists
|
|
161
162
|
|
162
163
|
### Step 7 — Import Dashboard
|
163
164
|
|
164
|
-
Open [InfluxDB](http://localhost:
|
165
|
+
Open [InfluxDB](http://localhost:8086) and import dashboard [web_app_access.json](influxdb/web_app_access.json) by following steps:
|
165
166
|
|
166
167
|
```
|
167
168
|
username: my-user
|
data/examples/run-example.sh
CHANGED
@@ -45,9 +45,10 @@ docker network create -d bridge influx_network --subnet 192.168.0.0/24 --gateway
|
|
45
45
|
#
|
46
46
|
docker run \
|
47
47
|
--detach \
|
48
|
+
--env INFLUXD_HTTP_BIND_ADDRESS=:8086 \
|
48
49
|
--name influxdb_v2 \
|
49
50
|
--network influx_network \
|
50
|
-
--publish
|
51
|
+
--publish 8086:8086 \
|
51
52
|
quay.io/influxdb/influxdb:2.0.0-beta
|
52
53
|
|
53
54
|
#
|
@@ -110,4 +111,4 @@ docker run \
|
|
110
111
|
|
111
112
|
docker logs -f fluentd_influx
|
112
113
|
|
113
|
-
#curl -i -X POST -H "Content-Type: application/json" -H "Authorization: Token my-token" "http://localhost:
|
114
|
+
#curl -i -X POST -H "Content-Type: application/json" -H "Authorization: Token my-token" "http://localhost:8086/orgs/3c7a552ae6b01ebd/dashboards/import" -d @influxdb/web_app_access_dashboard.json
|
@@ -29,8 +29,8 @@ class InfluxDBOutput < Fluent::Plugin::Output
|
|
29
29
|
|
30
30
|
DEFAULT_BUFFER_TYPE = 'memory'.freeze
|
31
31
|
|
32
|
-
config_param :url, :string, default: 'https://localhost:
|
33
|
-
desc 'InfluxDB URL to connect to (ex. https://localhost:
|
32
|
+
config_param :url, :string, default: 'https://localhost:8086'
|
33
|
+
desc 'InfluxDB URL to connect to (ex. https://localhost:8086).'
|
34
34
|
|
35
35
|
config_param :token, :string
|
36
36
|
desc 'Access Token used for authenticating/authorizing the InfluxDB request sent by client.'
|
@@ -151,7 +151,7 @@ class InfluxDBOutputTest < Minitest::Test
|
|
151
151
|
end
|
152
152
|
|
153
153
|
def test_measurement_as_parameter
|
154
|
-
stub_request(:any, 'https://localhost:
|
154
|
+
stub_request(:any, 'https://localhost:8086/api/v2/write?bucket=my-bucket&org=my-org&precision=ns')
|
155
155
|
.to_return(status: 204)
|
156
156
|
driver = create_driver(%(
|
157
157
|
@type influxdb2
|
@@ -164,12 +164,12 @@ class InfluxDBOutputTest < Minitest::Test
|
|
164
164
|
driver.run(default_tag: 'test') do
|
165
165
|
emit_documents(driver)
|
166
166
|
end
|
167
|
-
assert_requested(:post, 'https://localhost:
|
167
|
+
assert_requested(:post, 'https://localhost:8086/api/v2/write?bucket=my-bucket&org=my-org&precision=ns',
|
168
168
|
times: 1, body: 'h2o level=2i,location="europe" 1444897215000000000')
|
169
169
|
end
|
170
170
|
|
171
171
|
def test_measurement_as_tag
|
172
|
-
stub_request(:any, 'https://localhost:
|
172
|
+
stub_request(:any, 'https://localhost:8086/api/v2/write?bucket=my-bucket&org=my-org&precision=ns')
|
173
173
|
.to_return(status: 204)
|
174
174
|
driver = create_driver(%(
|
175
175
|
@type influxdb2
|
@@ -181,12 +181,12 @@ class InfluxDBOutputTest < Minitest::Test
|
|
181
181
|
driver.run(default_tag: 'h2o_tag') do
|
182
182
|
emit_documents(driver)
|
183
183
|
end
|
184
|
-
assert_requested(:post, 'https://localhost:
|
184
|
+
assert_requested(:post, 'https://localhost:8086/api/v2/write?bucket=my-bucket&org=my-org&precision=ns',
|
185
185
|
times: 1, body: 'h2o_tag level=2i,location="europe" 1444897215000000000')
|
186
186
|
end
|
187
187
|
|
188
188
|
def test_tag_keys
|
189
|
-
stub_request(:any, 'https://localhost:
|
189
|
+
stub_request(:any, 'https://localhost:8086/api/v2/write?bucket=my-bucket&org=my-org&precision=ns')
|
190
190
|
.to_return(status: 204)
|
191
191
|
driver = create_driver(%(
|
192
192
|
@type influxdb2
|
@@ -198,12 +198,12 @@ class InfluxDBOutputTest < Minitest::Test
|
|
198
198
|
driver.run(default_tag: 'h2o_tag') do
|
199
199
|
emit_documents(driver)
|
200
200
|
end
|
201
|
-
assert_requested(:post, 'https://localhost:
|
201
|
+
assert_requested(:post, 'https://localhost:8086/api/v2/write?bucket=my-bucket&org=my-org&precision=ns',
|
202
202
|
times: 1, body: 'h2o_tag,location=europe level=2i 1444897215000000000')
|
203
203
|
end
|
204
204
|
|
205
205
|
def test_tag_fluentd
|
206
|
-
stub_request(:any, 'https://localhost:
|
206
|
+
stub_request(:any, 'https://localhost:8086/api/v2/write?bucket=my-bucket&org=my-org&precision=ns')
|
207
207
|
.to_return(status: 204)
|
208
208
|
driver = create_driver(%(
|
209
209
|
@type influxdb2
|
@@ -217,12 +217,12 @@ class InfluxDBOutputTest < Minitest::Test
|
|
217
217
|
driver.run(default_tag: 'system.logs') do
|
218
218
|
emit_documents(driver)
|
219
219
|
end
|
220
|
-
assert_requested(:post, 'https://localhost:
|
220
|
+
assert_requested(:post, 'https://localhost:8086/api/v2/write?bucket=my-bucket&org=my-org&precision=ns',
|
221
221
|
times: 1, body: 'h2o,fluentd=system.logs,location=europe level=2i 1444897215000000000')
|
222
222
|
end
|
223
223
|
|
224
224
|
def test_field_keys
|
225
|
-
stub_request(:any, 'https://localhost:
|
225
|
+
stub_request(:any, 'https://localhost:8086/api/v2/write?bucket=my-bucket&org=my-org&precision=ns')
|
226
226
|
.to_return(status: 204)
|
227
227
|
driver = create_driver(%(
|
228
228
|
@type influxdb2
|
@@ -235,12 +235,12 @@ class InfluxDBOutputTest < Minitest::Test
|
|
235
235
|
driver.run(default_tag: 'h2o_tag') do
|
236
236
|
emit_documents(driver, 'location' => 'europe', 'level' => 2, 'version' => 'v.10')
|
237
237
|
end
|
238
|
-
assert_requested(:post, 'https://localhost:
|
238
|
+
assert_requested(:post, 'https://localhost:8086/api/v2/write?bucket=my-bucket&org=my-org&precision=ns',
|
239
239
|
times: 1, body: 'h2o_tag,location=europe level=2i 1444897215000000000')
|
240
240
|
end
|
241
241
|
|
242
242
|
def test_time_precision_ns
|
243
|
-
stub_request(:any, 'https://localhost:
|
243
|
+
stub_request(:any, 'https://localhost:8086/api/v2/write?bucket=my-bucket&org=my-org&precision=ns')
|
244
244
|
.to_return(status: 204)
|
245
245
|
driver = create_driver(%(
|
246
246
|
@type influxdb2
|
@@ -253,12 +253,12 @@ class InfluxDBOutputTest < Minitest::Test
|
|
253
253
|
driver.run(default_tag: 'h2o_tag') do
|
254
254
|
emit_documents(driver, 'location' => 'europe', 'level' => 2, 'version' => 'v.10')
|
255
255
|
end
|
256
|
-
assert_requested(:post, 'https://localhost:
|
256
|
+
assert_requested(:post, 'https://localhost:8086/api/v2/write?bucket=my-bucket&org=my-org&precision=ns',
|
257
257
|
times: 1, body: 'h2o_tag,version=v.10 level=2i,location="europe" 1444897215000000000')
|
258
258
|
end
|
259
259
|
|
260
260
|
def test_time_integer
|
261
|
-
stub_request(:any, 'https://localhost:
|
261
|
+
stub_request(:any, 'https://localhost:8086/api/v2/write?bucket=my-bucket&org=my-org&precision=ns')
|
262
262
|
.to_return(status: 204)
|
263
263
|
driver = create_driver(%(
|
264
264
|
@type influxdb2
|
@@ -269,12 +269,12 @@ class InfluxDBOutputTest < Minitest::Test
|
|
269
269
|
driver.run(default_tag: 'h2o_tag') do
|
270
270
|
driver.feed(123_465_789, 'location' => 'europe', 'level' => 2, 'version' => 'v.10')
|
271
271
|
end
|
272
|
-
assert_requested(:post, 'https://localhost:
|
272
|
+
assert_requested(:post, 'https://localhost:8086/api/v2/write?bucket=my-bucket&org=my-org&precision=ns',
|
273
273
|
times: 1, body: 'h2o_tag level=2i,location="europe",version="v.10" 123465789')
|
274
274
|
end
|
275
275
|
|
276
276
|
def test_time_precision_us
|
277
|
-
stub_request(:any, 'https://localhost:
|
277
|
+
stub_request(:any, 'https://localhost:8086/api/v2/write?bucket=my-bucket&org=my-org&precision=us')
|
278
278
|
.to_return(status: 204)
|
279
279
|
driver = create_driver(%(
|
280
280
|
@type influxdb2
|
@@ -287,12 +287,12 @@ class InfluxDBOutputTest < Minitest::Test
|
|
287
287
|
driver.run(default_tag: 'h2o_tag') do
|
288
288
|
emit_documents(driver, 'location' => 'europe', 'level' => 2, 'version' => 'v.10')
|
289
289
|
end
|
290
|
-
assert_requested(:post, 'https://localhost:
|
290
|
+
assert_requested(:post, 'https://localhost:8086/api/v2/write?bucket=my-bucket&org=my-org&precision=us',
|
291
291
|
times: 1, body: 'h2o_tag,version=v.10 level=2i,location="europe" 1444897215000000')
|
292
292
|
end
|
293
293
|
|
294
294
|
def test_time_precision_ms
|
295
|
-
stub_request(:any, 'https://localhost:
|
295
|
+
stub_request(:any, 'https://localhost:8086/api/v2/write?bucket=my-bucket&org=my-org&precision=ms')
|
296
296
|
.to_return(status: 204)
|
297
297
|
driver = create_driver(%(
|
298
298
|
@type influxdb2
|
@@ -305,12 +305,12 @@ class InfluxDBOutputTest < Minitest::Test
|
|
305
305
|
driver.run(default_tag: 'h2o_tag') do
|
306
306
|
emit_documents(driver, 'location' => 'europe', 'level' => 2, 'version' => 'v.10')
|
307
307
|
end
|
308
|
-
assert_requested(:post, 'https://localhost:
|
308
|
+
assert_requested(:post, 'https://localhost:8086/api/v2/write?bucket=my-bucket&org=my-org&precision=ms',
|
309
309
|
times: 1, body: 'h2o_tag,version=v.10 level=2i,location="europe" 1444897215000')
|
310
310
|
end
|
311
311
|
|
312
312
|
def test_time_precision_s
|
313
|
-
stub_request(:any, 'https://localhost:
|
313
|
+
stub_request(:any, 'https://localhost:8086/api/v2/write?bucket=my-bucket&org=my-org&precision=s')
|
314
314
|
.to_return(status: 204)
|
315
315
|
driver = create_driver(%(
|
316
316
|
@type influxdb2
|
@@ -323,12 +323,12 @@ class InfluxDBOutputTest < Minitest::Test
|
|
323
323
|
driver.run(default_tag: 'h2o_tag') do
|
324
324
|
emit_documents(driver, 'location' => 'europe', 'level' => 2, 'version' => 'v.10')
|
325
325
|
end
|
326
|
-
assert_requested(:post, 'https://localhost:
|
326
|
+
assert_requested(:post, 'https://localhost:8086/api/v2/write?bucket=my-bucket&org=my-org&precision=s',
|
327
327
|
times: 1, body: 'h2o_tag,version=v.10 level=2i,location="europe" 1444897215')
|
328
328
|
end
|
329
329
|
|
330
330
|
def test_time_key
|
331
|
-
stub_request(:any, 'https://localhost:
|
331
|
+
stub_request(:any, 'https://localhost:8086/api/v2/write?bucket=my-bucket&org=my-org&precision=ns')
|
332
332
|
.to_return(status: 204)
|
333
333
|
driver = create_driver(%(
|
334
334
|
@type influxdb2
|
@@ -342,12 +342,12 @@ class InfluxDBOutputTest < Minitest::Test
|
|
342
342
|
emit_documents(driver, 'location' => 'europe', 'level' => 2, 'version' => 'v.10',
|
343
343
|
'time' => 1_544_897_215_000_000_000)
|
344
344
|
end
|
345
|
-
assert_requested(:post, 'https://localhost:
|
345
|
+
assert_requested(:post, 'https://localhost:8086/api/v2/write?bucket=my-bucket&org=my-org&precision=ns',
|
346
346
|
times: 1, body: 'h2o_tag,version=v.10 level=2i,location="europe" 1544897215000000000')
|
347
347
|
end
|
348
348
|
|
349
349
|
def test_field_cast_to_float
|
350
|
-
stub_request(:any, 'https://localhost:
|
350
|
+
stub_request(:any, 'https://localhost:8086/api/v2/write?bucket=my-bucket&org=my-org&precision=ns')
|
351
351
|
.to_return(status: 204)
|
352
352
|
driver = create_driver(%(
|
353
353
|
@type influxdb2
|
@@ -359,12 +359,12 @@ class InfluxDBOutputTest < Minitest::Test
|
|
359
359
|
driver.run(default_tag: 'h2o_tag') do
|
360
360
|
emit_documents(driver)
|
361
361
|
end
|
362
|
-
assert_requested(:post, 'https://localhost:
|
362
|
+
assert_requested(:post, 'https://localhost:8086/api/v2/write?bucket=my-bucket&org=my-org&precision=ns',
|
363
363
|
times: 1, body: 'h2o_tag level=2.0,location="europe" 1444897215000000000')
|
364
364
|
end
|
365
365
|
|
366
366
|
def test_nested_field
|
367
|
-
stub_request(:any, 'https://localhost:
|
367
|
+
stub_request(:any, 'https://localhost:8086/api/v2/write?bucket=my-bucket&org=my-org&precision=ns')
|
368
368
|
.to_return(status: 204)
|
369
369
|
driver = create_driver(%(
|
370
370
|
@type influxdb2
|
@@ -379,7 +379,7 @@ class InfluxDBOutputTest < Minitest::Test
|
|
379
379
|
end
|
380
380
|
body = 'h2o_tag level=2i,location="europe",nest.a=25i,nest.deep.deep-key="deep-value",nest.key="nested value" ' \
|
381
381
|
'1444897215000000000'
|
382
|
-
assert_requested(:post, 'https://localhost:
|
382
|
+
assert_requested(:post, 'https://localhost:8086/api/v2/write?bucket=my-bucket&org=my-org&precision=ns',
|
383
383
|
times: 1, body: body)
|
384
384
|
end
|
385
385
|
|
@@ -408,7 +408,7 @@ class InfluxDBOutputTest < Minitest::Test
|
|
408
408
|
'stream' => 'stdout'
|
409
409
|
}
|
410
410
|
|
411
|
-
stub_request(:any, 'https://localhost:
|
411
|
+
stub_request(:any, 'https://localhost:8086/api/v2/write?bucket=my-bucket&org=my-org&precision=ns')
|
412
412
|
.to_return(status: 204)
|
413
413
|
driver = create_driver(%(
|
414
414
|
@type influxdb2
|
@@ -431,7 +431,7 @@ class InfluxDBOutputTest < Minitest::Test
|
|
431
431
|
'kubernetes.pod_name="fluentd-49xk2",log="2020-06-17 13:19:42 +0000 [info]: #0 [filter_kube_metadata] stats - '\
|
432
432
|
'namespace_cache_size: 2, pod_cache_size: 6, pod_cache_watch_updates: 1, namespace_cache_api_updates: 6, '\
|
433
433
|
'pod_cache_api_updates: 6, id_cache_miss: 6\\\n",stream="stdout" 1444897215000000000'
|
434
|
-
assert_requested(:post, 'https://localhost:
|
434
|
+
assert_requested(:post, 'https://localhost:8086/api/v2/write?bucket=my-bucket&org=my-org&precision=ns',
|
435
435
|
times: 1, body: body)
|
436
436
|
end
|
437
437
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-influxdb-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.0.pre.
|
4
|
+
version: 1.6.0.pre.675
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jakub Bednar
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fluentd
|