Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/observability / / createOTLPHttpExporter
Function: createOTLPHttpExporter()
ts
function createOTLPHttpExporter(opts): TraceExporter;Defined in: packages/observability/src/exporters/otlp-http.ts:55
Build a minimal OTLP-over-HTTP trace exporter. Call withValidation(exporter) before passing the result to createTracer({ exporters }).
The implementation issues one POST per finished span — no batching. Operators wanting batching should wrap this exporter with their own queue or use a sidecar collector.
Parameters
| Parameter | Type |
|---|---|
opts | OTLPHttpExporterOptions |