380 lines
9.1 KiB
JSON
380 lines
9.1 KiB
JSON
{
|
|
"title": "SSW590 final project \u2014 live evidence",
|
|
"uid": "ssw590-final-project",
|
|
"schemaVersion": 39,
|
|
"version": 4,
|
|
"timezone": "America/New_York",
|
|
"refresh": "30s",
|
|
"time": {
|
|
"from": "now-15m",
|
|
"to": "now"
|
|
},
|
|
"panels": [
|
|
{
|
|
"id": 9,
|
|
"title": "Cumulative live input tokens (since activation)",
|
|
"description": "Measured live tokens accumulated once per distinct verified Actions run. Jenkins retries do not add again. Updates after Jenkins verification and Prometheus scrape.",
|
|
"type": "timeseries",
|
|
"gridPos": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"w": 12,
|
|
"h": 8
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "prometheus"
|
|
},
|
|
"targets": [
|
|
{
|
|
"expr": "review_input_tokens_total{mode=\"live\"}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "short"
|
|
},
|
|
"overrides": []
|
|
}
|
|
},
|
|
{
|
|
"id": 10,
|
|
"title": "Cumulative live output tokens (since activation)",
|
|
"description": "Measured live tokens accumulated once per distinct verified Actions run. Jenkins retries do not add again. Updates after Jenkins verification and Prometheus scrape.",
|
|
"type": "timeseries",
|
|
"gridPos": {
|
|
"x": 12,
|
|
"y": 0,
|
|
"w": 12,
|
|
"h": 8
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "prometheus"
|
|
},
|
|
"targets": [
|
|
{
|
|
"expr": "review_output_tokens_total{mode=\"live\"}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "short"
|
|
},
|
|
"overrides": []
|
|
}
|
|
},
|
|
{
|
|
"id": 3,
|
|
"title": "Host CPU",
|
|
"type": "timeseries",
|
|
"gridPos": {
|
|
"x": 0,
|
|
"y": 8,
|
|
"w": 12,
|
|
"h": 8
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "prometheus"
|
|
},
|
|
"targets": [
|
|
{
|
|
"expr": "100 * (1 - avg by(instance) (rate(node_cpu_seconds_total{mode=\"idle\"}[2m])))",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "percent"
|
|
},
|
|
"overrides": []
|
|
}
|
|
},
|
|
{
|
|
"id": 4,
|
|
"title": "Available host memory",
|
|
"type": "timeseries",
|
|
"gridPos": {
|
|
"x": 12,
|
|
"y": 8,
|
|
"w": 12,
|
|
"h": 8
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "prometheus"
|
|
},
|
|
"targets": [
|
|
{
|
|
"expr": "node_memory_MemAvailable_bytes{job=\"node\"}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "bytes"
|
|
},
|
|
"overrides": []
|
|
}
|
|
},
|
|
{
|
|
"id": 6,
|
|
"title": "Time since latest live review",
|
|
"type": "stat",
|
|
"gridPos": {
|
|
"x": 0,
|
|
"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": "yellow",
|
|
"value": 320000000
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 360000000
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"reduceOptions": {
|
|
"values": false,
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": ""
|
|
},
|
|
"orientation": "auto",
|
|
"textMode": "auto",
|
|
"colorMode": "value",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto"
|
|
},
|
|
"description": "Measured complete Actions workload, including runtime preparation, reviewer and private model. The 250,000,000-byte model-selection goal is soft; the enforced ceiling is 384,000,000 bytes. Green below 320 MB, yellow from 320 MB, red near the ceiling from 360 MB."
|
|
},
|
|
{
|
|
"id": 11,
|
|
"title": "Memory capacity used (latest review)",
|
|
"description": "Measured peak divided by the enforced Actions memory ceiling. Green below 85%, yellow from 85%, red near the ceiling from 95%. The separate 250,000,000-byte model-selection goal is soft; a run may exceed it without failing. The raw review_job_memory_target_exceeded metric retains the exact result.",
|
|
"type": "stat",
|
|
"gridPos": {
|
|
"x": 18,
|
|
"y": 16,
|
|
"w": 6,
|
|
"h": 5
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "prometheus"
|
|
},
|
|
"targets": [
|
|
{
|
|
"expr": "review_job_memory_peak_bytes{mode=\"live\"} / review_job_memory_limit_bytes{mode=\"live\"}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "percentunit",
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "yellow",
|
|
"value": 0.85
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 0.95
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"reduceOptions": {
|
|
"values": false,
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": ""
|
|
},
|
|
"orientation": "auto",
|
|
"textMode": "auto",
|
|
"colorMode": "value",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto"
|
|
}
|
|
},
|
|
{
|
|
"id": 12,
|
|
"title": "Actions hard memory ceiling (latest review)",
|
|
"description": "384,000,000-byte safety ceiling enforced by Docker with swap disabled. A modest overage of the separate 250,000,000-byte selection goal is allowed. An actual OOM or failed model still fails the review.",
|
|
"type": "stat",
|
|
"gridPos": {
|
|
"x": 0,
|
|
"y": 21,
|
|
"w": 24,
|
|
"h": 5
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "prometheus"
|
|
},
|
|
"targets": [
|
|
{
|
|
"expr": "review_job_memory_limit_bytes{mode=\"live\"}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "bytes",
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"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 live review events. Memory panels use the 384 MB enforced ceiling for safety colors; the original 250 MB model-selection goal remains a soft warning recorded in the review metric and evidence."
|
|
}
|