diff --git a/tools/verify-deploy.sh b/tools/verify-deploy.sh index a77debc..f74a132 100755 --- a/tools/verify-deploy.sh +++ b/tools/verify-deploy.sh @@ -122,20 +122,3 @@ if (typeof d.gauges !== 'object' || d.gauges === null) { } console.log('OK metrics JSON timestamp=' + d.timestamp); " - -echo "" -echo "=== verify-deploy: /metrics (Prometheus exposition, BIT-3601) ===" -METRICS_URL="${BASE}/metrics" -_METRICS="$(curl -sfS --max-time 15 "${METRICS_URL}")" || { - echo "error: GET ${METRICS_URL} failed (same host:PORT as /health)" >&2 - exit 1 -} -if ! printf '%s\n' "${_METRICS}" | grep -qF '# HELP engagement_collector_runs_total'; then - echo "error: /metrics missing HELP engagement_collector_runs_total" >&2 - exit 1 -fi -if ! printf '%s\n' "${_METRICS}" | grep -qE '^engagement_collector_runs_total[[:space:]]+[0-9]+'; then - echo "error: /metrics missing engagement_collector_runs_total counter line" >&2 - exit 1 -fi -echo "OK /metrics (collector counters present)"