Some checks failed
Docs CI / lint-and-preview (push) Has been cancelled
Signals CI & Image / signals-ci (push) Has been cancelled
Policy Lint & Smoke / policy-lint (push) Has been cancelled
Policy Simulation / policy-simulate (push) Has been cancelled
SDK Publish & Sign / sdk-publish (push) Has been cancelled
AOC Guard CI / aoc-guard (push) Has been cancelled
AOC Guard CI / aoc-verify (push) Has been cancelled
Concelier Attestation Tests / attestation-tests (push) Has been cancelled
devportal-offline / build-offline (push) Has been cancelled
79 lines
2.8 KiB
JSON
79 lines
2.8 KiB
JSON
{
|
|
"schemaVersion": 39,
|
|
"title": "Policy Pipeline",
|
|
"panels": [
|
|
{
|
|
"type": "stat",
|
|
"title": "Compile p99 (s)",
|
|
"datasource": "Prometheus",
|
|
"fieldConfig": {"defaults": {"unit": "s", "decimals": 2}},
|
|
"targets": [
|
|
{"expr": "histogram_quantile(0.99, sum(rate(policy_compile_duration_seconds_bucket[5m])) by (le))"}
|
|
]
|
|
},
|
|
{
|
|
"type": "timeseries",
|
|
"title": "Compile Duration (p95/p50)",
|
|
"datasource": "Prometheus",
|
|
"fieldConfig": {"defaults": {"unit": "s", "decimals": 2}},
|
|
"targets": [
|
|
{"expr": "histogram_quantile(0.95, sum(rate(policy_compile_duration_seconds_bucket[5m])) by (le))", "legendFormat": "p95"},
|
|
{"expr": "histogram_quantile(0.50, sum(rate(policy_compile_duration_seconds_bucket[5m])) by (le))", "legendFormat": "p50"}
|
|
]
|
|
},
|
|
{
|
|
"type": "stat",
|
|
"title": "Simulation Queue Depth",
|
|
"datasource": "Prometheus",
|
|
"fieldConfig": {"defaults": {"unit": "none"}},
|
|
"targets": [{"expr": "sum(policy_simulation_queue_depth)"}]
|
|
},
|
|
{
|
|
"type": "timeseries",
|
|
"title": "Queue Depth by Stage",
|
|
"datasource": "Prometheus",
|
|
"targets": [{"expr": "policy_simulation_queue_depth", "legendFormat": "{{stage}}"}],
|
|
"fieldConfig": {"defaults": {"unit": "none"}}
|
|
},
|
|
{
|
|
"type": "stat",
|
|
"title": "Approval p95 (s)",
|
|
"datasource": "Prometheus",
|
|
"fieldConfig": {"defaults": {"unit": "s", "decimals": 1}},
|
|
"targets": [
|
|
{"expr": "histogram_quantile(0.95, sum(rate(policy_approval_latency_seconds_bucket[5m])) by (le))"}
|
|
]
|
|
},
|
|
{
|
|
"type": "timeseries",
|
|
"title": "Approval Latency",
|
|
"datasource": "Prometheus",
|
|
"fieldConfig": {"defaults": {"unit": "s", "decimals": 1}},
|
|
"targets": [
|
|
{"expr": "histogram_quantile(0.90, sum(rate(policy_approval_latency_seconds_bucket[5m])) by (le))", "legendFormat": "p90"},
|
|
{"expr": "histogram_quantile(0.50, sum(rate(policy_approval_latency_seconds_bucket[5m])) by (le))", "legendFormat": "p50"}
|
|
]
|
|
},
|
|
{
|
|
"type": "gauge",
|
|
"title": "Promotion Success Rate (30m)",
|
|
"datasource": "Prometheus",
|
|
"fieldConfig": {"defaults": {"unit": "percent", "min": 0, "max": 100}},
|
|
"options": {"reduceOptions": {"calcs": ["last"]}, "orientation": "horizontal"},
|
|
"targets": [
|
|
{"expr": "100 * clamp_min(rate(policy_promotion_outcomes_total{outcome=\"success\"}[30m]),0) / clamp_min(rate(policy_promotion_outcomes_total[30m]),1)"}
|
|
]
|
|
},
|
|
{
|
|
"type": "barchart",
|
|
"title": "Promotion Outcomes",
|
|
"datasource": "Prometheus",
|
|
"fieldConfig": {"defaults": {"unit": "1/s"}},
|
|
"options": {"displayMode": "series"},
|
|
"targets": [
|
|
{"expr": "rate(policy_promotion_outcomes_total[5m])", "legendFormat": "{{outcome}}"}
|
|
]
|
|
}
|
|
]
|
|
}
|