internal

package
v0.0.0-...-0e6f340 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FillTestInstrumentationScope

func FillTestInstrumentationScope(tv InstrumentationScope)

func FillTestMap

func FillTestMap(dest Map)

func FillTestResource

func FillTestResource(tv Resource)

func FillTestSlice

func FillTestSlice(tv Slice)

func FillTestTraceState

func FillTestTraceState(dest TraceState)

func FillTestValue

func FillTestValue(dest Value)

func GetOrigByteSlice

func GetOrigByteSlice(ms ByteSlice) *[]byte

func GetOrigFloat64Slice

func GetOrigFloat64Slice(ms Float64Slice) *[]float64

func GetOrigMap

func GetOrigMap(ms Map) *[]otlpcommon.KeyValue

func GetOrigResource

func GetOrigResource(ms Resource) *otlpresource.Resource

func GetOrigSlice

func GetOrigSlice(ms Slice) *[]otlpcommon.AnyValue

func GetOrigTraceState

func GetOrigTraceState(ms TraceState) *string

func GetOrigUInt64Slice

func GetOrigUInt64Slice(ms UInt64Slice) *[]uint64

func GetOrigValue

func GetOrigValue(ms Value) *otlpcommon.AnyValue

func LogsToProto

func LogsToProto(l Logs) otlplogs.LogsData

LogsToProto internal helper to convert Logs to protobuf representation.

func MetricsToProto

func MetricsToProto(l Metrics) otlpmetrics.MetricsData

MetricsToProto internal helper to convert Metrics to protobuf representation.

func TracesToProto

func TracesToProto(l Traces) otlptrace.TracesData

TracesToProto internal helper to convert Traces to protobuf representation.

Types

type ByteSlice

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

func NewByteSlice

func NewByteSlice(orig *[]byte) ByteSlice

type Float64Slice

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

func NewFloat64Slice

func NewFloat64Slice(orig *[]float64) Float64Slice

type InstrumentationScope

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

func GenerateTestInstrumentationScope

func GenerateTestInstrumentationScope() InstrumentationScope

type Logs

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

func LogsFromProto

func LogsFromProto(orig otlplogs.LogsData) Logs

LogsFromProto internal helper to convert protobuf representation to Logs.

type Map

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

func GenerateTestMap

func GenerateTestMap() Map

func NewMap

func NewMap(orig *[]otlpcommon.KeyValue) Map

type Metrics

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

func MetricsFromProto

func MetricsFromProto(orig otlpmetrics.MetricsData) Metrics

MetricsFromProto internal helper to convert protobuf representation to Metrics.

type Resource

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

func GenerateTestResource

func GenerateTestResource() Resource

func NewResource

func NewResource(orig *otlpresource.Resource) Resource

type Slice

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

func GenerateTestSlice

func GenerateTestSlice() Slice

func NewSlice

func NewSlice(orig *[]otlpcommon.AnyValue) Slice

type TraceState

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

func GenerateTestTraceState

func GenerateTestTraceState() TraceState

func NewTraceState

func NewTraceState(orig *string) TraceState

type Traces

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

func TracesFromProto

func TracesFromProto(orig otlptrace.TracesData) Traces

TracesFromProto internal helper to convert protobuf representation to Traces.

type UInt64Slice

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

func NewUInt64Slice

func NewUInt64Slice(orig *[]uint64) UInt64Slice

type Value

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

func GenerateTestValue

func GenerateTestValue() Value

func NewValue

func NewValue(orig *otlpcommon.AnyValue) Value

Jump to

Keyboard shortcuts

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