NF Software Engineering — Building 5G Core Network Functions · Pro
Modern NFs instrument with three complementary signals. Logs are records of events — what happened, when, with what context. Structured logs (JSON or key-value pairs) are essential because grepping unstructured logs at scale fails. Metrics are aggregated numbers — counters of registrations attempted, gauges of currently-registered UEs, histograms of SBI call latency. Traces are records of how a request flows through the system — when AMF received the registration, when it queried AUSF, how long AUSF took, how the call ended. Each signal answers different questions: logs for "what exactly…