- Rust engine: real bootstrap/wiring preflight (guardrail-agent), execution layer (retry/router/pre-trade/post-trade/reconciliation), guardrail-doctor diagnostics with allowlist-drift guard. - guardrail-cli: extracted pure helpers into util.rs (split in progress). - 6 Track-2 skills + ensemble; python-lab analytics (regime/drawdown/montecarlo/dossier/ensemble/journal/seed); clients (ts/py/go/mcp/langchain/web-lite/proof-verifier); alert relay; scenarios; helm/k8s/compose; docs. - dashboard/vercel.json + docs/VERCEL_DEPLOY.md for Vercel deployment. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
12 lines
310 B
Bash
Executable File
12 lines
310 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Scrape Guardrail Alpha metrics in Prometheus text format.
|
|
set -euo pipefail
|
|
|
|
API_URL="${API_URL:-http://127.0.0.1:8080}"
|
|
curl -fsS "${API_URL}/metrics"
|
|
|
|
if [[ -n "${EXPORTER_URL:-}" ]]; then
|
|
printf "\n# --- exporter: %s ---\n" "${EXPORTER_URL}"
|
|
curl -fsS "${EXPORTER_URL}/metrics"
|
|
fi
|