Coding task · NestJS course · Module 12: Containers and CI/CD

Manually creating spans in OpenTelemetry

Complete the code for manually creating spans in a NestJS service.

Task

Complete startActiveSpan: set attributes (name, rank), record status OK/ERROR, call span.end() and handle errors