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 MigrateProfiles ¶ added in v1.15.0
func MigrateProfiles(_ []*otlpprofiles.ResourceProfiles)
MigrateProfiles implements any translation needed due to deprecation in OTLP profiles protocol. Any pprofile.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.