20260713 unify installer scripts and RTR registration

This commit is contained in:
2026-07-13 12:46:40 +08:00
parent b66b425512
commit 9f4f4cf069
20 changed files with 346 additions and 100 deletions

View File

@@ -45,7 +45,7 @@
"pluginVersion": "11.3.1",
"targets": [
{
"expr": "ours_rp_cir_trust_anchors",
"expr": "max(ours_rp_cir_trust_anchors and on (exported_instance) topk(1, ours_rp_run_sequence))",
"legendFormat": "RIRs",
"refId": "A"
}
@@ -89,7 +89,7 @@
"pluginVersion": "11.3.1",
"targets": [
{
"expr": "ours_rp_run_duration_seconds",
"expr": "max(ours_rp_run_duration_seconds and on (exported_instance) topk(1, ours_rp_run_sequence))",
"legendFormat": "wall",
"refId": "A"
}
@@ -133,7 +133,7 @@
"pluginVersion": "11.3.1",
"targets": [
{
"expr": "ours_rp_run_max_rss_bytes",
"expr": "max(ours_rp_run_max_rss_bytes and on (exported_instance) topk(1, ours_rp_run_sequence))",
"legendFormat": "rss",
"refId": "A"
}
@@ -178,7 +178,7 @@
"pluginVersion": "11.3.1",
"targets": [
{
"expr": "ours_rp_publication_points",
"expr": "max(ours_rp_publication_points and on (exported_instance) topk(1, ours_rp_run_sequence))",
"legendFormat": "publication points",
"refId": "A"
}
@@ -223,7 +223,7 @@
"pluginVersion": "11.3.1",
"targets": [
{
"expr": "ours_rp_run_sequence",
"expr": "max(ours_rp_run_sequence)",
"legendFormat": "seq",
"refId": "A"
}
@@ -287,7 +287,7 @@
"pluginVersion": "11.3.1",
"targets": [
{
"expr": "100 * sum by (job, instance, exported_instance) (ours_rp_repo_terminal_state_count{terminal_state=\"publication_point_cache\"}) / sum by (job, instance, exported_instance) (ours_rp_publication_points)",
"expr": "max((100 * sum by (exported_instance) (ours_rp_repo_terminal_state_count{terminal_state=\"publication_point_cache\"}) / sum by (exported_instance) (ours_rp_publication_points)) and on (exported_instance) topk(1, ours_rp_run_sequence))",
"legendFormat": "PP cache hit ratio",
"refId": "A"
}
@@ -332,7 +332,7 @@
"pluginVersion": "11.3.1",
"targets": [
{
"expr": "ours_rp_vrps{kind=\"total\"}",
"expr": "max(ours_rp_vrps{kind=\"total\"} and on (exported_instance) topk(1, ours_rp_run_sequence))",
"legendFormat": "VRPs raw",
"refId": "A"
}
@@ -377,7 +377,7 @@
"pluginVersion": "11.3.1",
"targets": [
{
"expr": "ours_rp_vaps",
"expr": "max(ours_rp_vaps and on (exported_instance) topk(1, ours_rp_run_sequence))",
"legendFormat": "VAPs",
"refId": "A"
}