otlp

package
v0.0.0-...-76a0d45 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MigrateLogs

func MigrateLogs(rls []*otlplogs.ResourceLogs)

MigrateLogs implements any translation needed due to deprecation in OTLP logs protocol. Any plog.Unmarshaler implementation from OTLP (proto/json) MUST call this, and the gRPC Server implementation.

func MigrateMetrics

func MigrateMetrics(rms []*otlpmetrics.ResourceMetrics)

MigrateMetrics implements any translation needed due to deprecation in OTLP metrics protocol. Any pmetric.Unmarshaler implementation from OTLP (proto/json) MUST call this, and the gRPC Server implementation.

func MigrateTraces

func MigrateTraces(rss []*otlptrace.ResourceSpans)

MigrateTraces implements any translation needed due to deprecation in OTLP traces protocol. Any ptrace.Unmarshaler implementation from OTLP (proto/json) MUST call this, and the gRPC Server implementation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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