Sign inSign up

elmariofredo/pinger-rs

By elmariofredo

•Updated over 6 years ago

Image
0

260

elmariofredo/pinger-rs repository overview

⁠pinger-rs

HTTP Status checker and latency metrics exporter based on Rust :gear:

It will export the data to the endpoint that can be scraped by Prometheus :fire:

More features are coming soon.

⁠Features

  • Configurable metrics endpoint
  • Configurable url targets to be called
  • Configurable polling duration
  • Configurable metrics name
  • Debug for every polling (Configurable)
  • Configurable healthcheck endpoint (e.g for Kubernetes)
  • Config file name as executable argument parameter
  • Counter, Gauge and Histogram metrics included
  • Configurable buckets on histogram metric
  • Configurable target alias

⁠How to run

  1. Make sure cargo and rustc are installed
  2. Check out the default.yaml at config directory or config.yaml
  3. Do the changes necessary
  4. Either run cargo run or cargo build and then ./start.sh (You can check the content of start.sh on how to run it)
  5. Wait until the dispatched requests
  6. Go to the endpoint /metrics or to the endpoint that has been configured

⁠License

MIT

Tag summary

Content type

Image

Digest

Size

6.9 MB

Last updated

over 6 years ago

docker pull elmariofredo/pinger-rs:v0.4