{"id":20433882,"url":"https://github.com/flashbots/latency-monitor","last_synced_at":"2026-04-16T23:05:12.037Z","repository":{"id":242524794,"uuid":"806446724","full_name":"flashbots/latency-monitor","owner":"flashbots","description":"Monitor the latency between peers and report stats via prometheus","archived":false,"fork":false,"pushed_at":"2024-06-05T17:36:08.000Z","size":29,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-11-15T00:05:37.348Z","etag":null,"topics":["latency","prometheus"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flashbots.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-27T08:06:58.000Z","updated_at":"2025-02-04T07:42:03.000Z","dependencies_parsed_at":"2024-11-15T08:34:27.120Z","dependency_job_id":null,"html_url":"https://github.com/flashbots/latency-monitor","commit_stats":null,"previous_names":["flashbots/latency-monitor"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/flashbots/latency-monitor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flashbots%2Flatency-monitor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flashbots%2Flatency-monitor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flashbots%2Flatency-monitor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flashbots%2Flatency-monitor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flashbots","download_url":"https://codeload.github.com/flashbots/latency-monitor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flashbots%2Flatency-monitor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31907728,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"ssl_error","status_checked_at":"2026-04-16T18:21:47.142Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["latency","prometheus"],"created_at":"2024-11-15T08:22:09.752Z","updated_at":"2026-04-16T23:05:12.013Z","avatar_url":"https://github.com/flashbots.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# latency-monitor\n\nExchange small UDP datagrams between peers to measure latency between them, and\nreport the statistics as prometheus metrics.\n\n## TL;DR\n\n```shell\nlatency-monitor serve \\\n  --transponder-listen-address 127.0.0.1:32123\n```\n\n```shell\ncurl -sS 127.0.0.1:8080/metrics | grep -v \"^#.*$\" | sort -u | grep \"latency_monitor\"\n```\n\n```text\nlatency_monitor_forward_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"+Inf\"} 1\nlatency_monitor_forward_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"1\"} 0\nlatency_monitor_forward_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"1.5\"} 0\nlatency_monitor_forward_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"1000\"} 1\nlatency_monitor_forward_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"115.5\"} 0\nlatency_monitor_forward_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"115478\"} 1\nlatency_monitor_forward_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"13.5\"} 0\nlatency_monitor_forward_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"13335\"} 1\nlatency_monitor_forward_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"1540\"} 1\nlatency_monitor_forward_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"177828\"} 1\nlatency_monitor_forward_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"178\"} 1\nlatency_monitor_forward_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"1e+06\"} 1\nlatency_monitor_forward_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"2.5\"} 0\nlatency_monitor_forward_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"20.5\"} 0\nlatency_monitor_forward_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"20535.5\"} 1\nlatency_monitor_forward_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"2371.5\"} 1\nlatency_monitor_forward_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"273842\"} 1\nlatency_monitor_forward_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"274\"} 1\nlatency_monitor_forward_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"3.5\"} 0\nlatency_monitor_forward_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"31.5\"} 0\nlatency_monitor_forward_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"31623\"} 1\nlatency_monitor_forward_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"3651.5\"} 1\nlatency_monitor_forward_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"421.5\"} 1\nlatency_monitor_forward_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"421696.5\"} 1\nlatency_monitor_forward_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"48.5\"} 0\nlatency_monitor_forward_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"48697\"} 1\nlatency_monitor_forward_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"5.5\"} 0\nlatency_monitor_forward_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"5623.5\"} 1\nlatency_monitor_forward_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"649.5\"} 1\nlatency_monitor_forward_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"649381.5\"} 1\nlatency_monitor_forward_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"74989.5\"} 1\nlatency_monitor_forward_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"75\"} 0\nlatency_monitor_forward_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"8.5\"} 0\nlatency_monitor_forward_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"8659.5\"} 1\nlatency_monitor_forward_trip_latency_microseconds_count{peer=\"localhost\"} 1\nlatency_monitor_forward_trip_latency_microseconds_sum{peer=\"localhost\"} 162\nlatency_monitor_probe_returned_count_total{peer=\"localhost\"} 1\nlatency_monitor_probe_sent_count_total{peer=\"localhost\"} 1\nlatency_monitor_return_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"+Inf\"} 1\nlatency_monitor_return_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"1\"} 0\nlatency_monitor_return_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"1.5\"} 0\nlatency_monitor_return_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"1000\"} 1\nlatency_monitor_return_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"115.5\"} 1\nlatency_monitor_return_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"115478\"} 1\nlatency_monitor_return_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"13.5\"} 0\nlatency_monitor_return_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"13335\"} 1\nlatency_monitor_return_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"1540\"} 1\nlatency_monitor_return_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"177828\"} 1\nlatency_monitor_return_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"178\"} 1\nlatency_monitor_return_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"1e+06\"} 1\nlatency_monitor_return_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"2.5\"} 0\nlatency_monitor_return_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"20.5\"} 0\nlatency_monitor_return_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"20535.5\"} 1\nlatency_monitor_return_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"2371.5\"} 1\nlatency_monitor_return_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"273842\"} 1\nlatency_monitor_return_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"274\"} 1\nlatency_monitor_return_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"3.5\"} 0\nlatency_monitor_return_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"31.5\"} 0\nlatency_monitor_return_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"31623\"} 1\nlatency_monitor_return_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"3651.5\"} 1\nlatency_monitor_return_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"421.5\"} 1\nlatency_monitor_return_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"421696.5\"} 1\nlatency_monitor_return_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"48.5\"} 0\nlatency_monitor_return_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"48697\"} 1\nlatency_monitor_return_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"5.5\"} 0\nlatency_monitor_return_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"5623.5\"} 1\nlatency_monitor_return_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"649.5\"} 1\nlatency_monitor_return_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"649381.5\"} 1\nlatency_monitor_return_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"74989.5\"} 1\nlatency_monitor_return_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"75\"} 0\nlatency_monitor_return_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"8.5\"} 0\nlatency_monitor_return_trip_latency_microseconds_bucket{peer=\"localhost\",le=\"8659.5\"} 1\nlatency_monitor_return_trip_latency_microseconds_count{peer=\"localhost\"} 1\nlatency_monitor_return_trip_latency_microseconds_sum{peer=\"localhost\"} 84\n```\n\n\u003e\n\u003e Note: There is a specially-treated peer name `localhost` that can be used to\n\u003e       send probes to self.  This can be used to adjust the remote peers's\n\u003e       latencies for locally incurred implicit ones (that is, by subtracting\n\u003e       local average latency from all remote ones).\n\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflashbots%2Flatency-monitor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflashbots%2Flatency-monitor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflashbots%2Flatency-monitor/lists"}