unmarshaler

package
v0.116.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogsUnmarshaler added in v0.112.0

type LogsUnmarshaler interface {
	// Unmarshal deserializes the records into logs.
	Unmarshal(records [][]byte) (plog.Logs, error)

	// Type of the serialized messages.
	Type() string
}

LogsUnmarshaler deserializes the message body

type MetricsUnmarshaler

type MetricsUnmarshaler interface {
	// Unmarshal deserializes the records into metrics.
	Unmarshal(records [][]byte) (pmetric.Metrics, error)

	// Type of the serialized messages.
	Type() string
}

MetricsUnmarshaler deserializes the message body

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL