Package io.jstach.rainbowgum.otlp
@NullMarked
package io.jstach.rainbowgum.otlp
OTLP log export. See
OtlpOutput and
OtlpJsonEncoder.-
ClassDescriptionWhether the standard OpenTelemetry environment variables (
OTEL_SERVICE_NAME,OTEL_RESOURCE_ATTRIBUTES, andOTEL_EXPORTER_OTLP_*) are read.Encodes each event as one line of OTLP/JSON: a completeLogsDataobject holding a single log record.Builder to createOtlpJsonEncoder.Sends log events to an OTLP/HTTP endpoint (/v1/logs) as protobuf (the default) or JSON, without the OpenTelemetry SDK or a protobuf library.Builder to createLogProvider<OtlpOutput>.OTLP/HTTP payload encoding, named as inOTEL_EXPORTER_OTLP_PROTOCOL.