ping-statsd
Version, currently master branch1 version
- master branchlatestNov 7, 2018
github.com/chendo/ping-statsd
A tool to ping hostnames and send stats to Statsd.
10 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
ping-statsd:
github: chendo/ping-statsd
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
- no constraint declared
- License
- MIT
- Author
- Jack Chen (chendo) <github@chen.do>
Dependencies
Runtime Dependencies
- statsd*github: miketheman/statsd.cr, branch: master
README
# ping-statsd
Small tool that pings specified addresses and logs timings and packet loss to Statsd (with tagging).
I built this so I can log and graph latency stats for my home connection. You may find it useful
to deploy it in production to measure latency to critical services.
Here is the console output from my deployment into a local Flynn cluster I have at home:

Screenshot of the graphs I've built on Datadog:

## Installation
Build and run with Docker, or run with Crystal.
## Usage
This tool is configured with environment variables for simplicity with running with Docker.
You can supply them like so:
```
PING_GOOGLE=google.com # emits tags name:google,host:google.com
PING_SOME_IP=8.8.8.8 # emits tags name:some_ip,host:8.8.8.8
METRIC_BASE=namespace.ping # emits metrics at "namespace.ping.{time,timeout,total}"
QUIET=true # optional, suppresses output
INTERVAL=0.2 # optional, sets ping interval to 200ms
```
## Contributing
1. Fork it ( https://github.com/[your-github-name]/ping-statsd/fork )
2. Create your feature branch (git checkout -b my-new-feature)
3. Commit your changes (git commit -am 'Add some feature')
4. Push to the branch (git push origin my-new-feature)
5. Create a new Pull Request
## Contributors
- [[your-github-name]](https://github.com/[your-github-name]) Jack Chen (chendo) - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Nov 7, 2018
- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/chendo/ping-statsd
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 14, 2026
- Synced
- Aug 14, 2026
- Versions
- 1