Documentation ¶
Index ¶
- func FillTestInstrumentationScope(tv InstrumentationScope)
- func FillTestMap(dest Map)
- func FillTestResource(tv Resource)
- func FillTestSlice(tv Slice)
- func FillTestTraceState(dest TraceState)
- func FillTestValue(dest Value)
- func GetOrigByteSlice(ms ByteSlice) *[]byte
- func GetOrigFloat64Slice(ms Float64Slice) *[]float64
- func GetOrigInstrumentationScope(ms InstrumentationScope) *otlpcommon.InstrumentationScope
- func GetOrigLogs(ms Logs) *otlpcollectorlog.ExportLogsServiceRequest
- func GetOrigMap(ms Map) *[]otlpcommon.KeyValue
- func GetOrigMetrics(ms Metrics) *otlpcollectormetrics.ExportMetricsServiceRequest
- func GetOrigResource(ms Resource) *otlpresource.Resource
- func GetOrigSlice(ms Slice) *[]otlpcommon.AnyValue
- func GetOrigTraceState(ms TraceState) *string
- func GetOrigTraces(ms Traces) *otlpcollectortrace.ExportTraceServiceRequest
- func GetOrigUInt64Slice(ms UInt64Slice) *[]uint64
- func GetOrigValue(ms Value) *otlpcommon.AnyValue
- func LogsToProto(l Logs) otlplogs.LogsData
- func MetricsToProto(l Metrics) otlpmetrics.MetricsData
- func TracesToProto(l Traces) otlptrace.TracesData
- type ByteSlice
- type Float64Slice
- type InstrumentationScope
- type Logs
- type Map
- type Metrics
- type Resource
- type Slice
- type TraceState
- type Traces
- type UInt64Slice
- type Value
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 GetOrigFloat64Slice ¶
func GetOrigFloat64Slice(ms Float64Slice) *[]float64
func GetOrigInstrumentationScope ¶
func GetOrigInstrumentationScope(ms InstrumentationScope) *otlpcommon.InstrumentationScope
func GetOrigLogs ¶
func GetOrigLogs(ms Logs) *otlpcollectorlog.ExportLogsServiceRequest
func GetOrigMap ¶
func GetOrigMap(ms Map) *[]otlpcommon.KeyValue
func GetOrigMetrics ¶
func GetOrigMetrics(ms Metrics) *otlpcollectormetrics.ExportMetricsServiceRequest
func GetOrigResource ¶
func GetOrigResource(ms Resource) *otlpresource.Resource
func GetOrigSlice ¶
func GetOrigSlice(ms Slice) *[]otlpcommon.AnyValue
func GetOrigTraceState ¶
func GetOrigTraceState(ms TraceState) *string
func GetOrigTraces ¶
func GetOrigTraces(ms Traces) *otlpcollectortrace.ExportTraceServiceRequest
func GetOrigUInt64Slice ¶
func GetOrigUInt64Slice(ms UInt64Slice) *[]uint64
func GetOrigValue ¶
func GetOrigValue(ms Value) *otlpcommon.AnyValue
func LogsToProto ¶
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 ¶
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
func NewInstrumentationScope ¶
func NewInstrumentationScope(orig *otlpcommon.InstrumentationScope) InstrumentationScope
type Logs ¶
type Logs struct {
// contains filtered or unexported fields
}
func LogsFromProto ¶
LogsFromProto internal helper to convert protobuf representation to Logs.
func NewLogs ¶
func NewLogs(orig *otlpcollectorlog.ExportLogsServiceRequest) 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.
func NewMetrics ¶
func NewMetrics(orig *otlpcollectormetrics.ExportMetricsServiceRequest) 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 NewTraces ¶
func NewTraces(orig *otlpcollectortrace.ExportTraceServiceRequest) Traces
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
Source Files ¶
Click to show internal directories.
Click to hide internal directories.