Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions src/app/api/mcp/[transport]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,17 @@ const QUERY_PROM_ALLOWED_METRIC_PREFIXES = [
"bridge_output",
"bridge_estimated_time",
"bridge_quote_success",
// Bridge execution bench (#261): real on-chain settlement + realized cost
"bridge_execution_latency_ms",
"bridge_e2e_latency_ms",
"bridge_success_total",
"bridge_reverts_total",
"bridge_refunds_total",
"bridge_stuck_total",
"bridge_refund_latency_ms",
"bridge_realized_output_usd",
"bridge_quote_slippage_usd",
"bridge_exec_gas_usd",
// L1 finality + L2 block time
"l1_finality_",
"l2_block_time_",
Expand Down Expand Up @@ -349,6 +360,9 @@ const mcpHandler = createMcpHandler(
"Allowed metric namespaces (one prefix per OCB bench family):",
" head_lag_seconds (aggregator latency)",
" bridge_quote_latency_ms*, bridge_cost*, bridge_fees*, bridge_fix_fee*,",
" bridge_execution_latency_ms*, bridge_e2e_latency_ms*, bridge_success_total,",
" bridge_reverts_total, bridge_refunds_total, bridge_stuck_total,",
" bridge_refund_latency_ms*, bridge_realized_output_usd, bridge_quote_slippage_usd, bridge_exec_gas_usd,",
" bridge_gas*, bridge_output*, bridge_estimated_time*, bridge_quote_success",
" l1_finality_*, l2_block_time_*",
" metadata_coverage_*, metadata_api_latency_*, network_coverage_*,",
Expand Down
Loading