otlp

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2026 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TransformResourceLogs

func TransformResourceLogs(batches []*logspb.ResourceLogs) store.Batch

TransformResourceLogs converts ResourceLogs into a store.Batch of log Events.

func TransformResourceMetrics added in v0.3.0

func TransformResourceMetrics(batches []*metricspb.ResourceMetrics) store.Batch

TransformResourceMetrics converts ResourceMetrics into a store.Batch of metric Events. Scalar kinds (Sum, Gauge) produce one Event per data point; Histogram / ExpHistogram / Summary are not yet written (attribute catalog only) until distribution support lands.

func TransformResourceSpans

func TransformResourceSpans(batches []*tracepb.ResourceSpans) store.Batch

TransformResourceSpans converts an OTLP ExportTraceServiceRequest-level collection of ResourceSpans into a store.Batch of span Events.

Types

This section is empty.

Jump to

Keyboard shortcuts

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