70 lines
1.5 KiB
JSON
70 lines
1.5 KiB
JSON
{
|
|
"id": null,
|
|
"uid": "assignment8-production-health",
|
|
"title": "Assignment 8 - Production Health",
|
|
"tags": [
|
|
"SSW590",
|
|
"Assignment 8"
|
|
],
|
|
"timezone": "America/New_York",
|
|
"schemaVersion": 39,
|
|
"version": 1,
|
|
"refresh": "30s",
|
|
"time": {
|
|
"from": "now-1h",
|
|
"to": "now"
|
|
},
|
|
"editable": true,
|
|
"panels": [
|
|
{
|
|
"id": 1,
|
|
"type": "timeseries",
|
|
"title": "Production HTTPS health",
|
|
"description": "Blackbox HTTP 2xx probe; 1 = healthy, 0 = failed. Missing data is not evidence of availability.",
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "prometheus"
|
|
},
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"targets": [
|
|
{
|
|
"expr": "probe_success{job=\"https\",instance=\"https://app.myfileagent.tech/health\"}",
|
|
"refId": "A",
|
|
"legendFormat": "Production health"
|
|
}
|
|
],
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"min": 0,
|
|
"max": 1,
|
|
"unit": "short",
|
|
"custom": {
|
|
"drawStyle": "line",
|
|
"lineWidth": 2,
|
|
"fillOpacity": 10,
|
|
"spanNulls": false
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"legend": {
|
|
"displayMode": "list",
|
|
"placement": "bottom",
|
|
"calcs": [
|
|
"lastNotNull"
|
|
]
|
|
},
|
|
"tooltip": {
|
|
"mode": "single"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|