msfjarvis / healthchecks-rs Goto Github PK
View Code? Open in Web Editor NEWSimple Rust library to interact with healthchecks.io
License: Apache License 2.0
Simple Rust library to interact with healthchecks.io
License: Apache License 2.0
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Error type: Cannot find preset's package (github>msfjarvis/.github//renovate/rust)
It is more type-safe and allows idiomatic access of values (opts.check_id
vs matches.value_of("check_id").unwrap()
).
Clap documentation
The healthchecks library upgraded to ureq
2.0 as part of the healthchecks 2.0 release, missing a crucial feature: retries. The pings module still contains remnants of that code. Bringing it back is a nice to have option for resilience.
The time
crate has gotten all the functionality we need so chrono
no longer needs to exist as an abstraction between us and time
.
A simple CLI tool that reads an API key from the environment and is able to list checks with their last pings is good enough as a start.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates await pending status checks before automerging. Click on a checkbox to abort the branch automerge, and create a PR instead.
Cargo.toml
clap 4.5.4
color-eyre 0.6.3
uuid 1.8.0
hcctl/Cargo.toml
comfy-table 7.1.1
time 0.3.36
time 0.3.36
healthchecks/Cargo.toml
serde 1.0.200
serde_derive 1.0.200
serde_json 1.0.116
ureq 2.9.7
monitor/Cargo.toml
subprocess 0.2.9
.github/workflows/flake-lock-maintenance.yml
The pinging APIs also have support for additional parameters such as including logs for analysis, and we should try and support this case.
I currently use hcctl
to monitor sync jobs and have them run by cron from the distro. Using a cron parser it should be possible to implement a scheduler within hcctl
. Steps to completion would roughly be:
f0c9c45 implemented hcctl search <search-term>
which gets a list of pings from healthchecks, matches the search term against them and then prints the results.
This can be extended to create a variant of hcctl pings <UUID>
that looks like hcctl pings <search-term>
, by trying to parse the argument as a UUID, and falling back to hcctl search
's logic if the value is not a valid UUID.
As noted in the healthchecks README, there are a couple remaining admin APIs that should be relatively straightforward to add.
Resources:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.