← Back to blog
Solution 4 min read 炬鲸团队

Observability in Financial Services: From Compliance Audit to Minute-Level Triage

An observability solution for banking, securities and insurance: compliant log retention and audit, full-link tracing for payment-path issues, alert tiers and on-call integration, plus capacity and performance lessons.

Three problems finance actually cares about

For financial customers, the question is rarely "can we monitor this". It's three more specific things: do our logs satisfy regulatory retention and audit requirements; when a transaction fails, can we quickly find which system and which call broke; and can alerting be rare and accurate, so on-call engineers aren't woken up by false positives every night.

Those three map to the storage, tracing and alerting capabilities of observability, and they form the three threads of this solution.

Log retention and audit compliance

Regulators want logs that are complete, traceable and tamper-evident. Three actions matter in practice:

  • Full collection: core systems (trading, accounting, channels, gateways) send every log with no sampling; non-core systems can trim fields as needed.
  • Retention tiers: configure tiered retention to match regulatory rules — typically at least 3 years for core transaction logs and 6–12 months for general logs — with cold data automatically moving to low-cost storage.
  • Audit and tamper-evidence: enable operation audit to record who queried which logs and when, and run integrity checks on archived logs to detect tampering.

Technically, attach a uniform traceId, tradeId and customerId to every log line up front. That's the foundation for both full-link correlation and audit traceability later, and retrofitting it afterwards is painful.

Full-link tracing for the money path

A cross-system transaction can pass through a dozen services from the frontend order to core accounting. The traditional way — each team grepping its own logs and stitching timelines together by hand — is slow and error-prone.

The fix is end-to-end instrumentation with OpenTelemetry, tying a transaction's full call chain together from ingress to database write. Two things deserve the most attention:

  • traceId propagation across systems: the gateway generates or forwards a traceId and every downstream system reuses it, carrying it in HTTP headers and message bodies. This is the precondition for stitching the money path together at all.
  • Span annotations at key nodes: instrument accounting, deduction, risk control and settlement nodes with spans that record result codes and latency, so triage starts at these nodes instead of walking every layer.

The result: enter a transaction ID and you see the full call chain in minutes, pinpointing the failing node and error code. Triage drops from hours to minutes.

Alert tiers and on-call integration

Alerting in finance fears two things: missed alerts, where something breaks and nobody knows, and alert fatigue, where on-call engineers get desensitized and real alerts go unnoticed. Recommendations:

  • Tiering: classify alerts P0–P3 by blast radius. P0 pages by phone/SMS, P1 goes to instant messaging, P2/P3 roll up into a daily digest.
  • Suppression and de-duplication: merge alerts with the same root cause, and suppress downstream alerts during a datacenter-level outage to avoid an alert storm.
  • On-call integration: forward 炬鲸 alerts into your existing ITSM/on-call system for auto-dispatch and auto-escalation, keeping a full audit trail for post-incident review.

Security and data isolation

Financial data needs more than monitoring; it needs isolation and control. Two practices we see repeatedly:

  • Network isolation: deploy 炬鲸 in the production segment with strict egress rules; only the Collector's OTLP egress and the on-call integration need outbound access.
  • Role-based access with field-level masking: grant engineers access to the logs they need while masking sensitive fields (card numbers, ID numbers, phone numbers) at query time, so debugging doesn't leak PII.

Both are native features rather than bolt-ons, which matters when an auditor asks how a specific field is protected.

Capacity and performance lessons

Financial traffic has pronounced peaks (sales events, quarter-end interest settlement). Before go-live, size capacity from load-test data — reserve storage and indexing headroom against peak QPS and log ingestion rate. After go-live, watch log volume growth on trend charts and scale up early rather than waiting for disk alarms. On the indexing side, split hot and cold: hot data on SSD, historical data on object storage, which gives the best cost-to-performance ratio.

In practice, most institutions phase this in rather than going big-bang: start with log collection and audit for the core systems (the fastest compliance win), then add tracing on the money path, then tighten alerting. Each phase delivers measurable value on its own, so you're not waiting months for the first result.