method TracerHost.shutdown
TracerHost.shutdown(): Promise<void>

Shuts down the provider and flushes pending spans.

Return Type

Promise<void>

Usage

import { type TracerHost } from "telemetry-plugin/src/index.ts";