Add Assignment 7 monitoring, tested alerts, and incident evidence
This commit is contained in:
parent
131d605c5e
commit
6605394d7a
@@ -0,0 +1,281 @@
|
||||
{
|
||||
"started_utc": "2026-10-28T17:31:31.276382+00:00",
|
||||
"purpose": "Separate service restart persistence, not backup/restore",
|
||||
"events": [
|
||||
{
|
||||
"service": "prometheus",
|
||||
"restart_requested_utc": "2026-10-28T17:31:34.517301+00:00",
|
||||
"restart_exit": 0,
|
||||
"restart_finished_utc": "2026-10-28T17:31:36.010653+00:00",
|
||||
"ready_observed_utc": "2026-10-28T17:31:40.102642+00:00"
|
||||
},
|
||||
{
|
||||
"service": "grafana",
|
||||
"restart_requested_utc": "2026-10-28T17:32:15.105596+00:00",
|
||||
"restart_exit": 0,
|
||||
"restart_finished_utc": "2026-10-28T17:32:20.870015+00:00",
|
||||
"ready_observed_utc": "2026-10-28T17:32:55.109817+00:00"
|
||||
}
|
||||
],
|
||||
"before": {
|
||||
"utc": "2026-10-28T17:31:31.276421+00:00",
|
||||
"containers": {
|
||||
"prometheus": {
|
||||
"id": "28b35f29a8f87de81ff57432bf01ffd220cff426152d4428800efd9c305005ae",
|
||||
"mounts": [
|
||||
[
|
||||
"myfileagent-monitoring_prometheus_data",
|
||||
"/prometheus"
|
||||
]
|
||||
]
|
||||
},
|
||||
"grafana": {
|
||||
"id": "d71ae8d91703940df0a9128a5e9741c66b8d1798cae50f1306d0064a54e527cc",
|
||||
"mounts": [
|
||||
[
|
||||
"myfileagent-monitoring_grafana_data",
|
||||
"/var/lib/grafana"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"historical_probe": {
|
||||
"status": "success",
|
||||
"data": {
|
||||
"resultType": "vector",
|
||||
"result": [
|
||||
{
|
||||
"metric": {
|
||||
"__name__": "probe_success",
|
||||
"instance": "https://ci.myfileagent.tech/login",
|
||||
"job": "https"
|
||||
},
|
||||
"value": [
|
||||
1792877580,
|
||||
"1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"metric": {
|
||||
"__name__": "probe_success",
|
||||
"instance": "https://myfileagent.tech/user/login",
|
||||
"job": "https"
|
||||
},
|
||||
"value": [
|
||||
1792877580,
|
||||
"1"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"database": {
|
||||
"dashboard": {
|
||||
"count": 0,
|
||||
"sha256": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945"
|
||||
},
|
||||
"data_source": {
|
||||
"count": 1,
|
||||
"sha256": "e951bf9a8c74d5329a16b8da0b49a932564592f49b778735c7e54badcf94dbdf"
|
||||
},
|
||||
"alert_rule": {
|
||||
"count": 2,
|
||||
"sha256": "bb4b682af4f1b2e37f82d6fc0270cd773b6123dc4ada8352df2bec2bf1f7c5f8"
|
||||
},
|
||||
"annotation": {
|
||||
"count": 18,
|
||||
"sha256": "c5531a98daa5397b436ddd9692ce7bfcf8a8c5b67a7255e7679fb4b6d75bc0a8"
|
||||
}
|
||||
}
|
||||
},
|
||||
"after": {
|
||||
"utc": "2026-10-28T17:33:30.259795+00:00",
|
||||
"containers": {
|
||||
"prometheus": {
|
||||
"id": "28b35f29a8f87de81ff57432bf01ffd220cff426152d4428800efd9c305005ae",
|
||||
"mounts": [
|
||||
[
|
||||
"myfileagent-monitoring_prometheus_data",
|
||||
"/prometheus"
|
||||
]
|
||||
]
|
||||
},
|
||||
"grafana": {
|
||||
"id": "d71ae8d91703940df0a9128a5e9741c66b8d1798cae50f1306d0064a54e527cc",
|
||||
"mounts": [
|
||||
[
|
||||
"myfileagent-monitoring_grafana_data",
|
||||
"/var/lib/grafana"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"historical_probe": {
|
||||
"status": "success",
|
||||
"data": {
|
||||
"resultType": "vector",
|
||||
"result": [
|
||||
{
|
||||
"metric": {
|
||||
"__name__": "probe_success",
|
||||
"instance": "https://ci.myfileagent.tech/login",
|
||||
"job": "https"
|
||||
},
|
||||
"value": [
|
||||
1792877580,
|
||||
"1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"metric": {
|
||||
"__name__": "probe_success",
|
||||
"instance": "https://myfileagent.tech/user/login",
|
||||
"job": "https"
|
||||
},
|
||||
"value": [
|
||||
1792877580,
|
||||
"1"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"database": {
|
||||
"dashboard": {
|
||||
"count": 0,
|
||||
"sha256": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945"
|
||||
},
|
||||
"data_source": {
|
||||
"count": 1,
|
||||
"sha256": "e951bf9a8c74d5329a16b8da0b49a932564592f49b778735c7e54badcf94dbdf"
|
||||
},
|
||||
"alert_rule": {
|
||||
"count": 2,
|
||||
"sha256": "bb4b682af4f1b2e37f82d6fc0270cd773b6123dc4ada8352df2bec2bf1f7c5f8"
|
||||
},
|
||||
"annotation": {
|
||||
"count": 18,
|
||||
"sha256": "c5531a98daa5397b436ddd9692ce7bfcf8a8c5b67a7255e7679fb4b6d75bc0a8"
|
||||
}
|
||||
}
|
||||
},
|
||||
"database_equal": true,
|
||||
"historical_values_equal": true,
|
||||
"current_probes": {
|
||||
"status": "success",
|
||||
"data": {
|
||||
"resultType": "vector",
|
||||
"result": [
|
||||
{
|
||||
"metric": {
|
||||
"__name__": "probe_success",
|
||||
"instance": "https://myfileagent.tech/user/login",
|
||||
"job": "https"
|
||||
},
|
||||
"value": [
|
||||
1793208813.125,
|
||||
"1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"metric": {
|
||||
"__name__": "probe_success",
|
||||
"instance": "https://ci.myfileagent.tech/login",
|
||||
"job": "https"
|
||||
},
|
||||
"value": [
|
||||
1793208813.125,
|
||||
"1"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"target_health": {
|
||||
"status": "success",
|
||||
"data": {
|
||||
"resultType": "vector",
|
||||
"result": [
|
||||
{
|
||||
"metric": {
|
||||
"__name__": "up",
|
||||
"instance": "https://myfileagent.tech/user/login",
|
||||
"job": "https"
|
||||
},
|
||||
"value": [
|
||||
1793208813.419,
|
||||
"1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"metric": {
|
||||
"__name__": "up",
|
||||
"instance": "https://ci.myfileagent.tech/login",
|
||||
"job": "https"
|
||||
},
|
||||
"value": [
|
||||
1793208813.419,
|
||||
"1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"metric": {
|
||||
"__name__": "up",
|
||||
"instance": "node-exporter:9100",
|
||||
"job": "node"
|
||||
},
|
||||
"value": [
|
||||
1793208813.419,
|
||||
"1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"metric": {
|
||||
"__name__": "up",
|
||||
"instance": "blackbox-exporter:9115",
|
||||
"job": "blackbox"
|
||||
},
|
||||
"value": [
|
||||
1793208813.419,
|
||||
"1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"metric": {
|
||||
"__name__": "up",
|
||||
"instance": "prometheus:9090",
|
||||
"job": "prometheus"
|
||||
},
|
||||
"value": [
|
||||
1793208813.419,
|
||||
"1"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"finished_utc": "2026-10-28T17:33:33.422124+00:00",
|
||||
"collection_gaps": [
|
||||
{
|
||||
"instance": "https://ci.myfileagent.tech/login",
|
||||
"samples": 19,
|
||||
"gaps_over_45_seconds": [
|
||||
{
|
||||
"from_epoch": 1793208671.023,
|
||||
"to_epoch": 1793208731.022,
|
||||
"seconds": 59.999
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"instance": "https://myfileagent.tech/user/login",
|
||||
"samples": 20,
|
||||
"gaps_over_45_seconds": []
|
||||
}
|
||||
],
|
||||
"restart_readiness_seconds": {
|
||||
"prometheus": 5.585,
|
||||
"grafana": 40.004
|
||||
},
|
||||
"dashboard_storage_note": "Legacy dashboard table is empty in this Grafana version; see monitoring-restart-state-verification.json for resource-backed dashboards."
|
||||
}
|
||||
Reference in New Issue
Block a user