The major feature of this release is the revised Prometheus interface that is now fully documented and supported. See prometheus-exporter for documentation of the metrics available via this API.
Changelog.
Bugfixes
- Fix a bug in
GetAccountInfo
endpoint in GRPCv2 whereincoming_amounts
field of encrypted amounts was not set correctly. - Fix an issue where the node configuration file (
main.config.json
) was
sometimes corrupted.
Prometheus interface changes and additions.
- Remove
current_queue_size
,resend_queue_size
,packets_dropped
,invalid_packets_received
unknown_packets_received
,invalid_network_packets_received
,
packets_resend
metrics from the Prometheus server since they were never updated. - Rename a number of metrics exposed by the Prometheus exporter:
peer_number
is nownetwork_connected_peers
.conn_received
is nownetwork_connections_received_total
.packets_received
is nownetwork_packets_received_total
.packets_sent
is nownetwork_packets_sent_total
.inbound_high_priority_consensus_drops
is nownetwork_inbound_high_priority_message_drops_total
.inbound_low_priority_consensus_drops
is nownetwork_inbound_low_priority_message_drops_total
.inbound_high_priority_consensus_counter
is nownetwork_inbound_high_priority_messages_total
.inbound_low_priority_consensus_counter
is nownetwork_inbound_low_priority_messages_total
.inbound_high_priority_consensus_size
is nownetwork_inbound_high_priority_message_queue_size
.inbound_low_priority_consensus_size
is nownetwork_inbound_low_priority_message_queue_size
.outbound_high_priority_consensus_size
is nownetwork_outbound_high_priority_message_queue_size
.outbound_low_priority_consensus_size
is nownetwork_outbound_low_priority_message_queue_size
.bytes_received
is nownetwork_received_bytes
.bytes_sent
is nownetwork_sent_bytes
.
- Remove
last_throughput_measurement_timestamp
,avg_bps_in
andavg_bps_out
metrics exposed by the Prometheus exporter. - Change behavior of Prometheus metrics
network_sent_bytes
andnetwork_received_bytes
. Before this change these metrics were calculated as a sum of all the bytes sent/received to peers, which causes the metrics to drop when a peer is dropped. They were only updated during the scheduled "housekeeping" (every 30 secons by default). The new behavior is to update the metric every time a message is sent/received to a peer. - Extend Prometheus exporter with metrics:
consensus_last_finalized_block_height
,consensus_last_finalized_block_timestamp
,consensus_last_arrived_block_height
,consensus_last_arrived_block_timestamp
,consensus_received_messages_total
,consensus_sent_messages_total
,network_soft_banned_peers
,network_peers_total
,node_info
andnode_startup_timestamp
see docs/prometheus-exporter.md for more details. - Remove metrics
network_inbound_high_priority_message_drops_total
,network_inbound_low_priority_message_drops_total
,network_inbound_high_priority_messages_total
andnetwork_inbound_high_priority_messages_total
as they can be derived using the labels ofconsensus_received_messages_total
.
Other API changes
- Add an option to disable only the node specific grpc V1 endpoints that can be
used to control the node. All the endpoints that are consensus related are
kept allowing the node to be used as a gateway to the chain. The mentioned can
be disabled by settingCONCORDIUM_NODE_DISABLE_RPC_SERVER_NODE_ENDPOINTS
or using the flag--no-rpc-server-node-endpoints
.