add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

View File

@@ -0,0 +1,20 @@
# promtool
> 用于 Prometheus 监控系统的工具。
> 更多信息:<https://prometheus.io/docs/prometheus/latest/getting_started/>。
- 检查配置文件是否有效(如有错误,请报告):
`promtool check config {{config_file.yml}}`
- 检查规则文件是否有效(如有错误,请报告):
`promtool check rules {{rules_file.yml}}`
- 通过 `stdin` 传递 Prometheus 指标以检查其一致性和正确性:
`curl --silent {{http://example.com:9090/metrics/}} | promtool check metrics`
- 针对规则配置的单元测试:
`promtool test rules {{test_file.yml}}`