Verify Jenkins release, deploy metrics collector, and test compiler failure
This commit is contained in:
@@ -52,8 +52,11 @@ services:
|
||||
- --collector.cpu
|
||||
- --collector.meminfo
|
||||
- --collector.filesystem
|
||||
- --collector.textfile
|
||||
- --collector.textfile.directory=/textfiles
|
||||
volumes:
|
||||
- /:/host:ro,rslave
|
||||
- /home/codex/ssw590-final-metrics:/textfiles:ro
|
||||
networks: [monitoring]
|
||||
blackbox-exporter:
|
||||
image: quay.io/prometheus/blackbox-exporter:v0.29.1
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
Final-project monitoring integration — prepared, not deployed
|
||||
Final-project monitoring integration — collector and dashboard deployed; live-model connection pending
|
||||
|
||||
Use Member 1's measured live review metadata only. The metric adapter is:
|
||||
python3 ci/final_project.py metrics --review-dir VERIFIED_LIVE_DIRECTORY \
|
||||
--completed-at MEASURED_COMPLETION_EPOCH --output DIRECTORY/final-project.prom
|
||||
|
||||
Coordinate a dedicated host directory and readonly mount into Node Exporter.
|
||||
Dedicated host directory: /home/codex/ssw590-final-metrics
|
||||
Mounted readonly into Node Exporter at /textfiles.
|
||||
Enable --collector.textfile and --collector.textfile.directory=/textfiles
|
||||
in addition to the existing cpu, meminfo and filesystem collectors. Do not
|
||||
replace the existing deployment Compose file with an unverified template.
|
||||
@@ -16,7 +17,7 @@ Retain last-run gauges through at least two 30-second scrapes. Unknown counts
|
||||
are omitted and explicitly represented by *_available == 0. Do not substitute
|
||||
zero tokens for an unknown count. Refresh/remove stale samples intentionally.
|
||||
|
||||
Import/provision dashboard.json after review. Keep existing dashboard copies
|
||||
dashboard.json is provisioned with the existing prometheus datasource. Keep existing dashboard copies
|
||||
in sync where the existing monitoring deployment requires it. Add annotations
|
||||
for source SHA, Actions run/attempt and Jenkins build; use a fixed window.
|
||||
Fixture metrics must not populate the live panels. Shared-host CPU includes
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
},
|
||||
"datasource": {
|
||||
"type": "prometheus",
|
||||
"uid": "${DS_PROMETHEUS}"
|
||||
"uid": "prometheus"
|
||||
},
|
||||
"targets": [
|
||||
{
|
||||
@@ -49,7 +49,7 @@
|
||||
},
|
||||
"datasource": {
|
||||
"type": "prometheus",
|
||||
"uid": "${DS_PROMETHEUS}"
|
||||
"uid": "prometheus"
|
||||
},
|
||||
"targets": [
|
||||
{
|
||||
@@ -76,7 +76,7 @@
|
||||
},
|
||||
"datasource": {
|
||||
"type": "prometheus",
|
||||
"uid": "${DS_PROMETHEUS}"
|
||||
"uid": "prometheus"
|
||||
},
|
||||
"targets": [
|
||||
{
|
||||
@@ -103,7 +103,7 @@
|
||||
},
|
||||
"datasource": {
|
||||
"type": "prometheus",
|
||||
"uid": "${DS_PROMETHEUS}"
|
||||
"uid": "prometheus"
|
||||
},
|
||||
"targets": [
|
||||
{
|
||||
@@ -130,12 +130,18 @@
|
||||
},
|
||||
"datasource": {
|
||||
"type": "prometheus",
|
||||
"uid": "${DS_PROMETHEUS}"
|
||||
"uid": "prometheus"
|
||||
},
|
||||
"targets": [
|
||||
{
|
||||
"expr": "review_input_tokens_available{mode=\"live\"} or review_output_tokens_available{mode=\"live\"}",
|
||||
"refId": "A"
|
||||
"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": {
|
||||
@@ -157,7 +163,7 @@
|
||||
},
|
||||
"datasource": {
|
||||
"type": "prometheus",
|
||||
"uid": "${DS_PROMETHEUS}"
|
||||
"uid": "prometheus"
|
||||
},
|
||||
"targets": [
|
||||
{
|
||||
@@ -173,16 +179,6 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"templating": {
|
||||
"list": [
|
||||
{
|
||||
"name": "DS_PROMETHEUS",
|
||||
"type": "datasource",
|
||||
"query": "prometheus",
|
||||
"label": "Prometheus"
|
||||
}
|
||||
]
|
||||
},
|
||||
"annotations": {
|
||||
"list": []
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user