Gets the user ID from the given OpenTelemetry context.
The context to get the user ID from.
The user
const user = getUser(context.active()); Copy
const user = getUser(context.active());
Gets the user ID from the given OpenTelemetry context.