MCPcopy Create free account
hub / github.com/Effect-TS/effect / otlp-exporter.ts

File otlp-exporter.ts

packages/opentelemetry/examples/otlp-exporter.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import * as NodeSdk from "@effect/opentelemetry/NodeSdk"
2import { OTLPTraceExporter } from "@opentelemetry/exporter-trace-otlp-http"
3import { BatchSpanProcessor } from "@opentelemetry/sdk-trace-base"
4import { seconds } from "effect/Duration"

Callers

nothing calls this directly

Calls 4

secondsFunction · 0.90
logMethod · 0.65
provideMethod · 0.65
pipeFunction · 0.50

Tested by

no test coverage detected