Simple OTLP HTTP Log Exporter for direct log export

This is a simplified exporter that doesn't require the full SDK infrastructure. Use this when you need to send logs directly without LoggerProvider.

Example

const exporter = new SimpleOTLPHttpLogExporter({
cloudHostname: 'cloud.livekit.io',
resourceAttributes: { room_id: 'xxx', job_id: 'yyy' },
scopeName: 'chat_history',
});

await exporter.export([
{ body: 'Hello', timestampMs: Date.now(), attributes: { test: true } },
]);

Constructors

Methods

Constructors

Methods