feature: expand nym-node prometheus metrics #5298
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
this PR undusts the
/api/v1/metrics/prometheus
and introduces the following 37 new data points:mixnet:
ingress:
nym_node_mixnet_ingress_forward_hop_packets_received
nym_node_mixnet_ingress_final_hop_packets_received
nym_node_mixnet_ingress_malformed_packets_received
nym_node_mixnet_ingress_excessive_delay_packets
nym_node_mixnet_ingress_forward_hop_packets_dropped
nym_node_mixnet_ingress_final_hop_packets_dropped
nym_node_mixnet_ingress_forward_hop_packets_received_rate
nym_node_mixnet_ingress_final_hop_packets_received_rate
nym_node_mixnet_ingress_malformed_packets_received_rate
nym_node_mixnet_ingress_excessive_delay_packets_rate
nym_node_mixnet_ingress_forward_hop_packets_dropped_rate
nym_node_mixnet_ingress_final_hop_packets_dropped_rate
egress:
nym_node_mixnet_egress_stored_on_disk_final_hop_packets
nym_node_mixnet_egress_forward_hop_packets_sent
nym_node_mixnet_egress_ack_packets_sent
nym_node_mixnet_egress_forward_hop_packets_dropped
nym_node_mixnet_egress_forward_hop_packets_sent_rate
nym_node_mixnet_egress_ack_packets_sent_rate
nym_node_mixnet_egress_forward_hop_packets_dropped_rate
client sessions
nym_node_entry_client_sessions_unique_users
nym_node_entry_client_sessions_sessions_started
nym_node_entry_client_sessions_finished_sessions
nym_node_entry_client_sessions_durations_{TYP}
(histogram), for examplenym_node_entry_client_sessions_durations_vpn
wireguard:
nym_node_wireguard_bytes_rx
nym_node_wireguard_bytes_tx
nym_node_wireguard_bytes_total_peers
nym_node_wireguard_bytes_active_peers
nym_node_wireguard_bytes_rx_rate
nym_node_wireguard_bytes_tx_rate
network
nym_node_network_active_ingress_mixnet_connections
nym_node_network_active_ingress_web_socket_connections
nym_node_network_active_egress_mixnet_connections
process
nym_node_process_forward_hop_packets_being_delayed
nym_node_process_packet_forwarder_queue_size
nym_node_process_topology_query_resolution_latency
(histogram)nym_node_process_final_hop_packets_pending_delivery
nym_node_process_forward_hop_packets_pending_delivery
This change is