fix: use certificate-safe api-pulse hostname
Cloudflare Universal SSL covers *.noelsabia.dev only one level deep. api.pulse.noelsabia.dev is two levels and fails the certificate check. - switch the API base/SSE URLs to api-pulse.noelsabia.dev - update smoke, k6, runbook, and failure drills - record the verified DNS/certificate diagnosis and local cache flush
This commit is contained in:
1 parent
2eacb62696
commit
e8e0f2035b
10 files changed
+68
-55
No files matched your search
@@ -7,7 +7,7 @@
|
||||
// make k6-build
|
||||
//
|
||||
// Run:
|
||||
// API_URL=https://api.pulse.noelsabia.dev ./k6/k6-sse run k6/sse.js
|
||||
// API_URL=https://api-pulse.noelsabia.dev ./k6/k6-sse run k6/sse.js
|
||||
// make load
|
||||
//
|
||||
// Recorded metrics:
|
||||
@@ -26,7 +26,7 @@ import sse from 'k6/x/sse';
|
||||
import { check } from 'k6';
|
||||
import { Counter, Rate, Trend } from 'k6/metrics';
|
||||
|
||||
const API_URL = (__ENV.API_URL || 'https://api.pulse.noelsabia.dev').replace(/\/+$/, '');
|
||||
const API_URL = (__ENV.API_URL || 'https://api-pulse.noelsabia.dev').replace(/\/+$/, '');
|
||||
const STREAM_URL = __ENV.SSE_URL || `${API_URL}/api/stream`;
|
||||
const VUS = Math.max(1, Number(__ENV.SSE_VUS || 120));
|
||||
const HOLD_PINGS = Math.max(1, Number(__ENV.SSE_HOLD_PINGS || 20));
|
||||
|
||||
Reference in new issue
Block a user