import { Tracer } from '@progress/sitefinity-nextjs-sdk/diagnostics/empty'; Tracer.startTrace(key, (span) => { // code to trace with its own current context Tracer.endSpan(span); })