mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-04-17 21:53:08 +00:00
- Add cover traffic support with constant rate as per spec - Add mix-user-message-limit and mix-disable-spam-protection CLI flags - Fix option_shims.nim double-evaluation bug causing UnpackDefect crash in ping (template expanded await expression twice, racing two calls) - Reduce default rate limit to 2 msgs/epoch for simulation testing - Add check_cover_traffic.sh metrics monitoring script Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
19 lines
490 B
Bash
Executable File
19 lines
490 B
Bash
Executable File
#!/bin/bash
|
|
# Check cover traffic metrics from all mix nodes.
|
|
# Ports: 8008 + ports-shift (1-5) = 8009-8013
|
|
|
|
echo "=== Cover Traffic Metrics ==="
|
|
echo ""
|
|
|
|
for i in 1 2 3 4 5; do
|
|
port=$((8008 + i))
|
|
echo "--- Node $i (port $port) ---"
|
|
metrics=$(curl -s "http://127.0.0.1:$port/metrics" 2>/dev/null)
|
|
if [ -z "$metrics" ]; then
|
|
echo " (unreachable)"
|
|
else
|
|
echo "$metrics" | grep -E "mix_cover_|mix_slots_" | grep -v "^#" || echo " (no cover metrics yet)"
|
|
fi
|
|
echo ""
|
|
done
|