The only tool you need to know what is happening and how to fix it.
Go alertingexception-trackerissue-trackinglogsmetricsmonitoringobservability-platformopen-telemetryotelsession-replaytelemetrytraces
ledger-api
General ledger service: account balances, journal entries and the finance
team's quarterly ledger export. Go, net/http, PostgreSQL through pgx.
Traces, logs and metrics go to Traceway over OTLP
(OTEL_EXPORTER_OTLP_ENDPOINT); production builds (go build -tags otel)
install otelhttp and otelpgx through internal/telemetry.
go test ./...
go run ./cmd/server
Routes:
GET /api/accounts/{id}/balance– current balance of one accountGET /api/accounts/{id}/entries– the latest 50 entries of one accountPOST /api/journal-entries– post a journal entryGET /api/reports/export?from=&to=– every ledger entry of the organization in the range, as CSV (finance pulls one quarter at a time)