67
CHARTS = {
68
# Throughput metrics
69
"kv.node_operations": {
70
- "options": [None, "Reads & writes coordinated by this node", "operations/s", "throughput", "riak.kv.throughput", "line"],
70
+ "options": [None, "Reads & writes coordinated by this node", "operations/s", "throughput", "riak.kv.throughput",
71
+ "line"],
72
"lines": [
73
["node_gets_total", "gets", "incremental"],
74
["node_puts_total", "puts", "incremental"]
75
]
76
},
77
"dt.vnode_updates": {
77
- "options": [None, "Update operations coordinated by local vnodes by data type", "operations/s", "throughput", "riak.dt.vnode_updates", "line"],
78
+ "options": [None, "Update operations coordinated by local vnodes by data type", "operations/s", "throughput",
79
+ "riak.dt.vnode_updates", "line"],
80
"lines": [
81
["vnode_counter_update_total", "counters", "incremental"],
82
["vnode_set_update_total", "sets", "incremental"],
96
]
97
},
98
"consistent.operations": {
97
- "options": [None, "Consistent node operations", "operations/s", "throughput", "riak.consistent.operations", "line"],
99
+ "options": [None, "Consistent node operations", "operations/s", "throughput", "riak.consistent.operations",
100
+ "line"],
101
"lines": [
102
["consistent_gets_total", "gets", "incremental"],
103
["consistent_puts_total", "puts", "incremental"],
106
107
# Latency metrics
108
"kv.latency.get": {
106
- "options": [None, "Time between reception of a client GET request and subsequent response to client", "ms", "latency", "riak.kv.latency.get", "line"],
109
+ "options": [None, "Time between reception of a client GET request and subsequent response to client", "ms",
110
+ "latency", "riak.kv.latency.get", "line"],
111
"lines": [
112
["node_get_fsm_time_mean", "mean", "absolute", 1, 1000],
113
["node_get_fsm_time_median", "median", "absolute", 1, 1000],
117
]
118
},
119
"kv.latency.put": {
116
- "options": [None, "Time between reception of a client PUT request and subsequent response to client", "ms", "latency", "riak.kv.latency.put", "line"],
120
+ "options": [None, "Time between reception of a client PUT request and subsequent response to client", "ms",
121
+ "latency", "riak.kv.latency.put", "line"],
122
"lines": [
123
["node_put_fsm_time_mean", "mean", "absolute", 1, 1000],
124
["node_put_fsm_time_median", "median", "absolute", 1, 1000],
128
]
129
},
130
"dt.latency.counter": {
126
- "options": [None, "Time it takes to perform an Update Counter operation", "ms", "latency", "riak.dt.latency.counter_merge", "line"],
131
+ "options": [None, "Time it takes to perform an Update Counter operation", "ms", "latency",
132
+ "riak.dt.latency.counter_merge", "line"],
133
"lines": [
134
["object_counter_merge_time_mean", "mean", "absolute", 1, 1000],
135
["object_counter_merge_time_median", "median", "absolute", 1, 1000],
139
]
140
},
141
"dt.latency.set": {
136
- "options": [None, "Time it takes to perform an Update Set operation", "ms", "latency", "riak.dt.latency.set_merge", "line"],
142
+ "options": [None, "Time it takes to perform an Update Set operation", "ms", "latency",
143
+ "riak.dt.latency.set_merge", "line"],
144
"lines": [
145
["object_set_merge_time_mean", "mean", "absolute", 1, 1000],
146
["object_set_merge_time_median", "median", "absolute", 1, 1000],
150
]
151
},
152
"dt.latency.map": {
146
- "options": [None, "Time it takes to perform an Update Map operation", "ms", "latency", "riak.dt.latency.map_merge", "line"],
153
+ "options": [None, "Time it takes to perform an Update Map operation", "ms", "latency",
154
+ "riak.dt.latency.map_merge", "line"],
155
"lines": [
156
["object_map_merge_time_mean", "mean", "absolute", 1, 1000],
157
["object_map_merge_time_median", "median", "absolute", 1, 1000],
172
]
173
},
174
"search.latency.index": {
167
- "options": [None, "Time it takes Search to index a new document", "ms", "latency", "riak.search.latency.index", "line"],
175
+ "options": [None, "Time it takes Search to index a new document", "ms", "latency", "riak.search.latency.index",
176
+ "line"],
177
"lines": [
178
["search_index_latency_median", "median", "absolute", 1, 1000],
179
["search_index_latency_min", "min", "absolute", 1, 1000],
214
]
215
},
216
"vm.memory.processes": {
208
- "options": [None, "Memory allocated & used by Erlang processes", "MB", "vm", "riak.vm.memory.processes", "line"],
217
+ "options": [None, "Memory allocated & used by Erlang processes", "MB", "vm", "riak.vm.memory.processes",
218
+ "line"],
219
"lines": [
220
["memory_processes", "allocated", "absolute", 1, 1024 * 1024],
221
["memory_processes_used", "used", "absolute", 1, 1024 * 1024]
224
225
# General Riak Load/Health metrics
226
"kv.siblings_encountered.get": {
217
- "options": [None, "Number of siblings encountered during GET operations by this node during the past minute", "siblings", "load", "riak.kv.siblings_encountered.get", "line"],
227
+ "options": [None, "Number of siblings encountered during GET operations by this node during the past minute",
228
+ "siblings", "load", "riak.kv.siblings_encountered.get", "line"],
229
"lines": [
230
["node_get_fsm_siblings_mean", "mean", "absolute"],
231
["node_get_fsm_siblings_median", "median", "absolute"],
235
]
236
},
237
"kv.objsize.get": {
227
- "options": [None, "Object size encountered by this node during the past minute", "KB", "load", "riak.kv.objsize.get", "line"],
238
+ "options": [None, "Object size encountered by this node during the past minute", "KB", "load",
239
+ "riak.kv.objsize.get", "line"],
240
"lines": [
241
["node_get_fsm_objsize_mean", "mean", "absolute", 1, 1024],
242
["node_get_fsm_objsize_median", "median", "absolute", 1, 1024],
246
]
247
},
248
"search.vnodeq_size": {
237
- "options": [None, "Number of unprocessed messages in the vnode message queues of Search on this node in the past minute", "messages", "load", "riak.search.vnodeq_size", "line"],
249
+ "options": [None,
250
+ "Number of unprocessed messages in the vnode message queues of Search on this node in the past minute",
251
+ "messages", "load", "riak.search.vnodeq_size", "line"],
252
"lines": [
253
["riak_search_vnodeq_mean", "mean", "absolute"],
254
["riak_search_vnodeq_median", "median", "absolute"],
258
]
259
},
260
"search.index_errors": {
247
- "options": [None, "Number of document index errors encountered by Search", "errors", "load", "riak.search.index", "line"],
261
+ "options": [None, "Number of document index errors encountered by Search", "errors", "load",
262
+ "riak.search.index", "line"],
263
"lines": [
264
["search_index_fail_count", "errors", "absolute"]
265
]
266
},
267
"core.pbc": {
253
- "options": [None, "Protocol buffer connections by status", "connections", "load", "riak.core.protobuf_connections", "line"],
268
+ "options": [None, "Protocol buffer connections by status", "connections", "load",
269
+ "riak.core.protobuf_connections", "line"],
270
"lines": [
271
["pbc_active", "active", "absolute"],
272
# ["pbc_connects", "established_pastmin", "absolute"]
273
]
274
},
275
"core.repairs": {
260
- "options": [None, "Number of repair operations this node has coordinated", "repairs", "load", "riak.core.repairs", "line"],
276
+ "options": [None, "Number of repair operations this node has coordinated", "repairs", "load",
277
+ "riak.core.repairs", "line"],
278
"lines": [
279
["read_repairs", "read", "absolute"]
280
]
292
# Writing "Sidejob's" here seems to cause some weird issues: it results in this chart being rendered in
293
# its own context and additionally, moves the entire Riak graph all the way up to the top of the Netdata
294
# dashboard for some reason.
278
- "options": [None, "Finite state machines being rejected by Sidejobs overload protection", "fsms", "load", "riak.core.fsm_rejected", "line"],
295
+ "options": [None, "Finite state machines being rejected by Sidejobs overload protection", "fsms", "load",
296
+ "riak.core.fsm_rejected", "line"],
297
"lines": [
298
["node_get_fsm_rejected", "get", "absolute"],
299
["node_put_fsm_rejected", "put", "absolute"]
302
303
# General Riak Search Load / Health metrics
304
"search.errors": {
287
- "options": [None, "Number of writes to Search failed due to bad data format by reason", "writes", "load", "riak.search.index", "line"],
305
+ "options": [None, "Number of writes to Search failed due to bad data format by reason", "writes", "load",
306
+ "riak.search.index", "line"],
307
"lines": [
308
["search_index_bad_entry_count", "bad_entry", "absolute"],
309
["search_index_extract_fail_count", "extract_fail", "absolute"],