internal

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogsToOtlp

LogsToOtlp internal helper to convert LogsWrapper to protobuf representation.

func MetricsToOtlp

MetricsToOtlp internal helper to convert MetricsWrapper to protobuf representation.

func TracesCompatibilityChanges

func TracesCompatibilityChanges(req *otlpcollectortrace.ExportTraceServiceRequest)

TracesCompatibilityChanges performs backward compatibility conversion of Span Status code according to OTLP specification as we are a new receiver and sender (we are pushing data to the pipelines): See https://github.com/open-telemetry/opentelemetry-proto/blob/59c488bfb8fb6d0458ad6425758b70259ff4a2bd/opentelemetry/proto/trace/v1/trace.proto#L239 See https://github.com/open-telemetry/opentelemetry-proto/blob/59c488bfb8fb6d0458ad6425758b70259ff4a2bd/opentelemetry/proto/trace/v1/trace.proto#L253

func TracesToOtlp

TracesToOtlp internal helper to convert TracesWrapper to protobuf representation.

Types

type LogsWrapper

type LogsWrapper struct {
	// contains filtered or unexported fields
}

LogsWrapper is an intermediary struct that is declared in an internal package as a way to prevent certain functions of pdata.Logs data type to be callable by any code outside of this module.

func LogsFromOtlp

LogsFromOtlp internal helper to convert protobuf representation to LogsWrapper.

type MetricsWrapper

type MetricsWrapper struct {
	// contains filtered or unexported fields
}

MetricsWrapper is an intermediary struct that is declared in an internal package as a way to prevent certain functions of pdata.Metrics data type to be callable by any code outside of this module.

func MetricsFromOtlp

MetricsFromOtlp internal helper to convert protobuf representation to MetricsWrapper.

type TracesWrapper

type TracesWrapper struct {
	// contains filtered or unexported fields
}

TracesWrapper is an intermediary struct that is declared in an internal package as a way to prevent certain functions of pdata.Traces data type to be callable by any code outside of this module.

func TracesFromOtlp

TracesFromOtlp internal helper to convert protobuf representation to TracesWrapper.

Jump to

Keyboard shortcuts

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