Produce machine-readable logs with log/slog, propagate trace and request identifiers, and expose useful metrics. Connect logs, metrics, traces, runtime profiles, and health endpoints to diagnose a running service.