influxdb-plugin-fluent 1.2.0.pre.276 → 1.2.0.pre.283
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/examples/dashboard.png +0 -0
- data/examples/influxdb/web_app_access.json +169 -43
- 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: f52ffb1e0f6eee0ef7775157a58ecf795b4a9a27af52f666c40c18a1f2079850
|
4
|
+
data.tar.gz: 59b350aca1c6fa940f904c2e98aa636d721c80f669e3d0723aeac21bc51a6cb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74d7aa2bd913f6bf9a1dcd3ece4f3c535c38b3dbef347d2efa421900042e6c7fea7de9819a591c14870d529386cd809597f4c3707a5ad3c81a5dae8108252153
|
7
|
+
data.tar.gz: e4300ff59cd25deeb2097e861a3c4abea980d217b631b7e666ce2348c74856ae96f6f5046d916b7b4ecc5456e2dc54778a2c4eb537a54f6b685e6e4ba2b7cda8
|
data/examples/dashboard.png
CHANGED
Binary file
|
@@ -20,19 +20,23 @@
|
|
20
20
|
"data": [
|
21
21
|
{
|
22
22
|
"type": "cell",
|
23
|
-
"id": "
|
23
|
+
"id": "0541daaaa9471000"
|
24
24
|
},
|
25
25
|
{
|
26
26
|
"type": "cell",
|
27
|
-
"id": "
|
27
|
+
"id": "0541daaaaac71000"
|
28
28
|
},
|
29
29
|
{
|
30
30
|
"type": "cell",
|
31
|
-
"id": "
|
31
|
+
"id": "0541daaaab071000"
|
32
32
|
},
|
33
33
|
{
|
34
34
|
"type": "cell",
|
35
|
-
"id": "
|
35
|
+
"id": "0541daaaabc71000"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"type": "cell",
|
39
|
+
"id": "0541db0ef0871000"
|
36
40
|
}
|
37
41
|
]
|
38
42
|
},
|
@@ -43,7 +47,7 @@
|
|
43
47
|
},
|
44
48
|
"included": [
|
45
49
|
{
|
46
|
-
"id": "
|
50
|
+
"id": "0541daaaa9471000",
|
47
51
|
"type": "cell",
|
48
52
|
"attributes": {
|
49
53
|
"x": 0,
|
@@ -55,49 +59,49 @@
|
|
55
59
|
"view": {
|
56
60
|
"data": {
|
57
61
|
"type": "view",
|
58
|
-
"id": "
|
62
|
+
"id": "0541daaaa9471000"
|
59
63
|
}
|
60
64
|
}
|
61
65
|
}
|
62
66
|
},
|
63
67
|
{
|
64
|
-
"id": "
|
68
|
+
"id": "0541daaaaac71000",
|
65
69
|
"type": "cell",
|
66
70
|
"attributes": {
|
67
|
-
"x":
|
68
|
-
"y":
|
69
|
-
"w":
|
71
|
+
"x": 4,
|
72
|
+
"y": 0,
|
73
|
+
"w": 4,
|
70
74
|
"h": 4
|
71
75
|
},
|
72
76
|
"relationships": {
|
73
77
|
"view": {
|
74
78
|
"data": {
|
75
79
|
"type": "view",
|
76
|
-
"id": "
|
80
|
+
"id": "0541daaaaac71000"
|
77
81
|
}
|
78
82
|
}
|
79
83
|
}
|
80
84
|
},
|
81
85
|
{
|
82
|
-
"id": "
|
86
|
+
"id": "0541daaaab071000",
|
83
87
|
"type": "cell",
|
84
88
|
"attributes": {
|
85
|
-
"x":
|
86
|
-
"y":
|
87
|
-
"w":
|
89
|
+
"x": 6,
|
90
|
+
"y": 4,
|
91
|
+
"w": 6,
|
88
92
|
"h": 4
|
89
93
|
},
|
90
94
|
"relationships": {
|
91
95
|
"view": {
|
92
96
|
"data": {
|
93
97
|
"type": "view",
|
94
|
-
"id": "
|
98
|
+
"id": "0541daaaab071000"
|
95
99
|
}
|
96
100
|
}
|
97
101
|
}
|
98
102
|
},
|
99
103
|
{
|
100
|
-
"id": "
|
104
|
+
"id": "0541daaaabc71000",
|
101
105
|
"type": "cell",
|
102
106
|
"attributes": {
|
103
107
|
"x": 8,
|
@@ -109,14 +113,32 @@
|
|
109
113
|
"view": {
|
110
114
|
"data": {
|
111
115
|
"type": "view",
|
112
|
-
"id": "
|
116
|
+
"id": "0541daaaabc71000"
|
117
|
+
}
|
118
|
+
}
|
119
|
+
}
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"id": "0541db0ef0871000",
|
123
|
+
"type": "cell",
|
124
|
+
"attributes": {
|
125
|
+
"x": 0,
|
126
|
+
"y": 4,
|
127
|
+
"w": 6,
|
128
|
+
"h": 4
|
129
|
+
},
|
130
|
+
"relationships": {
|
131
|
+
"view": {
|
132
|
+
"data": {
|
133
|
+
"type": "view",
|
134
|
+
"id": "0541db0ef0871000"
|
113
135
|
}
|
114
136
|
}
|
115
137
|
}
|
116
138
|
},
|
117
139
|
{
|
118
140
|
"type": "view",
|
119
|
-
"id": "
|
141
|
+
"id": "0541daaaa9471000",
|
120
142
|
"attributes": {
|
121
143
|
"name": "Requests Count",
|
122
144
|
"properties": {
|
@@ -164,9 +186,57 @@
|
|
164
186
|
},
|
165
187
|
{
|
166
188
|
"type": "view",
|
167
|
-
"id": "
|
189
|
+
"id": "0541daaaaac71000",
|
168
190
|
"attributes": {
|
169
|
-
"name": "
|
191
|
+
"name": "Request Size",
|
192
|
+
"properties": {
|
193
|
+
"shape": "chronograf-v2",
|
194
|
+
"type": "single-stat",
|
195
|
+
"queries": [
|
196
|
+
{
|
197
|
+
"text": "from(bucket: \"my-bucket\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r._measurement == \"httpd.access\")\n |> filter(fn: (r) => r.method == \"GET\")\n |> filter(fn: (r) => r._field == \"size\")\n |> drop(columns: [\"path\"])\n |> toInt()\n |> sum(column: \"_value\")\n |> map(fn: (r) => ({\n r with\n _value: r._value / 1024\n })\n )",
|
198
|
+
"editMode": "advanced",
|
199
|
+
"name": "",
|
200
|
+
"builderConfig": {
|
201
|
+
"buckets": [],
|
202
|
+
"tags": [
|
203
|
+
{
|
204
|
+
"key": "_measurement",
|
205
|
+
"values": []
|
206
|
+
}
|
207
|
+
],
|
208
|
+
"functions": [],
|
209
|
+
"aggregateWindow": {
|
210
|
+
"period": "auto"
|
211
|
+
}
|
212
|
+
}
|
213
|
+
}
|
214
|
+
],
|
215
|
+
"prefix": "",
|
216
|
+
"suffix": " KiB",
|
217
|
+
"colors": [
|
218
|
+
{
|
219
|
+
"id": "base",
|
220
|
+
"type": "text",
|
221
|
+
"hex": "#F48D38",
|
222
|
+
"name": "tiger",
|
223
|
+
"value": 0
|
224
|
+
}
|
225
|
+
],
|
226
|
+
"decimalPlaces": {
|
227
|
+
"isEnforced": true,
|
228
|
+
"digits": 2
|
229
|
+
},
|
230
|
+
"note": "",
|
231
|
+
"showNoteWhenEmpty": false
|
232
|
+
}
|
233
|
+
}
|
234
|
+
},
|
235
|
+
{
|
236
|
+
"type": "view",
|
237
|
+
"id": "0541daaaab071000",
|
238
|
+
"attributes": {
|
239
|
+
"name": "Requests Count",
|
170
240
|
"properties": {
|
171
241
|
"shape": "chronograf-v2",
|
172
242
|
"queries": [
|
@@ -251,15 +321,15 @@
|
|
251
321
|
},
|
252
322
|
{
|
253
323
|
"type": "view",
|
254
|
-
"id": "
|
324
|
+
"id": "0541daaaabc71000",
|
255
325
|
"attributes": {
|
256
|
-
"name": "
|
326
|
+
"name": "Success rate",
|
257
327
|
"properties": {
|
258
328
|
"shape": "chronograf-v2",
|
259
329
|
"type": "single-stat",
|
260
330
|
"queries": [
|
261
331
|
{
|
262
|
-
"text": "from(bucket: \"my-bucket\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r._measurement == \"httpd.access\")\n |> filter(fn: (r) => r.
|
332
|
+
"text": "from(bucket: \"my-bucket\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r._measurement == \"httpd.access\")\n |> filter(fn: (r) => r._field == \"code\")\n |> drop(columns: [\"path\", \"method\", \"host\"])\n |> toInt()\n |> map(fn: (r) => ({ \n _time: r._start,\n _success:\n if r._value < 300 then 1\n else 0,\n _failure:\n if r._value >= 300 then 1\n else 0\n })\n )\n |> cumulativeSum(columns: [\"_failure\", \"_success\"])\n |> drop(columns: [\"_time\"])\n |> map(fn: (r) => ({\n r with\n _value: (float(v: r._success) / (float(v: r._success) + float(v: r._failure))) * 100.0\n })\n)\n |> last()",
|
263
333
|
"editMode": "advanced",
|
264
334
|
"name": "",
|
265
335
|
"builderConfig": {
|
@@ -278,14 +348,28 @@
|
|
278
348
|
}
|
279
349
|
],
|
280
350
|
"prefix": "",
|
281
|
-
"suffix": "
|
351
|
+
"suffix": "%",
|
282
352
|
"colors": [
|
283
353
|
{
|
284
354
|
"id": "base",
|
285
355
|
"type": "text",
|
356
|
+
"hex": "#00C9FF",
|
357
|
+
"name": "laser",
|
358
|
+
"value": 0
|
359
|
+
},
|
360
|
+
{
|
361
|
+
"id": "5e50c5ba-51cc-4139-870f-663050d6e79d",
|
362
|
+
"type": "text",
|
286
363
|
"hex": "#F48D38",
|
287
364
|
"name": "tiger",
|
288
|
-
"value":
|
365
|
+
"value": 80
|
366
|
+
},
|
367
|
+
{
|
368
|
+
"id": "305d340f-09e5-4137-b88b-0a6599209dc0",
|
369
|
+
"type": "text",
|
370
|
+
"hex": "#7CE490",
|
371
|
+
"name": "honeydew",
|
372
|
+
"value": 90
|
289
373
|
}
|
290
374
|
],
|
291
375
|
"decimalPlaces": {
|
@@ -299,15 +383,15 @@
|
|
299
383
|
},
|
300
384
|
{
|
301
385
|
"type": "view",
|
302
|
-
"id": "
|
386
|
+
"id": "0541db0ef0871000",
|
303
387
|
"attributes": {
|
304
|
-
"name": "
|
388
|
+
"name": "Requests",
|
305
389
|
"properties": {
|
306
390
|
"shape": "chronograf-v2",
|
307
|
-
"type": "
|
391
|
+
"type": "table",
|
308
392
|
"queries": [
|
309
393
|
{
|
310
|
-
"text": "from(bucket: \"my-bucket\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r._measurement == \"httpd.access\")
|
394
|
+
"text": "from(bucket: \"my-bucket\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r._measurement == \"httpd.access\")",
|
311
395
|
"editMode": "advanced",
|
312
396
|
"name": "",
|
313
397
|
"builderConfig": {
|
@@ -325,8 +409,6 @@
|
|
325
409
|
}
|
326
410
|
}
|
327
411
|
],
|
328
|
-
"prefix": "",
|
329
|
-
"suffix": "%",
|
330
412
|
"colors": [
|
331
413
|
{
|
332
414
|
"id": "base",
|
@@ -334,24 +416,68 @@
|
|
334
416
|
"hex": "#00C9FF",
|
335
417
|
"name": "laser",
|
336
418
|
"value": 0
|
419
|
+
}
|
420
|
+
],
|
421
|
+
"tableOptions": {
|
422
|
+
"verticalTimeAxis": true,
|
423
|
+
"sortBy": {
|
424
|
+
"internalName": "",
|
425
|
+
"displayName": "",
|
426
|
+
"visible": false
|
337
427
|
},
|
428
|
+
"wrapping": "",
|
429
|
+
"fixFirstColumn": false
|
430
|
+
},
|
431
|
+
"fieldOptions": [
|
338
432
|
{
|
339
|
-
"
|
340
|
-
"
|
341
|
-
"
|
342
|
-
"name": "tiger",
|
343
|
-
"value": 80
|
433
|
+
"internalName": "_start",
|
434
|
+
"displayName": "_start",
|
435
|
+
"visible": false
|
344
436
|
},
|
345
437
|
{
|
346
|
-
"
|
347
|
-
"
|
348
|
-
"
|
349
|
-
|
350
|
-
|
438
|
+
"internalName": "_stop",
|
439
|
+
"displayName": "_stop",
|
440
|
+
"visible": false
|
441
|
+
},
|
442
|
+
{
|
443
|
+
"internalName": "_time",
|
444
|
+
"displayName": "Time",
|
445
|
+
"visible": true
|
446
|
+
},
|
447
|
+
{
|
448
|
+
"internalName": "host",
|
449
|
+
"displayName": "Host",
|
450
|
+
"visible": true
|
451
|
+
},
|
452
|
+
{
|
453
|
+
"internalName": "path",
|
454
|
+
"displayName": "Path",
|
455
|
+
"visible": true
|
456
|
+
},
|
457
|
+
{
|
458
|
+
"internalName": "method",
|
459
|
+
"displayName": "Method",
|
460
|
+
"visible": true
|
461
|
+
},
|
462
|
+
{
|
463
|
+
"internalName": "_field",
|
464
|
+
"displayName": "Field",
|
465
|
+
"visible": true
|
466
|
+
},
|
467
|
+
{
|
468
|
+
"internalName": "_value",
|
469
|
+
"displayName": "Value",
|
470
|
+
"visible": true
|
471
|
+
},
|
472
|
+
{
|
473
|
+
"internalName": "_measurement",
|
474
|
+
"displayName": "_measurement",
|
475
|
+
"visible": false
|
351
476
|
}
|
352
477
|
],
|
478
|
+
"timeFormat": "YYYY-MM-DD HH:mm:ss",
|
353
479
|
"decimalPlaces": {
|
354
|
-
"isEnforced":
|
480
|
+
"isEnforced": false,
|
355
481
|
"digits": 2
|
356
482
|
},
|
357
483
|
"note": "",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: influxdb-plugin-fluent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.0.pre.
|
4
|
+
version: 1.2.0.pre.283
|
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-02-
|
11
|
+
date: 2020-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fluentd
|