-
Notifications
You must be signed in to change notification settings - Fork 4.9k
/
Copy pathfields.yml
570 lines (515 loc) · 16.6 KB
/
fields.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
- name: info
type: group
description: >
`info` contains the information and statistics returned by the `INFO` command.
release: ga
fields:
- name: clients
type: group
description: >
Redis client stats.
fields:
- name: connected
type: long
description: >
Number of client connections (excluding connections from slaves).
- name: longest_output_list
type: long
deprecated: "6.5.0"
description: >
Longest output list among current client connections (replaced by max_output_buffer).
- name: max_output_buffer
type: long
description: >
Longest output list among current client connections.
- name: biggest_input_buf
type: long
deprecated: "6.5.0"
description: >
Biggest input buffer among current client connections (replaced by max_input_buffer).
- name: max_input_buffer
type: long
description: >
Biggest input buffer among current client connections (on redis 5.0).
- name: blocked
type: long
description: >
Number of clients pending on a blocking call (BLPOP, BRPOP, BRPOPLPUSH).
- name: cluster
type: group
description: >
Redis cluster information.
fields:
- name: enabled
type: boolean
description: >
Indicates that the Redis cluster is enabled.
- name: cpu
type: group
description: >
Redis CPU stats
fields:
- name: used.sys
type: scaled_float
description: >
System CPU consumed by the Redis server.
- name: used.sys_children
type: scaled_float
description: >
User CPU consumed by the Redis server.
- name: used.user
type: scaled_float
description: >
System CPU consumed by the background processes.
- name: used.user_children
type: scaled_float
description: >
User CPU consumed by the background processes.
- name: memory
type: group
description: >
Redis memory stats.
fields:
- name: used.value
type: long
format: bytes
description: >
Total number of bytes allocated by Redis.
- name: used.rss
type: long
format: bytes
description: >
Number of bytes that Redis allocated as seen by the operating system (a.k.a resident set size).
- name: used.peak
type: long
format: bytes
description: >
Peak memory consumed by Redis.
- name: used.lua
type: long
format: bytes
description: >
Used memory by the Lua engine.
- name: used.dataset
type: long
format: bytes
description: >
The size in bytes of the dataset
- name: max.value
type: long
format: bytes
description: >
Memory limit.
- name: max.policy
type: keyword
description: >
Eviction policy to use when memory limit is reached.
- name: fragmentation.ratio
type: float
description: >
Ratio between used_memory_rss and used_memory
- name: fragmentation.bytes
type: long
format: bytes
description: >
Bytes between used_memory_rss and used_memory
- name: active_defrag.is_running
type: boolean
description: >
Flag indicating if active defragmentation is active
- name: allocator
type: keyword
description: >
Memory allocator.
- name: allocator_stats
type: group
fields:
- name: allocated
type: long
format: bytes
description: >
Allocated memory
- name: active
type: long
format: bytes
description: >
Active memeory
- name: resident
type: long
format: bytes
description: >
Resident memory
- name: fragmentation.ratio
type: float
description: >
Fragmentation ratio
- name: fragmentation.bytes
type: long
format: bytes
description: >
Fragmented bytes
- name: rss.ratio
type: float
description: >
Resident ratio
- name: rss.bytes
type: long
format: bytes
description: >
Resident bytes
- name: persistence
type: group
description: >
Redis CPU stats.
fields:
- name: loading
type: boolean
description: >
Flag indicating if the load of a dump file is on-going
# ToDo move `loading` to `loading.enabled` and add other loading stats beside that (start time, total bytes, loaded bytes, ...)
- name: rdb
type: group
description: >
Provides information about RDB persistence
fields:
- name: last_save.changes_since
type: long
description: >
Number of changes since the last dump
- name: last_save.time
type: long
description: >
Epoch-based timestamp of last successful RDB save
- name: bgsave.in_progress
type: boolean
description: >
Flag indicating a RDB save is on-going
- name: bgsave.last_status
type: keyword
description: >
Status of the last RDB save operation
- name: bgsave.last_time.sec
type: long
format: duration
description: >
Duration of the last RDB save operation in seconds
- name: bgsave.current_time.sec
type: long
format: duration
description: >
Duration of the on-going RDB save operation if any
- name: copy_on_write.last_size
type: long
format: bytes
description: >
The size in bytes of copy-on-write allocations during the last RBD save operation
- name: aof
type: group
description: >
Provides information about AOF persitence
fields:
- name: enabled
type: boolean
description: >
Flag indicating AOF logging is activated
- name: rewrite.in_progress
type: boolean
description: >
Flag indicating a AOF rewrite operation is on-going
- name: rewrite.scheduled
type: boolean
description: >
Flag indicating an AOF rewrite operation will be scheduled once the on-going RDB save is complete.
- name: rewrite.last_time.sec
type: long
format: duration
description: >
Duration of the last AOF rewrite operation in seconds
- name: rewrite.current_time.sec
type: long
format: duration
description: >
Duration of the on-going AOF rewrite operation if any
- name: rewrite.buffer.size
type: long
format: bytes
description: >
Size of the AOF rewrite buffer
- name: bgrewrite.last_status
type: keyword
description: >
Status of the last AOF rewrite operatio
- name: write.last_status
type: keyword
description: >
Status of the last write operation to the AOF
- name: copy_on_write.last_size
type: long
format: bytes
description: >
The size in bytes of copy-on-write allocations during the last RBD save operation
- name: buffer.size
type: long
format: bytes
description: >
Size of the AOF buffer
- name: size.current
type: long
format: bytes
description: >
AOF current file size
- name: size.base
type: long
format: bytes
description: >
AOF file size on latest startup or rewrite
- name: fsync.pending
type: long
description: >
Number of fsync pending jobs in background I/O queue
- name: fsync.delayed
type: long
description: >
Delayed fsync counter
- name: replication
type: group
description: >
Replication
fields:
- name: role
type: keyword
description: >
Role of the instance (can be "master", or "slave").
- name: connected_slaves
type: long
description: >
Number of connected slaves
- name: master_offset
type: long
deprecated: 6.5
description: >
The server's current replication offset
- name: backlog.active
type: long
description: >
Flag indicating replication backlog is active
- name: backlog.size
type: long
format: bytes
description: >
Total size in bytes of the replication backlog buffer
- name: backlog.first_byte_offset
type: long
description: >
The master offset of the replication backlog buffer
- name: backlog.histlen
type: long
description: >
Size in bytes of the data in the replication backlog buffer
- name: master.offset
type: long
description: >
The server's current replication offset
- name: master.second_offset
type: long
description: >
The offset up to which replication IDs are accepted
- name: master.link_status
type: keyword
description: >
Status of the link (up/down)
- name: master.last_io_seconds_ago
type: long
format: duration
description: >
Number of seconds since the last interaction with master
- name: master.sync.in_progress
type: boolean
description: >
Indicate the master is syncing to the slave
- name: master.sync.left_bytes
type: long
format: bytes
description: >
Number of bytes left before syncing is complete
- name: master.sync.last_io_seconds_ago
type: long
format: duration
description: >
Number of seconds since last transfer I/O during a SYNC operation
- name: slave.offset
type: long
description: >
The replication offset of the slave instance
- name: slave.priority
type: long
description: >
The priority of the instance as a candidate for failover
- name: slave.is_readonly
type: boolean
description: >
Flag indicating if the slave is read-only
- name: server
type: group
description: >
Server info
fields:
- name: version
type: alias
path: service.version
migration: true
description:
- name: git_sha1
type: keyword
description:
- name: git_dirty
type: keyword
description:
- name: build_id
type: keyword
description:
- name: mode
type: keyword
description:
- name: os
type: alias
path: os.full
migration: true
description:
- name: arch_bits
type: keyword
description:
- name: multiplexing_api
type: keyword
description:
- name: gcc_version
type: keyword
description:
- name: process_id
type: alias
path: process.pid
migration: true
description:
- name: run_id
type: keyword
description:
- name: tcp_port
type: long
description:
- name: uptime
type: long
description:
- name: hz
type: long
description:
- name: lru_clock
type: long
description:
- name: config_file
type: keyword
description:
- name: stats
type: group
description: >
Redis stats.
fields:
- name: connections.received
type: long
description:
Total number of connections received.
- name: connections.rejected
type: long
description:
Total number of connections rejected.
- name: commands_processed
type: long
description:
Total number of commands processed.
- name: net.input.bytes
type: long
description:
Total network input in bytes.
- name: net.output.bytes
type: long
description:
Total network output in bytes.
- name: instantaneous.ops_per_sec
type: long
description: >
Number of commands processed per second
- name: instantaneous.input_kbps
type: scaled_float
description: >
The network's read rate per second in KB/sec
- name: instantaneous.output_kbps
type: scaled_float
description: >
The network's write rate per second in KB/sec
- name: sync.full
type: long
description: >
The number of full resyncs with slaves
- name: sync.partial.ok
type: long
description: >
The number of accepted partial resync requests
- name: sync.partial.err
type: long
description: >
The number of denied partial resync requests
- name: keys.expired
type: long
description: >
Total number of key expiration events
- name: keys.evicted
type: long
description: >
Number of evicted keys due to maxmemory limit
- name: keyspace.hits
type: long
description: >
Number of successful lookup of keys in the main dictionary
- name: keyspace.misses
type: long
description: >
Number of failed lookup of keys in the main dictionary
- name: pubsub.channels
type: long
description: >
Global number of pub/sub channels with client subscriptions
- name: pubsub.patterns
type: long
description: >
Global number of pub/sub pattern with client subscriptions
- name: latest_fork_usec
type: long
description: >
Duration of the latest fork operation in microseconds
- name: migrate_cached_sockets
type: long
description: >
The number of sockets open for MIGRATE purposes
- name: slave_expires_tracked_keys
type: long
description: >
The number of keys tracked for expiry purposes (applicable only to writable slaves)
- name: active_defrag.hits
type: long
description: >
Number of value reallocations performed by active the defragmentation process
- name: active_defrag.misses
type: long
description: >
Number of aborted value reallocations started by the active defragmentation process
- name: active_defrag.key_hits
type: long
description: >
Number of keys that were actively defragmented
- name: active_defrag.key_misses
type: long
description: >
Number of keys that were skipped by the active defragmentation process
- name: slowlog.count
type: long
description: >
Count of slow operations