#健康 #http #监控

app healthscript-cli

healthscript的CLI,用于通过HTTP、TCP、ICMP(ping)等检查服务的健康状态

1个稳定版本

1.0.0 2024年7月6日

#1017网络编程

Download history 119/week @ 2024-07-02 10/week @ 2024-07-09

129 每月下载次数

MIT 许可证

250KB
1.5K SLoC

Healthscript CLI

error handling example on the cli

Healthscript 是一个简单的DSL,用于使用HTTP、TCP、ICMP(ping)等检查服务的健康状态。

安装CLI以在本地运行健康检查,并通过错误信息进行迭代。

cargo install healthscript-cli
$ healthscript-cli --help
CLI for healthscript, a simple DSL for checking the health of a service using HTTP, TCP, ICMP (ping), and more.

Usage: healthscript-cli <SCRIPT>

Arguments:
  <SCRIPT>  Healthscript to execute

Options:
  -h, --help     Print help
  -V, --version  Print version

徽章

使用healthscript的另一种方式,无需在计算机上安装任何东西,就是生成markdown徽章。 在主healthscript仓库中查看

healthcheck example

依赖关系

~17–30MB
~448K SLoC