otlp

package
v1.0.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MigrateLogs added in v0.58.0

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 added in v0.58.0

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 added in v0.58.0

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