协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
ramp-observability【开发与工程】Instrument Ramp API clients, webhook consumers, deferred tasks, and accounting syncs with safe service and financial-correctness signals. Use when defining dashboards, alerts, traces, or reconciliation health. Trigger with "monitor Ramp integration" or "Ramp observability".
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Monitor both transport health and business completeness. A low error rate is insufficient if events are missing, objects remain unsynced, or duplicate financial effects occur.
references/official-docs.md and re-check endpoint schemas, scopes, limits, and support status before a live operation.x-trace-id on API responses for request correlation.Define service objectives for request success and latency, webhook receive/processing lag, queue age, deferred-task age, sync completeness, duplicate suppression, and reconciliation freshness.
Emit method plus path template, status class, environment, entity surrogate, trace ID, attempt, latency, page count, event type, event-ID hash, and release without sensitive values.
Track business-state gauges for unsynced and failed objects, unmatched ERP references, webhook reconciliation gaps, suspended workers, and production-write interlock state.
Alert on sustained symptom and business impact with a runbook link, owner, environment, affected entity/object class, and safe diagnostic query.
Test dashboards and alerts with sandbox events and fault injection; verify telemetry redaction, cardinality bounds, retention, and incident usefulness.
Service owners approve SLOs and alerts; security/privacy approve telemetry fields and retention; finance/data owners approve reconciliation thresholds.
An SLI/SLO catalog, safe telemetry schema, dashboards, alert routes, reconciliation monitors, synthetic tests, retention controls, and runbook linkage.
| Condition | Response |
|---|---|
| Metrics are green but finance reports missing objects | Treat reconciliation and source/destination counts as authoritative; investigate coverage gaps. |
| Labels explode in cardinality | Replace raw IDs and URLs with templates, bounded classes, or one-way sampled identifiers. |
| A trace includes a token or payload | Restrict access, purge where possible, rotate credentials, and fix instrumentation before re-enabling it. |
Alert when transactions.ready_to_sync events are processed but matching ERP references fail to appear within the objective.
Correlate a 504 spike by path template and Ramp trace ID while keeping transaction details out of telemetry.