From 956fde6ebcfe5a9b7f00da892a85f4d9afe5b114 Mon Sep 17 00:00:00 2001 From: fryorcraken <110212804+fryorcraken@users.noreply.github.com> Date: Tue, 29 Oct 2024 14:39:12 +1100 Subject: [PATCH] feat: change latency buckets (#3153) --- apps/networkmonitor/networkmonitor_metrics.nim | 2 +- waku/node/waku_node.nim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/networkmonitor/networkmonitor_metrics.nim b/apps/networkmonitor/networkmonitor_metrics.nim index cbea7a16ad..0dcd022988 100644 --- a/apps/networkmonitor/networkmonitor_metrics.nim +++ b/apps/networkmonitor/networkmonitor_metrics.nim @@ -38,7 +38,7 @@ declarePublicGauge networkmonitor_peer_user_agents, declarePublicHistogram networkmonitor_peer_ping, "Histogram tracking ping durations for discovered peers", buckets = - [100.0, 200.0, 300.0, 400.0, 500.0, 600.0, 700.0, 800.0, 900.0, 1000.0, 2000.0, Inf] + [10.0, 20.0, 50.0, 100.0, 200.0, 300.0, 500.0, 800.0, 1000.0, 2000.0, Inf] declarePublicGauge networkmonitor_peer_count, "Number of discovered peers", labels = ["connected"] diff --git a/waku/node/waku_node.nim b/waku/node/waku_node.nim index a592ebe7f5..225a29de78 100644 --- a/waku/node/waku_node.nim +++ b/waku/node/waku_node.nim @@ -56,7 +56,7 @@ import declarePublicCounter waku_node_messages, "number of messages received", ["type"] declarePublicHistogram waku_histogram_message_size, "message size histogram in kB", - buckets = [0.0, 5.0, 15.0, 50.0, 75.0, 100.0, 125.0, 150.0, 300.0, 700.0, 1000.0, Inf] + buckets = [0.0, 1.0, 3.0, 5.0, 15.0, 50.0, 75.0, 100.0, 125.0, 150.0, 500.0, 700.0, 1000.0, Inf] declarePublicGauge waku_version, "Waku version info (in git describe format)", ["version"]