metrics_reference.rst 57.9 KB
Newer Older
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
Metrics Reference
=================

Prometheus Metrics
------------------

The following metrics are currently exported for consumption by Prometheus.

+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| Name                                                | Type      | Description                                                | Labels             |
+=====================================================+===========+============================================================+====================+
| blockcutter_block_fill_duration                     | histogram | The time from first transaction enqueing to the block      | channel            |
|                                                     |           | being cut in seconds.                                      |                    |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| broadcast_enqueue_duration                          | histogram | The time to enqueue a transaction in seconds.              | channel            |
|                                                     |           |                                                            | type               |
|                                                     |           |                                                            | status             |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| broadcast_processed_count                           | counter   | The number of transactions processed.                      | channel            |
|                                                     |           |                                                            | type               |
|                                                     |           |                                                            | status             |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| broadcast_validate_duration                         | histogram | The time to validate a transaction in seconds.             | channel            |
|                                                     |           |                                                            | type               |
|                                                     |           |                                                            | status             |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| chaincode_execute_timeouts                          | counter   | The number of chaincode executions (Init or Invoke) that   | chaincode          |
|                                                     |           | have timed out.                                            |                    |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| chaincode_launch_duration                           | histogram | The time to launch a chaincode.                            | chaincode          |
|                                                     |           |                                                            | success            |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| chaincode_launch_failures                           | counter   | The number of chaincode launches that have failed.         | chaincode          |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| chaincode_launch_timeouts                           | counter   | The number of chaincode launches that have timed out.      | chaincode          |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| chaincode_shim_request_duration                     | histogram | The time to complete chaincode shim requests.              | type               |
|                                                     |           |                                                            | channel            |
|                                                     |           |                                                            | chaincode          |
|                                                     |           |                                                            | success            |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| chaincode_shim_requests_completed                   | counter   | The number of chaincode shim requests completed.           | type               |
|                                                     |           |                                                            | channel            |
|                                                     |           |                                                            | chaincode          |
|                                                     |           |                                                            | success            |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| chaincode_shim_requests_received                    | counter   | The number of chaincode shim requests received.            | type               |
|                                                     |           |                                                            | channel            |
|                                                     |           |                                                            | chaincode          |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
51
| cluster_comm_egress_queue_capacity                  | gauge     | Capacity of the egress queue.                              | host               |
yacovm's avatar
yacovm committed
52
53
54
|                                                     |           |                                                            | msg_type           |
|                                                     |           |                                                            | channel            |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
55
| cluster_comm_egress_queue_length                    | gauge     | Length of the egress queue.                                | host               |
yacovm's avatar
yacovm committed
56
57
58
|                                                     |           |                                                            | msg_type           |
|                                                     |           |                                                            | channel            |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
59
| cluster_comm_egress_queue_workers                   | gauge     | Count of egress queue workers.                             | channel            |
yacovm's avatar
yacovm committed
60
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
61
| cluster_comm_egress_stream_count                    | gauge     | Count of streams to other nodes.                           | channel            |
yacovm's avatar
yacovm committed
62
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
63
| cluster_comm_egress_tls_connection_count            | gauge     | Count of TLS connections to other nodes.                   |                    |
yacovm's avatar
yacovm committed
64
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
65
| cluster_comm_ingress_stream_count                   | gauge     | Count of streams from other nodes.                         |                    |
yacovm's avatar
yacovm committed
66
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
67
| cluster_comm_msg_dropped_count                      | counter   | Count of messages dropped.                                 | host               |
yacovm's avatar
yacovm committed
68
69
|                                                     |           |                                                            | channel            |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
70
| cluster_comm_msg_send_time                          | histogram | The time it takes to send a message in seconds.            | host               |
yacovm's avatar
yacovm committed
71
72
|                                                     |           |                                                            | channel            |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
73
74
75
76
| consensus_etcdraft_cluster_size                     | gauge     | Number of nodes in this channel.                           | channel            |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| consensus_etcdraft_committed_block_number           | gauge     | The block number of the latest block committed.            | channel            |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
77
78
79
80
81
82
| consensus_etcdraft_config_proposals_received        | counter   | The total number of proposals received for config type     | channel            |
|                                                     |           | transactions.                                              |                    |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| consensus_etcdraft_data_persist_duration            | histogram | The time taken for etcd/raft data to be persisted in       | channel            |
|                                                     |           | storage (in seconds).                                      |                    |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
83
84
85
| consensus_etcdraft_is_leader                        | gauge     | The leadership status of the current node: 1 if it is the  | channel            |
|                                                     |           | leader else 0.                                             |                    |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
86
| consensus_etcdraft_leader_changes                   | counter   | The number of leader changes since process start.          | channel            |
87
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
88
89
90
| consensus_etcdraft_normal_proposals_received        | counter   | The total number of proposals received for normal type     | channel            |
|                                                     |           | transactions.                                              |                    |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
91
92
93
94
| consensus_etcdraft_proposal_failures                | counter   | The number of proposal failures.                           | channel            |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| consensus_etcdraft_snapshot_block_number            | gauge     | The block number of the latest snapshot.                   | channel            |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
| consensus_kafka_batch_size                          | gauge     | The mean batch size in bytes sent to topics.               | topic              |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| consensus_kafka_compression_ratio                   | gauge     | The mean compression ratio (as percentage) for topics.     | topic              |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| consensus_kafka_incoming_byte_rate                  | gauge     | Bytes/second read off brokers.                             | broker_id          |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| consensus_kafka_outgoing_byte_rate                  | gauge     | Bytes/second written to brokers.                           | broker_id          |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| consensus_kafka_record_send_rate                    | gauge     | The number of records per second sent to topics.           | topic              |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| consensus_kafka_records_per_request                 | gauge     | The mean number of records sent per request to topics.     | topic              |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| consensus_kafka_request_latency                     | gauge     | The mean request latency in ms to brokers.                 | broker_id          |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| consensus_kafka_request_rate                        | gauge     | Requests/second sent to brokers.                           | broker_id          |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| consensus_kafka_request_size                        | gauge     | The mean request size in bytes to brokers.                 | broker_id          |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| consensus_kafka_response_rate                       | gauge     | Requests/second sent to brokers.                           | broker_id          |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| consensus_kafka_response_size                       | gauge     | The mean response size in bytes from brokers.              | broker_id          |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
117
118
| couchdb_processing_time                             | histogram | Time taken in seconds for the function to complete request | database           |
|                                                     |           | to CouchDB                                                 | function_name      |
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
|                                                     |           |                                                            | result             |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| deliver_blocks_sent                                 | counter   | The number of blocks sent by the deliver service.          | channel            |
|                                                     |           |                                                            | filtered           |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| deliver_requests_completed                          | counter   | The number of deliver requests that have been completed.   | channel            |
|                                                     |           |                                                            | filtered           |
|                                                     |           |                                                            | success            |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| deliver_requests_received                           | counter   | The number of deliver requests that have been received.    | channel            |
|                                                     |           |                                                            | filtered           |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| deliver_streams_closed                              | counter   | The number of GRPC streams that have been closed for the   |                    |
|                                                     |           | deliver service.                                           |                    |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| deliver_streams_opened                              | counter   | The number of GRPC streams that have been opened for the   |                    |
|                                                     |           | deliver service.                                           |                    |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| dockercontroller_chaincode_container_build_duration | histogram | The time to build a chaincode image in seconds.            | chaincode          |
|                                                     |           |                                                            | success            |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
muralisr's avatar
muralisr committed
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
| endorser_chaincode_instantiation_failures           | counter   | The number of chaincode instantiations or upgrade that     | channel            |
|                                                     |           | have failed.                                               | chaincode          |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| endorser_duplicate_transaction_failures             | counter   | The number of failed proposals due to duplicate            | channel            |
|                                                     |           | transaction ID.                                            | chaincode          |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| endorser_endorsement_failures                       | counter   | The number of failed endorsements.                         | channel            |
|                                                     |           |                                                            | chaincode          |
|                                                     |           |                                                            | chaincodeerror     |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| endorser_proposal_acl_failures                      | counter   | The number of proposals that failed ACL checks.            | channel            |
|                                                     |           |                                                            | chaincode          |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| endorser_proposal_validation_failures               | counter   | The number of proposals that have failed initial           |                    |
|                                                     |           | validation.                                                |                    |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| endorser_proposals_received                         | counter   | The number of proposals received.                          |                    |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| endorser_propsal_duration                           | histogram | The time to complete a proposal.                           | channel            |
|                                                     |           |                                                            | chaincode          |
|                                                     |           |                                                            | success            |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| endorser_successful_proposals                       | counter   | The number of successful proposals.                        |                    |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
164
165
| fabric_version                                      | gauge     | The active version of Fabric.                              | version            |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
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
| grpc_comm_conn_closed                               | counter   | gRPC connections closed. Open minus closed is the active   |                    |
|                                                     |           | number of connections.                                     |                    |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| grpc_comm_conn_opened                               | counter   | gRPC connections opened. Open minus closed is the active   |                    |
|                                                     |           | number of connections.                                     |                    |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| grpc_server_stream_messages_received                | counter   | The number of stream messages received.                    | service            |
|                                                     |           |                                                            | method             |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| grpc_server_stream_messages_sent                    | counter   | The number of stream messages sent.                        | service            |
|                                                     |           |                                                            | method             |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| grpc_server_stream_request_duration                 | histogram | The time to complete a stream request.                     | service            |
|                                                     |           |                                                            | method             |
|                                                     |           |                                                            | code               |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| grpc_server_stream_requests_completed               | counter   | The number of stream requests completed.                   | service            |
|                                                     |           |                                                            | method             |
|                                                     |           |                                                            | code               |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| grpc_server_stream_requests_received                | counter   | The number of stream requests received.                    | service            |
|                                                     |           |                                                            | method             |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| grpc_server_unary_request_duration                  | histogram | The time to complete a unary request.                      | service            |
|                                                     |           |                                                            | method             |
|                                                     |           |                                                            | code               |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| grpc_server_unary_requests_completed                | counter   | The number of unary requests completed.                    | service            |
|                                                     |           |                                                            | method             |
|                                                     |           |                                                            | code               |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| grpc_server_unary_requests_received                 | counter   | The number of unary requests received.                     | service            |
|                                                     |           |                                                            | method             |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| ledger_block_processing_time                        | histogram | Time taken in seconds for ledger block processing.         | channel            |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| ledger_blockchain_height                            | gauge     | Height of the chain in blocks.                             | channel            |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| ledger_blockstorage_commit_time                     | histogram | Time taken in seconds for committing the block and private | channel            |
|                                                     |           | data to storage.                                           |                    |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| ledger_statedb_commit_time                          | histogram | Time taken in seconds for committing block changes to      | channel            |
|                                                     |           | state db.                                                  |                    |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| ledger_transaction_count                            | counter   | Number of transactions processed.                          | channel            |
|                                                     |           |                                                            | transaction_type   |
|                                                     |           |                                                            | chaincode          |
|                                                     |           |                                                            | validation_code    |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
215
216
217
218
219
| logging_entries_checked                             | counter   | Number of log entries checked against the active logging   | level              |
|                                                     |           | level                                                      |                    |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
| logging_entries_written                             | counter   | Number of log entries that are written                     | level              |
+-----------------------------------------------------+-----------+------------------------------------------------------------+--------------------+
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
StatsD Metrics
--------------

The following metrics are currently emitted for consumption by StatsD. The
``%{variable_name}`` nomenclature represents segments that vary based on
context.

For example, ``%{channel}`` will be replaced with the name of the channel
associated with the metric.

+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| Bucket                                                                                  | Type      | Description                                                |
+=========================================================================================+===========+============================================================+
| blockcutter.block_fill_duration.%{channel}                                              | histogram | The time from first transaction enqueing to the block      |
|                                                                                         |           | being cut in seconds.                                      |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| broadcast.enqueue_duration.%{channel}.%{type}.%{status}                                 | histogram | The time to enqueue a transaction in seconds.              |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| broadcast.processed_count.%{channel}.%{type}.%{status}                                  | counter   | The number of transactions processed.                      |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| broadcast.validate_duration.%{channel}.%{type}.%{status}                                | histogram | The time to validate a transaction in seconds.             |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| chaincode.execute_timeouts.%{chaincode}                                                 | counter   | The number of chaincode executions (Init or Invoke) that   |
|                                                                                         |           | have timed out.                                            |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| chaincode.launch_duration.%{chaincode}.%{success}                                       | histogram | The time to launch a chaincode.                            |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| chaincode.launch_failures.%{chaincode}                                                  | counter   | The number of chaincode launches that have failed.         |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| chaincode.launch_timeouts.%{chaincode}                                                  | counter   | The number of chaincode launches that have timed out.      |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| chaincode.shim_request_duration.%{type}.%{channel}.%{chaincode}.%{success}              | histogram | The time to complete chaincode shim requests.              |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| chaincode.shim_requests_completed.%{type}.%{channel}.%{chaincode}.%{success}            | counter   | The number of chaincode shim requests completed.           |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| chaincode.shim_requests_received.%{type}.%{channel}.%{chaincode}                        | counter   | The number of chaincode shim requests received.            |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
259
| cluster.comm.egress_queue_capacity.%{host}.%{msg_type}.%{channel}                       | gauge     | Capacity of the egress queue.                              |
yacovm's avatar
yacovm committed
260
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
261
| cluster.comm.egress_queue_length.%{host}.%{msg_type}.%{channel}                         | gauge     | Length of the egress queue.                                |
yacovm's avatar
yacovm committed
262
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
263
| cluster.comm.egress_queue_workers.%{channel}                                            | gauge     | Count of egress queue workers.                             |
yacovm's avatar
yacovm committed
264
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
265
| cluster.comm.egress_stream_count.%{channel}                                             | gauge     | Count of streams to other nodes.                           |
yacovm's avatar
yacovm committed
266
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
267
| cluster.comm.egress_tls_connection_count                                                | gauge     | Count of TLS connections to other nodes.                   |
yacovm's avatar
yacovm committed
268
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
269
| cluster.comm.ingress_stream_count                                                       | gauge     | Count of streams from other nodes.                         |
yacovm's avatar
yacovm committed
270
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
271
| cluster.comm.msg_dropped_count.%{host}.%{channel}                                       | counter   | Count of messages dropped.                                 |
yacovm's avatar
yacovm committed
272
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
273
| cluster.comm.msg_send_time.%{host}.%{channel}                                           | histogram | The time it takes to send a message in seconds.            |
yacovm's avatar
yacovm committed
274
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
275
276
277
278
| consensus.etcdraft.cluster_size.%{channel}                                              | gauge     | Number of nodes in this channel.                           |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| consensus.etcdraft.committed_block_number.%{channel}                                    | gauge     | The block number of the latest block committed.            |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
279
280
281
282
283
284
| consensus.etcdraft.config_proposals_received.%{channel}                                 | counter   | The total number of proposals received for config type     |
|                                                                                         |           | transactions.                                              |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| consensus.etcdraft.data_persist_duration.%{channel}                                     | histogram | The time taken for etcd/raft data to be persisted in       |
|                                                                                         |           | storage (in seconds).                                      |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
285
286
287
| consensus.etcdraft.is_leader.%{channel}                                                 | gauge     | The leadership status of the current node: 1 if it is the  |
|                                                                                         |           | leader else 0.                                             |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
288
| consensus.etcdraft.leader_changes.%{channel}                                            | counter   | The number of leader changes since process start.          |
289
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
290
291
292
| consensus.etcdraft.normal_proposals_received.%{channel}                                 | counter   | The total number of proposals received for normal type     |
|                                                                                         |           | transactions.                                              |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
293
294
295
296
| consensus.etcdraft.proposal_failures.%{channel}                                         | counter   | The number of proposal failures.                           |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| consensus.etcdraft.snapshot_block_number.%{channel}                                     | gauge     | The block number of the latest snapshot.                   |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
| consensus.kafka.batch_size.%{topic}                                                     | gauge     | The mean batch size in bytes sent to topics.               |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| consensus.kafka.compression_ratio.%{topic}                                              | gauge     | The mean compression ratio (as percentage) for topics.     |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| consensus.kafka.incoming_byte_rate.%{broker_id}                                         | gauge     | Bytes/second read off brokers.                             |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| consensus.kafka.outgoing_byte_rate.%{broker_id}                                         | gauge     | Bytes/second written to brokers.                           |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| consensus.kafka.record_send_rate.%{topic}                                               | gauge     | The number of records per second sent to topics.           |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| consensus.kafka.records_per_request.%{topic}                                            | gauge     | The mean number of records sent per request to topics.     |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| consensus.kafka.request_latency.%{broker_id}                                            | gauge     | The mean request latency in ms to brokers.                 |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| consensus.kafka.request_rate.%{broker_id}                                               | gauge     | Requests/second sent to brokers.                           |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| consensus.kafka.request_size.%{broker_id}                                               | gauge     | The mean request size in bytes to brokers.                 |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| consensus.kafka.response_rate.%{broker_id}                                              | gauge     | Requests/second sent to brokers.                           |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| consensus.kafka.response_size.%{broker_id}                                              | gauge     | The mean response size in bytes from brokers.              |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
319
320
| couchdb.processing_time.%{database}.%{function_name}.%{result}                          | histogram | Time taken in seconds for the function to complete request |
|                                                                                         |           | to CouchDB                                                 |
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| deliver.blocks_sent.%{channel}.%{filtered}                                              | counter   | The number of blocks sent by the deliver service.          |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| deliver.requests_completed.%{channel}.%{filtered}.%{success}                            | counter   | The number of deliver requests that have been completed.   |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| deliver.requests_received.%{channel}.%{filtered}                                        | counter   | The number of deliver requests that have been received.    |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| deliver.streams_closed                                                                  | counter   | The number of GRPC streams that have been closed for the   |
|                                                                                         |           | deliver service.                                           |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| deliver.streams_opened                                                                  | counter   | The number of GRPC streams that have been opened for the   |
|                                                                                         |           | deliver service.                                           |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| dockercontroller.chaincode_container_build_duration.%{chaincode}.%{success}             | histogram | The time to build a chaincode image in seconds.            |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
muralisr's avatar
muralisr committed
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
| endorser.chaincode_instantiation_failures.%{channel}.%{chaincode}                       | counter   | The number of chaincode instantiations or upgrade that     |
|                                                                                         |           | have failed.                                               |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| endorser.duplicate_transaction_failures.%{channel}.%{chaincode}                         | counter   | The number of failed proposals due to duplicate            |
|                                                                                         |           | transaction ID.                                            |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| endorser.endorsement_failures.%{channel}.%{chaincode}.%{chaincodeerror}                 | counter   | The number of failed endorsements.                         |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| endorser.proposal_acl_failures.%{channel}.%{chaincode}                                  | counter   | The number of proposals that failed ACL checks.            |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| endorser.proposal_validation_failures                                                   | counter   | The number of proposals that have failed initial           |
|                                                                                         |           | validation.                                                |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| endorser.proposals_received                                                             | counter   | The number of proposals received.                          |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| endorser.propsal_duration.%{channel}.%{chaincode}.%{success}                            | histogram | The time to complete a proposal.                           |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| endorser.successful_proposals                                                           | counter   | The number of successful proposals.                        |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
355
356
| fabric_version.%{version}                                                               | gauge     | The active version of Fabric.                              |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
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
| grpc.comm.conn_closed                                                                   | counter   | gRPC connections closed. Open minus closed is the active   |
|                                                                                         |           | number of connections.                                     |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| grpc.comm.conn_opened                                                                   | counter   | gRPC connections opened. Open minus closed is the active   |
|                                                                                         |           | number of connections.                                     |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| grpc.server.stream_messages_received.%{service}.%{method}                               | counter   | The number of stream messages received.                    |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| grpc.server.stream_messages_sent.%{service}.%{method}                                   | counter   | The number of stream messages sent.                        |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| grpc.server.stream_request_duration.%{service}.%{method}.%{code}                        | histogram | The time to complete a stream request.                     |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| grpc.server.stream_requests_completed.%{service}.%{method}.%{code}                      | counter   | The number of stream requests completed.                   |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| grpc.server.stream_requests_received.%{service}.%{method}                               | counter   | The number of stream requests received.                    |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| grpc.server.unary_request_duration.%{service}.%{method}.%{code}                         | histogram | The time to complete a unary request.                      |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| grpc.server.unary_requests_completed.%{service}.%{method}.%{code}                       | counter   | The number of unary requests completed.                    |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| grpc.server.unary_requests_received.%{service}.%{method}                                | counter   | The number of unary requests received.                     |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| ledger.block_processing_time.%{channel}                                                 | histogram | Time taken in seconds for ledger block processing.         |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| ledger.blockchain_height.%{channel}                                                     | gauge     | Height of the chain in blocks.                             |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| ledger.blockstorage_commit_time.%{channel}                                              | histogram | Time taken in seconds for committing the block and private |
|                                                                                         |           | data to storage.                                           |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| ledger.statedb_commit_time.%{channel}                                                   | histogram | Time taken in seconds for committing block changes to      |
|                                                                                         |           | state db.                                                  |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| ledger.transaction_count.%{channel}.%{transaction_type}.%{chaincode}.%{validation_code} | counter   | Number of transactions processed.                          |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
391
392
393
394
395
| logging.entries_checked.%{level}                                                        | counter   | Number of log entries checked against the active logging   |
|                                                                                         |           | level                                                      |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
| logging.entries_written.%{level}                                                        | counter   | Number of log entries that are written                     |
+-----------------------------------------------------------------------------------------+-----------+------------------------------------------------------------+
396

397

398
399
.. Licensed under Creative Commons Attribution 4.0 International License
   https://creativecommons.org/licenses/by/4.0/