[READ-ONLY] Mirror of https://github.com/openstatusHQ/openstatus. 🫖 Status page with uptime monitoring & API monitoring as code 🫖 openstatus.dev
bun drizzle-orm monitoring monitoring-as-code nextjs observability on-call open-source shadcn-ui status-page statuspage synthetic-monitoring tinybird turso uptime uptime-checker uptime-monitor

fix: update HTTP/TCP latency pipes to use v1 MVs (#2498) master

* fix: update HTTP/TCP latency pipes to use v1 MVs for private location data The /monitors list page on status pages fetches latency data via getMetricsLatencyMultiProcedure, which queries Tinybird pipes that were pointing to mv__http_1d__v0 / mv__tcp_1d__v0 materialized views. These v0 views only include cloud checker data. The v1 views (mv__http_1d__v1 / mv__tcp_1d__v1) were created to include private location monitor data, so private location monitors now show latency graphs on the status page monitors list. DNS already queries dns_response__v0 directly (no MV), so no change needed. * fix: update single-monitor latency pipes to use v1 MVs Fixes P1: single-monitor latency v1 pipes still used v0 MVs. - endpoint__http_metrics_latency_1d__v1.pipe: v0 → v1 - endpoint__http_metrics_latency_7d__v1.pipe: v0 → v1 - endpoint__tcp_metrics_latency_1d__v1.pipe: v0 → v1 Fixes empty graphs on status page detail pages for private location monitors. * fix: update regions pipe to use v1 MV for private location data - endpoint__http_metrics_regions_7d__v0.pipe: v0 → v1 Fixes empty Region Latency tab on status page detail pages. * fix: update TCP by_interval pipe to use v1 MV for private location data - endpoint__tcp_metrics_by_interval_7d.pipe: v0 → v1 Fixes empty Region Latency tab on TCP monitor detail pages. * fix: rename TCP by_interval pipe files to add __v0 suffix for consistency Renamed 5 TCP pipe files to match HTTP pipe naming convention: - endpoint__tcp_metrics_by_interval_1d.pipe → __v0.pipe - endpoint__tcp_metrics_by_interval_7d.pipe → __v0.pipe - endpoint__tcp_metrics_by_interval_14d.pipe → __v0.pipe - endpoint__tcp_metrics_by_interval_30d.pipe → __v0.pipe - endpoint__tcp_metrics_by_interval_90d.pipe → __v0.pipe This makes TCP pipes consistent with HTTP pipes which already use version suffixes. The client.ts references were correct all along.