-
Notifications
You must be signed in to change notification settings - Fork 1
TiHC Overview
Jan su edited this page Mar 18, 2022
·
5 revisions
TiHC 遵循 terminal cli 使用风格,可 --help 或 -h 查看使用方法。
$ tihc % ./bin/tihc -h
TiHC 1.0
Jan Su
TiHC (TiDB Healthy Check) is a tool designed by RUST to reduce inquiry time and improve delivery efficiency.
USAGE:
tihc [OPTIONS]
FLAGS:
-h, --help Prints help information
-v, --version Print TiHC version
OPTIONS:
-c <cluster_name> The name of cluster which need to health check.
-t <grafana_end_time> The TSO of grafana end time which need to get images.
-p <grafana_pwd> Use password of target grafana. (default "admin")
-f <grafana_start_time> The TSO of grafana start time which need to get images.
-u <grafana_user> Use user name of target grafana. (default "admin")
-P <ssh_pwd> The password to login via SSH with "ssh_user".
-U <ssh_user> The user name to login via SSH.
该工具在获取 Grafana 监控面板图像部分,借用了 grafana-image-renderer 插件,具体使用方法参考 Grafana Image Renderer 的 Run as standalone Node.js application
部分。