Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: expand nym-node prometheus metrics #5298

Merged
merged 11 commits into from
Dec 20, 2024

Conversation

jstuczyn
Copy link
Contributor

@jstuczyn jstuczyn commented Dec 19, 2024

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 example nym_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 Reviewable

@jstuczyn jstuczyn added this to the Hu milestone Dec 19, 2024
@jstuczyn jstuczyn requested a review from octol December 19, 2024 16:42
Copy link

vercel bot commented Dec 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-nextra ⬜️ Ignored (Inspect) Visit Preview Dec 19, 2024 5:07pm
nym-next-explorer ⬜️ Ignored (Inspect) Visit Preview Dec 19, 2024 5:07pm

@jstuczyn jstuczyn force-pushed the feature/nym-node-prometheus branch from 73224d6 to 7efa470 Compare December 19, 2024 17:02
@jstuczyn jstuczyn merged commit 7d5e3ef into develop Dec 20, 2024
19 checks passed
@jstuczyn jstuczyn deleted the feature/nym-node-prometheus branch December 20, 2024 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants