healthchecks-rs
A simple Rust library that allows pinging healthchecks.io to indicate success or failure of a task.
Supported API methods
Pinging API
- Signal success
- Signal failure
- Signal start
Management API
- Get a list of all checks
- Get a single check
- Create a new check
- Update an existing check
- Pause monitoring of a check
- Delete check
- Get a list of check's logged pings
- Get a list of check's status changes
- Get a list of existing integrations
Usage (pinging API)
use get_client;
If you want to set a custom user agent for filtering purposes (default is healthcheck-rs/$library_version)
use get_client;
You can also start a timer to record durations on healthchecks.io.
use get_client;
You can also specify a run ID for each ping to track concurrent executions of the same job. This allows healthchecks.io to correctly calculate execution times when multiple instances of the same job run concurrently.
use get_client;
use Uuid;
Minimum supported Rust Version
healthchecks' MSRV is 1.83.0
Licensing
Dual licensed under Apache 2.0 or MIT at your option.