Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a313e57777 | ||
|
|
7227afb3dc |
@@ -15,7 +15,7 @@
|
||||
},
|
||||
"schemaVersion": 39,
|
||||
"version": 1,
|
||||
"description": "ssw-590 droplet health and Gitea/Jenkins HTTPS availability. Source: deploy/monitoring in SeatBackTrivia/seat-back-trivia.",
|
||||
"description": "ssw-590 droplet health and Gitea, Jenkins, and production pricing HTTPS availability. Source: deploy/monitoring in SeatBackTrivia/seat-back-trivia.",
|
||||
"annotations": {
|
||||
"list": [
|
||||
{
|
||||
@@ -600,6 +600,91 @@
|
||||
"instant": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"type": "timeseries",
|
||||
"title": "Production pricing availability",
|
||||
"description": "probe_success for https://app.pollefeys.dev/health: 1 when DNS, TLS, and an HTTP 200 health response succeed within 10 s through Caddy, 0 otherwise. Scraped every 30 s, so a failure shorter than that can fall between samples. Version and price are checked by the pipeline smoke test, not by this probe.",
|
||||
"datasource": {
|
||||
"type": "prometheus",
|
||||
"uid": "prometheus"
|
||||
},
|
||||
"gridPos": {
|
||||
"x": 0,
|
||||
"y": 19,
|
||||
"w": 24,
|
||||
"h": 7
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"custom": {
|
||||
"lineWidth": 2,
|
||||
"fillOpacity": 10,
|
||||
"showPoints": "never",
|
||||
"spanNulls": false,
|
||||
"lineInterpolation": "stepAfter",
|
||||
"thresholdsStyle": {
|
||||
"mode": "off"
|
||||
}
|
||||
},
|
||||
"unit": "none",
|
||||
"color": {
|
||||
"mode": "palette-classic"
|
||||
},
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green",
|
||||
"value": null
|
||||
}
|
||||
]
|
||||
},
|
||||
"min": 0,
|
||||
"max": 1,
|
||||
"mappings": [
|
||||
{
|
||||
"type": "value",
|
||||
"options": {
|
||||
"0": {
|
||||
"text": "DOWN",
|
||||
"color": "red"
|
||||
},
|
||||
"1": {
|
||||
"text": "UP",
|
||||
"color": "green"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"options": {
|
||||
"legend": {
|
||||
"displayMode": "list",
|
||||
"placement": "bottom",
|
||||
"showLegend": true
|
||||
},
|
||||
"tooltip": {
|
||||
"mode": "multi",
|
||||
"sort": "none"
|
||||
}
|
||||
},
|
||||
"targets": [
|
||||
{
|
||||
"refId": "A",
|
||||
"datasource": {
|
||||
"type": "prometheus",
|
||||
"uid": "prometheus"
|
||||
},
|
||||
"expr": "probe_success{job=\"https\",instance=\"https://app.pollefeys.dev/health\"}",
|
||||
"legendFormat": "Pricing (production)",
|
||||
"range": true,
|
||||
"instant": false
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -28,6 +28,8 @@ scrape_configs:
|
||||
- targets:
|
||||
- https://git.pollefeys.dev/user/login
|
||||
- https://ci.pollefeys.dev/login
|
||||
# Production pricing service (Assignment 8).
|
||||
- https://app.pollefeys.dev/health
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
target_env: production
|
||||
release_image: git.pollefeys.dev/seatbacktrivia/pricing@sha256:5c9cd0243b2d3a7712926909a9a942d082fafc87a662e26b4b69ce3b35e22e65
|
||||
expected_version: v2
|
||||
expected_commit: 67ccd237a88a2b6f8df11351e7f02ef6bd673fa4
|
||||
expected_total: 36
|
||||
public_url: https://app.pollefeys.dev
|
||||
proxy_network: gitea_gitea-net
|
||||
@@ -1,7 +0,0 @@
|
||||
target_env: staging
|
||||
release_image: git.pollefeys.dev/seatbacktrivia/pricing@sha256:5c9cd0243b2d3a7712926909a9a942d082fafc87a662e26b4b69ce3b35e22e65
|
||||
expected_version: v2
|
||||
expected_commit: 67ccd237a88a2b6f8df11351e7f02ef6bd673fa4
|
||||
expected_total: 36
|
||||
public_url: https://staging.pollefeys.dev
|
||||
proxy_network: gitea_gitea-net
|
||||
Reference in New Issue
Block a user