Commit e20e2a2
Fix pg.instanode.dev monitor: use Upptime tcp-ping schema (#4)
The previous config probed `https://pg.instanode.dev:5432` with
`method: TCP_PING` + `tcpHostPort`. Neither of those keys exists in
the Upptime config schema (`UpptimeConfig.sites[]` in
upptime/uptime-monitor `src/interfaces.ts`), so the action ignored
them and fell through to curl, which tried a TLS handshake against
the raw Postgres wire-protocol port and logged:
Curl attempt 1/3 returned HTTP 0: Request failed: SSL connect error
Error does not appear transient, skipping further retries
The endpoint itself is healthy. Port 5432 on the public LoadBalancer
IP (152.42.154.144) is exposed by `ingress-nginx` via the
`tcp-services` ConfigMap, routed to the `instant-pg-proxy` Service in
the `instant` namespace, which fronts customer Postgres pools.
`nc -zv pg.instanode.dev 5432` succeeds, and `pg-proxy` logs show
both replicas listening.
Switch to Upptime's documented raw-TCP probe shape:
check: "tcp-ping"
url: pg.instanode.dev
port: 5432
No HTTPS scheme, no synthetic `expectedStatusCodes` fallback list,
no `tcpHostPort` (which Upptime doesn't read). The next Uptime CI
run should record an "up" status for this site.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 98278e4 commit e20e2a2
1 file changed
Lines changed: 16 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
97 | 101 | | |
98 | 102 | | |
99 | 103 | | |
| |||
0 commit comments