add rtr report metrics

This commit is contained in:
2026-06-30 17:40:28 +08:00
parent d5270308d6
commit a67640db83
4 changed files with 1561 additions and 8 deletions

View File

@@ -115,6 +115,11 @@ METRICS_LISTEN=0.0.0.0:9556
METRICS_POLL_SECS=5
METRICS_INSTANCE=remote231-24h
# 可选:显式开启外部 RTR report JSON 指标采集。
# 为空或未设置时不采集;设置后应指向包含
# rtr-source-*.json / rtr-runtime-*.json / rtr-clients-*.json 的目录。
RPKI_METRICS_RTR_REPORT_DIR=
# 是否启动 query service。启动后默认只索引启动后新完成的 run,避免补历史 run 影响 RP 性能。
START_QUERY_SERVICE=0