Gets the metadata from the given OpenTelemetry context.
The context to get the metadata from.
The metadata
const metadata = getMetadata(context.active()); Copy
const metadata = getMetadata(context.active());
Gets the metadata from the given OpenTelemetry context.