Observability
| Signal | How |
|---|---|
| Logs | Serilog, structured JSON to stdout. One request log line per call with status and duration. Payloads are never logged. |
| Traces | OpenTelemetry: ASP.NET Core, HttpClient (AvaTax, Bank of Canada), MassTransit, plus the Integrations activity source. Exported over OTLP when OTEL_EXPORTER_OTLP_ENDPOINT is set. |
| Metrics | OpenTelemetry meter Integrations: integrations.provider.calls (provider, operation, outcome), integrations.tax.deferred, integrations.messages.deferred (message type, reason), integrations.jobs.runs (job, outcome) and integrations.jobs.duration; MassTransit's meter (consumed, published, faults per message type); plus the standard ASP.NET Core and runtime metrics. |
| Audit | provider_call_audit: one row per external call with latency, outcome, error code and request hash |
| Health | /health/live (process), /health/ready (database only), /health/providers (AvaTax ping), /health/bus (RabbitMQ; not part of readiness) |
| Jobs | GET /api/v1/admin/jobs: last start, success, failure and error of each scheduled job |
| Synthetic | The monitor GitHub workflow probes the demo every 6 hours: health and warm-request p95 |
Quote the traceId from an error response to find the request in logs and traces.