Skip to content

HTTP Status checker and latency metrics Prometheus exporter based on Rust ⚙️ 🔥

License

Notifications You must be signed in to change notification settings

rjmasikome/pinger-rs

Repository files navigation

pinger-rs

HTTP Status checker and latency metrics exporter based on Rust ⚙️

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

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

About

HTTP Status checker and latency metrics Prometheus exporter based on Rust ⚙️ 🔥

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published