Simplify live dashboard and warn on memory target [skip ci]
myfileagent-python-ci/pipeline/head This commit looks good

This commit is contained in:
Codex Agent
2026-11-28 20:58:48 +00:00
parent 1bb4e0a9dd
commit d118a677e0
11 changed files with 524 additions and 231 deletions
@@ -1,8 +1,8 @@
{
"title": "SSW590 final project — live evidence",
"title": "SSW590 final project \u2014 live evidence",
"uid": "ssw590-final-project",
"schemaVersion": 39,
"version": 2,
"version": 3,
"timezone": "America/New_York",
"refresh": "30s",
"time": {
@@ -66,67 +66,13 @@
"overrides": []
}
},
{
"id": 1,
"title": "Live input tokens",
"type": "timeseries",
"gridPos": {
"x": 0,
"y": 8,
"w": 12,
"h": 8
},
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"targets": [
{
"expr": "review_input_tokens{mode=\"live\"}",
"refId": "A"
}
],
"fieldConfig": {
"defaults": {
"unit": "short"
},
"overrides": []
}
},
{
"id": 2,
"title": "Live output tokens",
"type": "timeseries",
"gridPos": {
"x": 12,
"y": 8,
"w": 12,
"h": 8
},
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"targets": [
{
"expr": "review_output_tokens{mode=\"live\"}",
"refId": "A"
}
],
"fieldConfig": {
"defaults": {
"unit": "short"
},
"overrides": []
}
},
{
"id": 3,
"title": "Host CPU",
"type": "timeseries",
"gridPos": {
"x": 0,
"y": 16,
"y": 8,
"w": 12,
"h": 8
},
@@ -153,7 +99,7 @@
"type": "timeseries",
"gridPos": {
"x": 12,
"y": 16,
"y": 8,
"w": 12,
"h": 8
},
@@ -175,14 +121,151 @@
}
},
{
"id": 5,
"title": "Token count availability",
"type": "timeseries",
"id": 6,
"title": "Time since latest live review",
"type": "stat",
"gridPos": {
"x": 0,
"y": 24,
"y": 16,
"w": 6,
"h": 5
},
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"targets": [
{
"expr": "time() - review_completed_timestamp_seconds{mode=\"live\"}",
"refId": "A"
}
],
"fieldConfig": {
"defaults": {
"unit": "s"
},
"overrides": []
},
"options": {
"reduceOptions": {
"values": false,
"calcs": [
"lastNotNull"
],
"fields": ""
},
"orientation": "auto",
"textMode": "auto",
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto"
}
},
{
"id": 7,
"title": "Latest measured review duration",
"type": "stat",
"gridPos": {
"x": 6,
"y": 16,
"w": 6,
"h": 5
},
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"targets": [
{
"expr": "review_duration_seconds{mode=\"live\"}",
"refId": "A"
}
],
"fieldConfig": {
"defaults": {
"unit": "s"
},
"overrides": []
},
"options": {
"reduceOptions": {
"values": false,
"calcs": [
"lastNotNull"
],
"fields": ""
},
"orientation": "auto",
"textMode": "auto",
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto"
}
},
{
"id": 8,
"title": "Latest Actions job memory peak",
"type": "stat",
"gridPos": {
"x": 12,
"y": 16,
"w": 6,
"h": 5
},
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"targets": [
{
"expr": "review_job_memory_peak_bytes{mode=\"live\"}",
"refId": "A"
}
],
"fieldConfig": {
"defaults": {
"unit": "bytes",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 250000000
}
]
}
},
"overrides": []
},
"options": {
"reduceOptions": {
"values": false,
"calcs": [
"lastNotNull"
],
"fields": ""
},
"orientation": "auto",
"textMode": "auto",
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto"
},
"description": "Complete Actions workload, including runtime preparation, reviewer and private model. The previous 250 MB capped run hit its limit; its natural peak is unknown. New runs use a 250,000,000-byte warning target and 384,000,000-byte hard ceiling."
},
{
"id": 5,
"title": "Latest token count availability",
"type": "stat",
"gridPos": {
"x": 0,
"y": 21,
"w": 12,
"h": 8
"h": 5
},
"datasource": {
"type": "prometheus",
@@ -205,17 +288,32 @@
"unit": "short"
},
"overrides": []
},
"options": {
"reduceOptions": {
"values": false,
"calcs": [
"lastNotNull"
],
"fields": ""
},
"orientation": "auto",
"textMode": "auto",
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto"
}
},
{
"id": 6,
"title": "Seconds since review completed",
"type": "timeseries",
"id": 11,
"title": "Memory target result (latest review)",
"description": "The 250,000,000-byte complete-workload target is a warning threshold. A value of 1 means this run exceeded it but a successful model review may continue. No sample is shown until a new measured run publishes this field.",
"type": "stat",
"gridPos": {
"x": 12,
"y": 24,
"w": 12,
"h": 8
"x": 18,
"y": 16,
"w": 6,
"h": 5
},
"datasource": {
"type": "prometheus",
@@ -223,66 +321,78 @@
},
"targets": [
{
"expr": "time() - review_completed_timestamp_seconds{mode=\"live\"}",
"expr": "review_job_memory_target_exceeded{mode=\"live\"}",
"refId": "A"
}
],
"fieldConfig": {
"defaults": {
"unit": "s"
"unit": "none",
"mappings": [
{
"type": "value",
"options": {
"0": {
"text": "Within target",
"color": "green"
},
"1": {
"text": "Over target",
"color": "red"
}
}
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 1
}
]
}
},
"overrides": []
},
"options": {
"reduceOptions": {
"values": false,
"calcs": [
"lastNotNull"
],
"fields": ""
},
"orientation": "auto",
"textMode": "auto",
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto"
}
},
{
"id": 7,
"title": "Measured review duration",
"type": "timeseries",
"gridPos": {
"x": 0,
"y": 32,
"w": 12,
"h": 8
},
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"targets": [
{
"expr": "review_duration_seconds{mode=\"live\"}",
"refId": "A"
}
],
"fieldConfig": {
"defaults": {
"unit": "s"
},
"overrides": []
}
},
{
"id": 8,
"title": "Actual Actions job memory peak and limit",
"type": "timeseries",
"id": 12,
"title": "Actions hard memory ceiling (latest review)",
"description": "Safety ceiling enforced by Docker. The previous run used about 250 MB; new runs request 384,000,000 bytes with swap disabled. An actual OOM or failed model still fails the review.",
"type": "stat",
"gridPos": {
"x": 12,
"y": 32,
"y": 21,
"w": 12,
"h": 8
"h": 5
},
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"targets": [
{
"expr": "review_job_memory_peak_bytes{mode=\"live\"}",
"refId": "A"
},
{
"expr": "review_job_memory_limit_bytes{mode=\"live\"}",
"refId": "B"
"refId": "A"
}
],
"fieldConfig": {
@@ -290,10 +400,25 @@
"unit": "bytes"
},
"overrides": []
},
"options": {
"reduceOptions": {
"values": false,
"calcs": [
"lastNotNull"
],
"fields": ""
},
"orientation": "auto",
"textMode": "auto",
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto"
}
}
],
"annotations": {
"list": []
}
},
"description": "Cumulative measured tokens show the live review event; latest-run stat panels show memory and duration without drawing flat history lines. The 250 MB workload target warns; the Actions hard ceiling is 384 MB."
}