@grow-codes/opentelemetry-collector - v0.1.1
    Preparing search index...

    Class OtlpLogExporter

    LogExporter that sends records to the collector over OTLP: POST {logsUrl} (application/x-protobuf) or gRPC LogsService/Export. Retries (HTTP 429/502/503/504) are done by the official OTLP export delegate within exportTimeoutMs; errors in the result keep the natural retryable flag of their code. A partial success reports rejected and a ValidationError.

    Implements

    Index

    The configuration in use.

    endpoint: string

    Endpoint records are sent to (logsUrl when set, else url + /v1/logs for HTTP or grpcUrl for gRPC).

    • Waits for in-flight exports and releases connections. Idempotent.

      Returns Promise<void>