Skip to main content
由 Techstack v0.32.8 版本生成(源码 4c7d219a5d56)。对于已安装的版本,请以 techstack api <command> --help 为准。

techstack api monitor alerts list

列出活动的监控告警。

techstack api monitor alerts rules

列出监控告警规则。

techstack api monitor availability

可用性、停机时段和每日状态,均由状态转换时间线推导得出。 这是基于只追加的服务器状态转换时间线的投影,而不是采样器:每个时段都由两次已记录的状态转换界定,并带有写入这些转换时使用的原因代码。响应会公布其自身的统计口径,因此读者无需阅读源码即可看出哪些连接状态被计为停机。

techstack api monitor health

获取监控摄取/查询健康诊断。

techstack api monitor metrics label-values

列出某个指标标签的值。

techstack api monitor metrics labels

列出指标标签名称。

techstack api monitor metrics names

列出指标名称。

techstack api monitor query

运行 PromQL 即时查询。

techstack api monitor query-range

运行 PromQL 范围查询。

techstack api monitor status

获取监控后端状态和运行时元数据。