Add Assignment 7 monitoring, tested alerts, and incident evidence
This commit is contained in:
parent
131d605c5e
commit
6605394d7a
@@ -0,0 +1,133 @@
|
||||
{
|
||||
"start_utc": "2026-10-24T21:23:00+00:00",
|
||||
"end_utc": "2026-10-24T21:33:00+00:00",
|
||||
"qualification": "Fixed 10-minute incident window; sampled availability, not 24-hour SLO",
|
||||
"queries": {
|
||||
"availability_percent": {
|
||||
"promql": "100*avg_over_time(probe_success{job=\"https\"}[10m])",
|
||||
"response": {
|
||||
"status": "success",
|
||||
"data": {
|
||||
"resultType": "vector",
|
||||
"result": [
|
||||
{
|
||||
"metric": {
|
||||
"instance": "https://ci.myfileagent.tech/login",
|
||||
"job": "https"
|
||||
},
|
||||
"value": [
|
||||
1792877580,
|
||||
"60"
|
||||
]
|
||||
},
|
||||
{
|
||||
"metric": {
|
||||
"instance": "https://myfileagent.tech/user/login",
|
||||
"job": "https"
|
||||
},
|
||||
"value": [
|
||||
1792877580,
|
||||
"100"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"samples": {
|
||||
"promql": "count_over_time(probe_success{job=\"https\"}[10m])",
|
||||
"response": {
|
||||
"status": "success",
|
||||
"data": {
|
||||
"resultType": "vector",
|
||||
"result": [
|
||||
{
|
||||
"metric": {
|
||||
"instance": "https://ci.myfileagent.tech/login",
|
||||
"job": "https"
|
||||
},
|
||||
"value": [
|
||||
1792877580,
|
||||
"20"
|
||||
]
|
||||
},
|
||||
{
|
||||
"metric": {
|
||||
"instance": "https://myfileagent.tech/user/login",
|
||||
"job": "https"
|
||||
},
|
||||
"value": [
|
||||
1792877580,
|
||||
"20"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"failures": {
|
||||
"promql": "count_over_time(probe_success{job=\"https\"}[10m])-sum_over_time(probe_success{job=\"https\"}[10m])",
|
||||
"response": {
|
||||
"status": "success",
|
||||
"data": {
|
||||
"resultType": "vector",
|
||||
"result": [
|
||||
{
|
||||
"metric": {
|
||||
"instance": "https://ci.myfileagent.tech/login",
|
||||
"job": "https"
|
||||
},
|
||||
"value": [
|
||||
1792877580,
|
||||
"8"
|
||||
]
|
||||
},
|
||||
{
|
||||
"metric": {
|
||||
"instance": "https://myfileagent.tech/user/login",
|
||||
"job": "https"
|
||||
},
|
||||
"value": [
|
||||
1792877580,
|
||||
"0"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"end_probe": {
|
||||
"promql": "probe_success{job=\"https\"}",
|
||||
"response": {
|
||||
"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"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user