Class ResourceLogsMarshaler
java.lang.Object
io.opentelemetry.exporter.internal.marshal.Marshaler
io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
io.opentelemetry.exporter.internal.otlp.logs.ResourceLogsMarshaler
A Marshaler of ResourceLogs.
This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceLogsMarshaler[]create(Collection<LogRecordData> logs) Returns Marshalers of ResourceLogs created by grouping the provided logRecords.voidwriteTo(Serializer output) Methods inherited from class MarshalerWithSize
getBinarySerializedSizeMethods inherited from class Marshaler
writeBinaryTo, writeJsonTo, writeJsonTo, writeJsonWithNewline
-
Method Details
-
create
Returns Marshalers of ResourceLogs created by grouping the provided logRecords. -
writeTo
- Specified by:
writeToin classMarshaler- Throws:
IOException
-