fluent-plugin-k8s-metrics 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,199 @@
1
+ {
2
+ "node": {
3
+ "nodeName": "ip-XXX-XX-XX-XXX.us-west-2.compute.internal",
4
+ "systemContainers": [
5
+ {
6
+ "name": "pods",
7
+ "startTime": "2018-10-17T17:45:10Z",
8
+ "cpu": {
9
+ "time": "2018-10-17T18:15:21Z",
10
+ "usageNanoCores": 69568807,
11
+ "usageCoreNanoSeconds": 134724371173
12
+ },
13
+ "memory": {
14
+ "time": "2018-10-17T18:15:21Z",
15
+ "availableBytes": 3570184192,
16
+ "usageBytes": 379932672,
17
+ "workingSetBytes": 379658240,
18
+ "rssBytes": 369627136,
19
+ "pageFaults": 0,
20
+ "majorPageFaults": 0
21
+ },
22
+ "userDefinedMetrics": null
23
+ }
24
+ ],
25
+ "startTime": "2018-09-19T06:40:05Z",
26
+ "cpu": {
27
+ "time": "2018-09-27T22:09:59Z",
28
+ "usageNanoCores": 71501818,
29
+ "usageCoreNanoSeconds": 68824254091816
30
+ },
31
+ "memory": {
32
+ "time": "2018-09-27T22:09:59Z",
33
+ "availableBytes": 30164504576,
34
+ "usageBytes": 10132713472,
35
+ "workingSetBytes": 3576983552,
36
+ "rssBytes": 517582848,
37
+ "pageFaults": 498847843,
38
+ "majorPageFaults": 1999
39
+ },
40
+ "network": {
41
+ "time": "2018-09-27T22:09:59Z",
42
+ "name": "eth0",
43
+ "rxBytes": 8480164820,
44
+ "rxErrors": 0,
45
+ "txBytes": 5416875722,
46
+ "txErrors": 0,
47
+ "interfaces": [
48
+ {
49
+ "name": "cbr0",
50
+ "rxBytes": 4677862821,
51
+ "rxErrors": 0,
52
+ "txBytes": 5067375443,
53
+ "txErrors": 0
54
+ },
55
+ {
56
+ "name": "eth0",
57
+ "rxBytes": 8480164820,
58
+ "rxErrors": 0,
59
+ "txBytes": 5416875722,
60
+ "txErrors": 0
61
+ }
62
+ ]
63
+ },
64
+ "fs": {
65
+ "time": "2018-09-27T22:09:59Z",
66
+ "availableBytes": 112741339136,
67
+ "capacityBytes": 128701009920,
68
+ "usedBytes": 10359861248,
69
+ "inodesFree": 33124287,
70
+ "inodes": 33554432,
71
+ "inodesUsed": 430145
72
+ },
73
+ "rlimit": {
74
+ "time": "2018-10-17T18:15:25Z",
75
+ "maxpid": 32768,
76
+ "curproc": 389
77
+ },
78
+ "runtime": {
79
+ "imageFs": {
80
+ "time": "2018-09-27T22:09:59Z",
81
+ "availableBytes": 112741339136,
82
+ "capacityBytes": 128701009920,
83
+ "usedBytes": 6439798904,
84
+ "inodesFree": 33124287,
85
+ "inodes": 33554432,
86
+ "inodesUsed": 430145
87
+ }
88
+ }
89
+ },
90
+ "pods": [
91
+ {
92
+ "podRef": {
93
+ "name": "kube-system-logging-splunk-kubernetes-logging-4kbsb",
94
+ "namespace": "generic_namespace",
95
+ "uid": "6a83cdc1-c055-11e8-bbee-02dfc7c54d24"
96
+ },
97
+ "startTime": "2018-09-24T23:56:13Z",
98
+ "containers": [
99
+ {
100
+ "name": "splunk-fluentd-k8s-logs",
101
+ "startTime": "2018-09-24T23:56:14Z",
102
+ "cpu": {
103
+ "time": "2018-09-27T22:10:03Z",
104
+ "usageNanoCores": 3117227,
105
+ "usageCoreNanoSeconds": 856491349907
106
+ },
107
+ "memory": {
108
+ "time": "2018-09-27T22:10:03Z",
109
+ "usageBytes": 71749632,
110
+ "workingSetBytes": 71749632,
111
+ "rssBytes": 71430144,
112
+ "pageFaults": 204802,
113
+ "majorPageFaults": 0
114
+ },
115
+ "rootfs": {
116
+ "time": "2018-09-27T22:10:03Z",
117
+ "availableBytes": 112741339136,
118
+ "capacityBytes": 128701009920,
119
+ "usedBytes": 263282688,
120
+ "inodesFree": 33124287,
121
+ "inodes": 33554432,
122
+ "inodesUsed": 32
123
+ },
124
+ "logs": {
125
+ "time": "2018-09-27T22:10:03Z",
126
+ "availableBytes": 112741339136,
127
+ "capacityBytes": 128701009920,
128
+ "usedBytes": 61440,
129
+ "inodesFree": 33124287,
130
+ "inodes": 33554432,
131
+ "inodesUsed": 430145
132
+ },
133
+ "userDefinedMetrics": null
134
+ }
135
+ ],
136
+ "cpu": {
137
+ "time": "2018-09-27T22:10:02Z",
138
+ "usageNanoCores": 3126718,
139
+ "usageCoreNanoSeconds": 856492340119
140
+ },
141
+ "memory": {
142
+ "time": "2018-09-27T22:10:02Z",
143
+ "usageBytes": 71917568,
144
+ "workingSetBytes": 71917568,
145
+ "rssBytes": 71471104,
146
+ "pageFaults": 0,
147
+ "majorPageFaults": 0
148
+ },
149
+ "network": {
150
+ "time": "2018-09-27T22:10:02Z",
151
+ "name": "eth0",
152
+ "rxBytes": 22482186,
153
+ "rxErrors": 0,
154
+ "txBytes": 357450663,
155
+ "txErrors": 0,
156
+ "interfaces": [
157
+ {
158
+ "name": "eth0",
159
+ "rxBytes": 22482186,
160
+ "rxErrors": 0,
161
+ "txBytes": 357450663,
162
+ "txErrors": 0
163
+ }
164
+ ]
165
+ },
166
+ "volume": [
167
+ {
168
+ "time": "2018-09-24T23:57:04Z",
169
+ "availableBytes": 16870731776,
170
+ "capacityBytes": 16870744064,
171
+ "usedBytes": 12288,
172
+ "inodesFree": 4118825,
173
+ "inodes": 4118834,
174
+ "inodesUsed": 9,
175
+ "name": "default-token-phqbm"
176
+ },
177
+ {
178
+ "time": "2018-09-24T23:57:05Z",
179
+ "availableBytes": 16870739968,
180
+ "capacityBytes": 16870744064,
181
+ "usedBytes": 4096,
182
+ "inodesFree": 4118829,
183
+ "inodes": 4118834,
184
+ "inodesUsed": 5,
185
+ "name": "secrets"
186
+ }
187
+ ],
188
+ "ephemeral-storage": {
189
+ "time": "2018-09-27T22:10:03Z",
190
+ "availableBytes": 112741339136,
191
+ "capacityBytes": 128701009920,
192
+ "usedBytes": 263344128,
193
+ "inodesFree": 33124287,
194
+ "inodes": 33554432,
195
+ "inodesUsed": 32
196
+ }
197
+ }
198
+ ]
199
+ }
@@ -0,0 +1,488 @@
1
+ {
2
+ "kind": "APIResourceList",
3
+ "groupVersion": "v1",
4
+ "resources": [
5
+ {
6
+ "name": "bindings",
7
+ "singularName": "",
8
+ "namespaced": true,
9
+ "kind": "Binding",
10
+ "verbs": [
11
+ "create"
12
+ ]
13
+ },
14
+ {
15
+ "name": "componentstatuses",
16
+ "singularName": "",
17
+ "namespaced": false,
18
+ "kind": "ComponentStatus",
19
+ "verbs": [
20
+ "get",
21
+ "list"
22
+ ],
23
+ "shortNames": [
24
+ "cs"
25
+ ]
26
+ },
27
+ {
28
+ "name": "configmaps",
29
+ "singularName": "",
30
+ "namespaced": true,
31
+ "kind": "ConfigMap",
32
+ "verbs": [
33
+ "create",
34
+ "delete",
35
+ "deletecollection",
36
+ "get",
37
+ "list",
38
+ "patch",
39
+ "update",
40
+ "watch"
41
+ ],
42
+ "shortNames": [
43
+ "cm"
44
+ ]
45
+ },
46
+ {
47
+ "name": "endpoints",
48
+ "singularName": "",
49
+ "namespaced": true,
50
+ "kind": "Endpoints",
51
+ "verbs": [
52
+ "create",
53
+ "delete",
54
+ "deletecollection",
55
+ "get",
56
+ "list",
57
+ "patch",
58
+ "update",
59
+ "watch"
60
+ ],
61
+ "shortNames": [
62
+ "ep"
63
+ ]
64
+ },
65
+ {
66
+ "name": "events",
67
+ "singularName": "",
68
+ "namespaced": true,
69
+ "kind": "Event",
70
+ "verbs": [
71
+ "create",
72
+ "delete",
73
+ "deletecollection",
74
+ "get",
75
+ "list",
76
+ "patch",
77
+ "update",
78
+ "watch"
79
+ ],
80
+ "shortNames": [
81
+ "ev"
82
+ ]
83
+ },
84
+ {
85
+ "name": "limitranges",
86
+ "singularName": "",
87
+ "namespaced": true,
88
+ "kind": "LimitRange",
89
+ "verbs": [
90
+ "create",
91
+ "delete",
92
+ "deletecollection",
93
+ "get",
94
+ "list",
95
+ "patch",
96
+ "update",
97
+ "watch"
98
+ ],
99
+ "shortNames": [
100
+ "limits"
101
+ ]
102
+ },
103
+ {
104
+ "name": "namespaces",
105
+ "singularName": "",
106
+ "namespaced": false,
107
+ "kind": "Namespace",
108
+ "verbs": [
109
+ "create",
110
+ "delete",
111
+ "get",
112
+ "list",
113
+ "patch",
114
+ "update",
115
+ "watch"
116
+ ],
117
+ "shortNames": [
118
+ "ns"
119
+ ]
120
+ },
121
+ {
122
+ "name": "namespaces/finalize",
123
+ "singularName": "",
124
+ "namespaced": false,
125
+ "kind": "Namespace",
126
+ "verbs": [
127
+ "update"
128
+ ]
129
+ },
130
+ {
131
+ "name": "namespaces/status",
132
+ "singularName": "",
133
+ "namespaced": false,
134
+ "kind": "Namespace",
135
+ "verbs": [
136
+ "get",
137
+ "patch",
138
+ "update"
139
+ ]
140
+ },
141
+ {
142
+ "name": "nodes",
143
+ "singularName": "",
144
+ "namespaced": false,
145
+ "kind": "Node",
146
+ "verbs": [
147
+ "create",
148
+ "delete",
149
+ "deletecollection",
150
+ "get",
151
+ "list",
152
+ "patch",
153
+ "proxy",
154
+ "update",
155
+ "watch"
156
+ ],
157
+ "shortNames": [
158
+ "no"
159
+ ]
160
+ },
161
+ {
162
+ "name": "nodes/proxy",
163
+ "singularName": "",
164
+ "namespaced": false,
165
+ "kind": "Node",
166
+ "verbs": []
167
+ },
168
+ {
169
+ "name": "nodes/status",
170
+ "singularName": "",
171
+ "namespaced": false,
172
+ "kind": "Node",
173
+ "verbs": [
174
+ "get",
175
+ "patch",
176
+ "update"
177
+ ]
178
+ },
179
+ {
180
+ "name": "persistentvolumeclaims",
181
+ "singularName": "",
182
+ "namespaced": true,
183
+ "kind": "PersistentVolumeClaim",
184
+ "verbs": [
185
+ "create",
186
+ "delete",
187
+ "deletecollection",
188
+ "get",
189
+ "list",
190
+ "patch",
191
+ "update",
192
+ "watch"
193
+ ],
194
+ "shortNames": [
195
+ "pvc"
196
+ ]
197
+ },
198
+ {
199
+ "name": "persistentvolumeclaims/status",
200
+ "singularName": "",
201
+ "namespaced": true,
202
+ "kind": "PersistentVolumeClaim",
203
+ "verbs": [
204
+ "get",
205
+ "patch",
206
+ "update"
207
+ ]
208
+ },
209
+ {
210
+ "name": "persistentvolumes",
211
+ "singularName": "",
212
+ "namespaced": false,
213
+ "kind": "PersistentVolume",
214
+ "verbs": [
215
+ "create",
216
+ "delete",
217
+ "deletecollection",
218
+ "get",
219
+ "list",
220
+ "patch",
221
+ "update",
222
+ "watch"
223
+ ],
224
+ "shortNames": [
225
+ "pv"
226
+ ]
227
+ },
228
+ {
229
+ "name": "persistentvolumes/status",
230
+ "singularName": "",
231
+ "namespaced": false,
232
+ "kind": "PersistentVolume",
233
+ "verbs": [
234
+ "get",
235
+ "patch",
236
+ "update"
237
+ ]
238
+ },
239
+ {
240
+ "name": "pods",
241
+ "singularName": "",
242
+ "namespaced": true,
243
+ "kind": "Pod",
244
+ "verbs": [
245
+ "create",
246
+ "delete",
247
+ "deletecollection",
248
+ "get",
249
+ "list",
250
+ "patch",
251
+ "proxy",
252
+ "update",
253
+ "watch"
254
+ ],
255
+ "shortNames": [
256
+ "po"
257
+ ],
258
+ "categories": [
259
+ "all"
260
+ ]
261
+ },
262
+ {
263
+ "name": "pods/attach",
264
+ "singularName": "",
265
+ "namespaced": true,
266
+ "kind": "Pod",
267
+ "verbs": []
268
+ },
269
+ {
270
+ "name": "pods/binding",
271
+ "singularName": "",
272
+ "namespaced": true,
273
+ "kind": "Binding",
274
+ "verbs": [
275
+ "create"
276
+ ]
277
+ },
278
+ {
279
+ "name": "pods/eviction",
280
+ "singularName": "",
281
+ "namespaced": true,
282
+ "kind": "Eviction",
283
+ "verbs": [
284
+ "create"
285
+ ]
286
+ },
287
+ {
288
+ "name": "pods/exec",
289
+ "singularName": "",
290
+ "namespaced": true,
291
+ "kind": "Pod",
292
+ "verbs": []
293
+ },
294
+ {
295
+ "name": "pods/log",
296
+ "singularName": "",
297
+ "namespaced": true,
298
+ "kind": "Pod",
299
+ "verbs": [
300
+ "get"
301
+ ]
302
+ },
303
+ {
304
+ "name": "pods/portforward",
305
+ "singularName": "",
306
+ "namespaced": true,
307
+ "kind": "Pod",
308
+ "verbs": []
309
+ },
310
+ {
311
+ "name": "pods/proxy",
312
+ "singularName": "",
313
+ "namespaced": true,
314
+ "kind": "Pod",
315
+ "verbs": []
316
+ },
317
+ {
318
+ "name": "pods/status",
319
+ "singularName": "",
320
+ "namespaced": true,
321
+ "kind": "Pod",
322
+ "verbs": [
323
+ "get",
324
+ "patch",
325
+ "update"
326
+ ]
327
+ },
328
+ {
329
+ "name": "podtemplates",
330
+ "singularName": "",
331
+ "namespaced": true,
332
+ "kind": "PodTemplate",
333
+ "verbs": [
334
+ "create",
335
+ "delete",
336
+ "deletecollection",
337
+ "get",
338
+ "list",
339
+ "patch",
340
+ "update",
341
+ "watch"
342
+ ]
343
+ },
344
+ {
345
+ "name": "replicationcontrollers",
346
+ "singularName": "",
347
+ "namespaced": true,
348
+ "kind": "ReplicationController",
349
+ "verbs": [
350
+ "create",
351
+ "delete",
352
+ "deletecollection",
353
+ "get",
354
+ "list",
355
+ "patch",
356
+ "update",
357
+ "watch"
358
+ ],
359
+ "shortNames": [
360
+ "rc"
361
+ ],
362
+ "categories": [
363
+ "all"
364
+ ]
365
+ },
366
+ {
367
+ "name": "replicationcontrollers/scale",
368
+ "singularName": "",
369
+ "namespaced": true,
370
+ "kind": "Scale",
371
+ "verbs": [
372
+ "get",
373
+ "patch",
374
+ "update"
375
+ ]
376
+ },
377
+ {
378
+ "name": "replicationcontrollers/status",
379
+ "singularName": "",
380
+ "namespaced": true,
381
+ "kind": "ReplicationController",
382
+ "verbs": [
383
+ "get",
384
+ "patch",
385
+ "update"
386
+ ]
387
+ },
388
+ {
389
+ "name": "resourcequotas",
390
+ "singularName": "",
391
+ "namespaced": true,
392
+ "kind": "ResourceQuota",
393
+ "verbs": [
394
+ "create",
395
+ "delete",
396
+ "deletecollection",
397
+ "get",
398
+ "list",
399
+ "patch",
400
+ "update",
401
+ "watch"
402
+ ],
403
+ "shortNames": [
404
+ "quota"
405
+ ]
406
+ },
407
+ {
408
+ "name": "resourcequotas/status",
409
+ "singularName": "",
410
+ "namespaced": true,
411
+ "kind": "ResourceQuota",
412
+ "verbs": [
413
+ "get",
414
+ "patch",
415
+ "update"
416
+ ]
417
+ },
418
+ {
419
+ "name": "secrets",
420
+ "singularName": "",
421
+ "namespaced": true,
422
+ "kind": "Secret",
423
+ "verbs": [
424
+ "create",
425
+ "delete",
426
+ "deletecollection",
427
+ "get",
428
+ "list",
429
+ "patch",
430
+ "update",
431
+ "watch"
432
+ ]
433
+ },
434
+ {
435
+ "name": "serviceaccounts",
436
+ "singularName": "",
437
+ "namespaced": true,
438
+ "kind": "ServiceAccount",
439
+ "verbs": [
440
+ "create",
441
+ "delete",
442
+ "deletecollection",
443
+ "get",
444
+ "list",
445
+ "patch",
446
+ "update",
447
+ "watch"
448
+ ],
449
+ "shortNames": [
450
+ "sa"
451
+ ]
452
+ },
453
+ {
454
+ "name": "services",
455
+ "singularName": "",
456
+ "namespaced": true,
457
+ "kind": "Service",
458
+ "verbs": [
459
+ "create",
460
+ "delete",
461
+ "get",
462
+ "list",
463
+ "patch",
464
+ "proxy",
465
+ "update",
466
+ "watch"
467
+ ]
468
+ },
469
+ {
470
+ "name": "services/proxy",
471
+ "singularName": "",
472
+ "namespaced": true,
473
+ "kind": "Service",
474
+ "verbs": []
475
+ },
476
+ {
477
+ "name": "services/status",
478
+ "singularName": "",
479
+ "namespaced": true,
480
+ "kind": "Service",
481
+ "verbs": [
482
+ "get",
483
+ "patch",
484
+ "update"
485
+ ]
486
+ }
487
+ ]
488
+ }