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 ¶ added in v0.59.0
func FillTestInstrumentationScope(tv InstrumentationScope)
func FillTestMap ¶ added in v0.59.0
func FillTestMap(dest Map)
func FillTestResource ¶ added in v0.59.0
func FillTestResource(tv Resource)
func FillTestSlice ¶ added in v0.59.0
func FillTestSlice(tv Slice)
func FillTestTraceState ¶ added in v0.60.0
func FillTestTraceState(dest TraceState)
func FillTestValue ¶ added in v0.59.0
func FillTestValue(dest Value)
func GetOrigByteSlice ¶ added in v0.60.0
func GetOrigFloat64Slice ¶ added in v0.60.0
func GetOrigFloat64Slice(ms Float64Slice) *[]float64
func GetOrigInstrumentationScope ¶ added in v0.59.0
func GetOrigInstrumentationScope(ms InstrumentationScope) *otlpcommon.InstrumentationScope
func GetOrigLogs ¶ added in v0.59.0
func GetOrigLogs(ms Logs) *otlpcollectorlog.ExportLogsServiceRequest
func GetOrigMap ¶ added in v0.59.0
func GetOrigMap(ms Map) *[]otlpcommon.KeyValue
func GetOrigMetrics ¶ added in v0.59.0
func GetOrigMetrics(ms Metrics) *otlpcollectormetrics.ExportMetricsServiceRequest
func GetOrigResource ¶ added in v0.59.0
func GetOrigResource(ms Resource) *otlpresource.Resource
func GetOrigSlice ¶ added in v0.59.0
func GetOrigSlice(ms Slice) *[]otlpcommon.AnyValue
func GetOrigTraceState ¶ added in v0.60.0
func GetOrigTraceState(ms TraceState) *string
func GetOrigTraces ¶ added in v0.59.0
func GetOrigTraces(ms Traces) *otlpcollectortrace.ExportTraceServiceRequest
func GetOrigUInt64Slice ¶ added in v0.60.0
func GetOrigUInt64Slice(ms UInt64Slice) *[]uint64
func GetOrigValue ¶ added in v0.59.0
func GetOrigValue(ms Value) *otlpcommon.AnyValue
func LogsToProto ¶ added in v0.50.0
LogsToProto internal helper to convert Logs to protobuf representation.
func MetricsToProto ¶ added in v0.50.0
func MetricsToProto(l Metrics) otlpmetrics.MetricsData
MetricsToProto internal helper to convert Metrics to protobuf representation.
func TracesToProto ¶ added in v0.50.0
func TracesToProto(l Traces) otlptrace.TracesData
TracesToProto internal helper to convert Traces to protobuf representation.
Types ¶
type ByteSlice ¶ added in v0.60.0
type ByteSlice struct {
// contains filtered or unexported fields
}
func NewByteSlice ¶ added in v0.60.0
type Float64Slice ¶ added in v0.60.0
type Float64Slice struct {
// contains filtered or unexported fields
}
func NewFloat64Slice ¶ added in v0.60.0
func NewFloat64Slice(orig *[]float64) Float64Slice
type InstrumentationScope ¶
type InstrumentationScope struct {
// contains filtered or unexported fields
}
func GenerateTestInstrumentationScope ¶ added in v0.59.0
func GenerateTestInstrumentationScope() InstrumentationScope
func NewInstrumentationScope ¶
func NewInstrumentationScope(orig *otlpcommon.InstrumentationScope) InstrumentationScope
type Logs ¶
type Logs struct {
// contains filtered or unexported fields
}
func LogsFromProto ¶ added in v0.50.0
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 ¶ added in v0.59.0
func GenerateTestMap() Map
func NewMap ¶
func NewMap(orig *[]otlpcommon.KeyValue) Map
type Metrics ¶
type Metrics struct {
// contains filtered or unexported fields
}
func MetricsFromProto ¶ added in v0.50.0
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 ¶ added in v0.59.0
func GenerateTestResource() Resource
func NewResource ¶
func NewResource(orig *otlpresource.Resource) Resource
type Slice ¶
type Slice struct {
// contains filtered or unexported fields
}
func GenerateTestSlice ¶ added in v0.59.0
func GenerateTestSlice() Slice
func NewSlice ¶
func NewSlice(orig *[]otlpcommon.AnyValue) Slice
type TraceState ¶
type TraceState struct {
// contains filtered or unexported fields
}
func GenerateTestTraceState ¶ added in v0.60.0
func GenerateTestTraceState() TraceState
func NewTraceState ¶ added in v0.60.0
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 ¶ added in v0.50.0
func TracesFromProto(orig otlptrace.TracesData) Traces
TracesFromProto internal helper to convert protobuf representation to Traces.
type UInt64Slice ¶ added in v0.60.0
type UInt64Slice struct {
// contains filtered or unexported fields
}
func NewUInt64Slice ¶ added in v0.60.0
func NewUInt64Slice(orig *[]uint64) UInt64Slice
type Value ¶
type Value struct {
// contains filtered or unexported fields
}
func GenerateTestValue ¶ added in v0.59.0
func GenerateTestValue() Value
func NewValue ¶ added in v0.59.0
func NewValue(orig *otlpcommon.AnyValue) Value
Source Files ¶
Click to show internal directories.
Click to hide internal directories.