{"id":19429792,"url":"https://github.com/chayleaf/ping-exporter","last_synced_at":"2025-10-11T19:04:18.823Z","repository":{"id":212487864,"uuid":"731613407","full_name":"chayleaf/ping-exporter","owner":"chayleaf","description":"A ping exporter for Prometheus with network namespace support.","archived":false,"fork":false,"pushed_at":"2023-12-14T13:33:01.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-25T05:43:02.719Z","etag":null,"topics":["icmp","metrics","openmetrics","ping","prometheus","prometheus-exporter","prometheus-metrics"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chayleaf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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":"2023-12-14T13:26:48.000Z","updated_at":"2024-03-03T14:00:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"f9733830-0080-4c7b-af0b-63f34ca06df5","html_url":"https://github.com/chayleaf/ping-exporter","commit_stats":null,"previous_names":["chayleaf/ping-exporter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chayleaf/ping-exporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chayleaf%2Fping-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chayleaf%2Fping-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chayleaf%2Fping-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chayleaf%2Fping-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chayleaf","download_url":"https://codeload.github.com/chayleaf/ping-exporter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chayleaf%2Fping-exporter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279008439,"owners_count":26084459,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["icmp","metrics","openmetrics","ping","prometheus","prometheus-exporter","prometheus-metrics"],"created_at":"2024-11-10T14:21:23.385Z","updated_at":"2025-10-11T19:04:18.796Z","avatar_url":"https://github.com/chayleaf.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ping-exporter\n\nA ping exporter for Prometheus.\n\nReports the following metrics (per-IP, per-netns):\n\n- `total_pings`\n- `successful_pings`\n- `successful_ping_wait_sum`\n\n```\nUsage: ping-exporter [OPTIONS] [TARGET]...\n\nArguments:\n  [TARGET]...  Target IPs\n\nOptions:\n  -l, --listen \u003cLISTEN\u003e        Listen address (e.g. 127.0.0.1:3000)\n  -c, --config \u003cCONFIG\u003e        Config path\n  -I, --interface \u003cINTERFACE\u003e  Default ping interface (interface name or IP to bind to)\n  -n, --netns \u003cNETNS\u003e          Default network namespace name\n  -i, --interval \u003cINTERVAL\u003e    Default ping interval (in seconds)\n  -t, --timeout \u003cTIMEOUT\u003e      Default ping timeout (in seconds)\n      --type \u003cTYPE\u003e            Default ICMP socket type [possible values: dgram, raw]\n      --ttl \u003cTTL\u003e              Default ICMP TTL\n  -h, --help                   Print help\n```\n\nTOML config sample (all fields are optional):\n\n```\nlisten = \"127.0.0.1:3000\"\ntype = \"dgram\"\ninterface = \"eth0\"\ninterval = 5\ntimeout = 10\n# interface = \"192.168.1.1\"\nnetns = \"test\"\nttl = 128\ntargets = [ \"8.8.8.8\", { target = \"8.8.4.4\", netns = null, interval = 5, timeout = 1 } ]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchayleaf%2Fping-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchayleaf%2Fping-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchayleaf%2Fping-exporter/lists"}