Files
myfileagent-pipeline/monitoring/grafana/provisioning/dashboards/json/final-project.json
T

425 lines
9.9 KiB
JSON
Raw Normal View History

{
"title": "SSW590 final project \u2014 live evidence",
"uid": "ssw590-final-project",
"schemaVersion": 39,
"version": 3,
"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": "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": 5
},
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"targets": [
{
"expr": "review_input_tokens_available{mode=\"live\"}",
"refId": "A",
"legendFormat": "Input count available"
},
{
"expr": "review_output_tokens_available{mode=\"live\"}",
"refId": "B",
"legendFormat": "Output count available"
}
],
"fieldConfig": {
"defaults": {
"unit": "short"
},
"overrides": []
},
"options": {
"reduceOptions": {
"values": false,
"calcs": [
"lastNotNull"
],
"fields": ""
},
"orientation": "auto",
"textMode": "auto",
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto"
}
},
{
"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": 18,
"y": 16,
"w": 6,
"h": 5
},
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"targets": [
{
"expr": "review_job_memory_target_exceeded{mode=\"live\"}",
"refId": "A"
}
],
"fieldConfig": {
"defaults": {
"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": 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": 21,
"w": 12,
"h": 5
},
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"targets": [
{
"expr": "review_job_memory_limit_bytes{mode=\"live\"}",
"refId": "A"
}
],
"fieldConfig": {
"defaults": {
"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."
}