getOpenTelemetrySink(options?: OpenTelemetrySinkOptions): Sink
Creates a sink that forwards log records to OpenTelemetry.
optional
options: OpenTelemetrySinkOptions
Options for creating the sink.
The sink.
LogTape OpenTelemetry Sink
getOpenTelemetrySink(options?: OpenTelemetrySinkOptions): Sink
Creates a sink that forwards log records to OpenTelemetry.
options: OpenTelemetrySinkOptions
Options for creating the sink.
The sink.
Add Package
deno add jsr:@logtape/otel
Import symbol
import { getOpenTelemetrySink } from "@logtape/otel";
---- OR ----
Import directly with a jsr specifier
import { getOpenTelemetrySink } from "jsr:@logtape/otel";
Add Package
npx jsr add @logtape/otel
Import symbol
import { getOpenTelemetrySink } from "@logtape/otel";
Add Package
yarn dlx jsr add @logtape/otel
Import symbol
import { getOpenTelemetrySink } from "@logtape/otel";
Add Package
pnpm dlx jsr add @logtape/otel
Import symbol
import { getOpenTelemetrySink } from "@logtape/otel";
Add Package
bunx jsr add @logtape/otel
Import symbol
import { getOpenTelemetrySink } from "@logtape/otel";