Warehouse / Location Engine is monitored by Transfer RPC monitor on p95 transfer RPC latency. It is owned by Inventory Team and serves the business services listed below. Use this runbook when an alert fires on this component.
Warning at p95 transfer RPC latency ≥ 800 ms, critical at ≥ 1600 ms. Critical means user-visible impact: page the escalation owner.
dashboard: sim://grafana/warehouse-enginelogs: sim://logs/warehouse-engineowner: Inventory Teamrunbook: RB-WAREHOUSEENGINE
- Primary metric: p95 transfer RPC latency (ms)
- Warning threshold: ≥ 800 ms
- Critical threshold: ≥ 1600 ms
- Dashboard: sim://grafana/warehouse-engine
- Log source: sim://logs/warehouse-engine
- SLA: 99.5% monthly availability
- SLO: 99.9% of requests under warning threshold
- External dependencies: Supabase PostgreSQL / APIs / Realtime
- Transfer RPC monitor reports p95 transfer RPC latency at or above the warning threshold for two consecutive evaluation windows.
- Operators report slow screens or timeouts for the affected area.
- Open sim://grafana/warehouse-engine and compare p95 transfer RPC latency against the same window yesterday.
- Check whether latency is broad or limited to a single tenant, store or endpoint.
- Correlate with data-layer latency — a slow database usually shows here first.
- Look for a deploy, migration or heavy background job started in the last 30 minutes.
- Shed avoidable load: pause bulk jobs, exports and scheduled report builds.
- Reduce page size / concurrency for the heaviest endpoints.
- If a recent deploy correlates, roll it back.
- If a single tenant drives the load, throttle that tenant temporarily and inform them.
- Confirm p95 transfer RPC latency has been below the warning threshold for at least 10 minutes.
- Confirm the affected business services are healthy on the dashboard.
- Confirm no alerts remain open for this component and its downstream consumers.
- Spot-check one real end-to-end operation through the affected flow.
- If a deploy caused the incident, roll back to the previous release and re-verify.
- If a configuration or threshold change caused it, restore the previous value and record why.
- Re-enable any job, feature flag or channel that was paused during mitigation, one at a time.
- First responder: NOC on duty — acknowledge within 5 minutes.
- Component owner: Inventory Team.
- Escalation owner (page on critical): Inventory Team.
- Escalate if the metric is still critical 15 minutes after mitigation, or if data integrity is in doubt.
- Declare a major incident if two or more critical components are alerting at the same time.
Blast radius — business services affected (4)
Branch / Location ManagementWarehouse InventoryStock TransferB2B Receiving
Supabase PostgreSQL / APIs / Realtime — Primary data plane, RPC and realtime channels
Simulated incidents that exercise this runbook
Inventory ledger write failures — Ledger append transactions rolling back; stock movements not persisted.
- Record start time, actions taken and recovery time in the incident record.
- Attach the dashboard screenshot and the dominant error message to the postmortem.
- Content drafted for the monitoring demo — confirm the exact commands with the owning team before production use.