The only tool you need to know what is happening and how to fix it.
Go alertingexception-trackerissue-trackinglogsmetricsmonitoringobservability-platformopen-telemetryotelsession-replaytelemetrytraces
catalog-api
Product catalog for the storefront: category listings and product pages.
Go, net/http, PostgreSQL through pgx. Runs as three instances (catalog-api-a/b/c)
behind the load balancer; a release restarts all three. 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/categories/{slug}/products– the category listing, served from an in-process cache that is preloaded at startup and refreshed every 10 minutesGET /api/products/{id}– one productGET /healthz– the load balancer's health check