internal

package
v1.0.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FillTestExemplar added in v0.59.0

func FillTestExemplar(tv Exemplar)

func FillTestExemplarSlice added in v0.59.0

func FillTestExemplarSlice(tv ExemplarSlice)

func FillTestExponentialHistogram added in v0.59.0

func FillTestExponentialHistogram(tv ExponentialHistogram)

func FillTestExponentialHistogramDataPoint added in v0.59.0

func FillTestExponentialHistogramDataPoint(tv ExponentialHistogramDataPoint)

func FillTestExponentialHistogramDataPointBuckets added in v0.62.0

func FillTestExponentialHistogramDataPointBuckets(tv ExponentialHistogramDataPointBuckets)

func FillTestExponentialHistogramDataPointSlice added in v0.59.0

func FillTestExponentialHistogramDataPointSlice(tv ExponentialHistogramDataPointSlice)

func FillTestGauge added in v0.59.0

func FillTestGauge(tv Gauge)

func FillTestHistogram added in v0.59.0

func FillTestHistogram(tv Histogram)

func FillTestHistogramDataPoint added in v0.59.0

func FillTestHistogramDataPoint(tv HistogramDataPoint)

func FillTestHistogramDataPointSlice added in v0.59.0

func FillTestHistogramDataPointSlice(tv HistogramDataPointSlice)

func FillTestInstrumentationScope added in v0.59.0

func FillTestInstrumentationScope(tv InstrumentationScope)

func FillTestLogRecord added in v0.59.0

func FillTestLogRecord(tv LogRecord)

func FillTestLogRecordSlice added in v0.59.0

func FillTestLogRecordSlice(tv LogRecordSlice)

func FillTestLogsExportPartialSuccess added in v0.63.0

func FillTestLogsExportPartialSuccess(tv LogsExportPartialSuccess)

func FillTestMap added in v0.59.0

func FillTestMap(dest Map)

func FillTestMetric added in v0.59.0

func FillTestMetric(tv Metric)

func FillTestMetricSlice added in v0.59.0

func FillTestMetricSlice(tv MetricSlice)

func FillTestMetricsExportPartialSuccess added in v0.63.0

func FillTestMetricsExportPartialSuccess(tv MetricsExportPartialSuccess)

func FillTestNumberDataPoint added in v0.59.0

func FillTestNumberDataPoint(tv NumberDataPoint)

func FillTestNumberDataPointSlice added in v0.59.0

func FillTestNumberDataPointSlice(tv NumberDataPointSlice)

func FillTestResource added in v0.59.0

func FillTestResource(tv Resource)

func FillTestResourceLogs added in v0.59.0

func FillTestResourceLogs(tv ResourceLogs)

func FillTestResourceLogsSlice added in v0.59.0

func FillTestResourceLogsSlice(tv ResourceLogsSlice)

func FillTestResourceMetrics added in v0.59.0

func FillTestResourceMetrics(tv ResourceMetrics)

func FillTestResourceMetricsSlice added in v0.59.0

func FillTestResourceMetricsSlice(tv ResourceMetricsSlice)

func FillTestResourceSpans added in v0.59.0

func FillTestResourceSpans(tv ResourceSpans)

func FillTestResourceSpansSlice added in v0.59.0

func FillTestResourceSpansSlice(tv ResourceSpansSlice)

func FillTestScopeLogs added in v0.59.0

func FillTestScopeLogs(tv ScopeLogs)

func FillTestScopeLogsSlice added in v0.59.0

func FillTestScopeLogsSlice(tv ScopeLogsSlice)

func FillTestScopeMetrics added in v0.59.0

func FillTestScopeMetrics(tv ScopeMetrics)

func FillTestScopeMetricsSlice added in v0.59.0

func FillTestScopeMetricsSlice(tv ScopeMetricsSlice)

func FillTestScopeSpans added in v0.59.0

func FillTestScopeSpans(tv ScopeSpans)

func FillTestScopeSpansSlice added in v0.59.0

func FillTestScopeSpansSlice(tv ScopeSpansSlice)

func FillTestSlice added in v0.59.0

func FillTestSlice(tv Slice)

func FillTestSpan added in v0.59.0

func FillTestSpan(tv Span)

func FillTestSpanEvent added in v0.59.0

func FillTestSpanEvent(tv SpanEvent)

func FillTestSpanEventSlice added in v0.59.0

func FillTestSpanEventSlice(tv SpanEventSlice)
func FillTestSpanLink(tv SpanLink)

func FillTestSpanLinkSlice added in v0.59.0

func FillTestSpanLinkSlice(tv SpanLinkSlice)

func FillTestSpanSlice added in v0.59.0

func FillTestSpanSlice(tv SpanSlice)

func FillTestStatus added in v0.62.0

func FillTestStatus(tv Status)

func FillTestSum added in v0.59.0

func FillTestSum(tv Sum)

func FillTestSummary added in v0.59.0

func FillTestSummary(tv Summary)

func FillTestSummaryDataPoint added in v0.59.0

func FillTestSummaryDataPoint(tv SummaryDataPoint)

func FillTestSummaryDataPointSlice added in v0.59.0

func FillTestSummaryDataPointSlice(tv SummaryDataPointSlice)

func FillTestSummaryDataPointValueAtQuantile added in v0.62.0

func FillTestSummaryDataPointValueAtQuantile(tv SummaryDataPointValueAtQuantile)

func FillTestSummaryDataPointValueAtQuantileSlice added in v0.62.0

func FillTestSummaryDataPointValueAtQuantileSlice(tv SummaryDataPointValueAtQuantileSlice)

func FillTestTraceState added in v0.60.0

func FillTestTraceState(dest TraceState)

func FillTestTracesExportPartialSuccess added in v0.63.0

func FillTestTracesExportPartialSuccess(tv TracesExportPartialSuccess)

func FillTestValue added in v0.59.0

func FillTestValue(dest Value)

func GetOrigByteSlice added in v0.60.0

func GetOrigByteSlice(ms ByteSlice) *[]byte

func GetOrigExemplar added in v0.59.0

func GetOrigExemplar(ms Exemplar) *otlpmetrics.Exemplar

func GetOrigExemplarSlice added in v0.59.0

func GetOrigExemplarSlice(ms ExemplarSlice) *[]otlpmetrics.Exemplar

func GetOrigExponentialHistogram added in v0.59.0

func GetOrigExponentialHistogram(ms ExponentialHistogram) *otlpmetrics.ExponentialHistogram

func GetOrigExponentialHistogramDataPoint added in v0.59.0

func GetOrigExponentialHistogramDataPoint(ms ExponentialHistogramDataPoint) *otlpmetrics.ExponentialHistogramDataPoint

func GetOrigExponentialHistogramDataPointSlice added in v0.59.0

func GetOrigExponentialHistogramDataPointSlice(ms ExponentialHistogramDataPointSlice) *[]*otlpmetrics.ExponentialHistogramDataPoint

func GetOrigFloat64Slice added in v0.60.0

func GetOrigFloat64Slice(ms Float64Slice) *[]float64

func GetOrigGauge added in v0.59.0

func GetOrigGauge(ms Gauge) *otlpmetrics.Gauge

func GetOrigHistogram added in v0.59.0

func GetOrigHistogram(ms Histogram) *otlpmetrics.Histogram

func GetOrigHistogramDataPoint added in v0.59.0

func GetOrigHistogramDataPoint(ms HistogramDataPoint) *otlpmetrics.HistogramDataPoint

func GetOrigHistogramDataPointSlice added in v0.59.0

func GetOrigHistogramDataPointSlice(ms HistogramDataPointSlice) *[]*otlpmetrics.HistogramDataPoint

func GetOrigInstrumentationScope added in v0.59.0

func GetOrigInstrumentationScope(ms InstrumentationScope) *otlpcommon.InstrumentationScope

func GetOrigLogRecord added in v0.59.0

func GetOrigLogRecord(ms LogRecord) *otlplogs.LogRecord

func GetOrigLogRecordSlice added in v0.59.0

func GetOrigLogRecordSlice(ms LogRecordSlice) *[]*otlplogs.LogRecord

func GetOrigLogs added in v0.59.0

func GetOrigLogsExportPartialSuccess added in v0.63.0

func GetOrigLogsExportPartialSuccess(ms LogsExportPartialSuccess) *otlpcollectorlog.ExportLogsPartialSuccess

func GetOrigMap added in v0.59.0

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

func GetOrigMetric added in v0.59.0

func GetOrigMetric(ms Metric) *otlpmetrics.Metric

func GetOrigMetricSlice added in v0.59.0

func GetOrigMetricSlice(ms MetricSlice) *[]*otlpmetrics.Metric

func GetOrigMetrics added in v0.59.0

func GetOrigNumberDataPoint added in v0.59.0

func GetOrigNumberDataPoint(ms NumberDataPoint) *otlpmetrics.NumberDataPoint

func GetOrigNumberDataPointSlice added in v0.59.0

func GetOrigNumberDataPointSlice(ms NumberDataPointSlice) *[]*otlpmetrics.NumberDataPoint

func GetOrigResource added in v0.59.0

func GetOrigResource(ms Resource) *otlpresource.Resource

func GetOrigResourceLogs added in v0.59.0

func GetOrigResourceLogs(ms ResourceLogs) *otlplogs.ResourceLogs

func GetOrigResourceLogsSlice added in v0.59.0

func GetOrigResourceLogsSlice(ms ResourceLogsSlice) *[]*otlplogs.ResourceLogs

func GetOrigResourceMetrics added in v0.59.0

func GetOrigResourceMetrics(ms ResourceMetrics) *otlpmetrics.ResourceMetrics

func GetOrigResourceMetricsSlice added in v0.59.0

func GetOrigResourceMetricsSlice(ms ResourceMetricsSlice) *[]*otlpmetrics.ResourceMetrics

func GetOrigResourceSpans added in v0.59.0

func GetOrigResourceSpans(ms ResourceSpans) *otlptrace.ResourceSpans

func GetOrigResourceSpansSlice added in v0.59.0

func GetOrigResourceSpansSlice(ms ResourceSpansSlice) *[]*otlptrace.ResourceSpans

func GetOrigScopeLogs added in v0.59.0

func GetOrigScopeLogs(ms ScopeLogs) *otlplogs.ScopeLogs

func GetOrigScopeLogsSlice added in v0.59.0

func GetOrigScopeLogsSlice(ms ScopeLogsSlice) *[]*otlplogs.ScopeLogs

func GetOrigScopeMetrics added in v0.59.0

func GetOrigScopeMetrics(ms ScopeMetrics) *otlpmetrics.ScopeMetrics

func GetOrigScopeMetricsSlice added in v0.59.0

func GetOrigScopeMetricsSlice(ms ScopeMetricsSlice) *[]*otlpmetrics.ScopeMetrics

func GetOrigScopeSpans added in v0.59.0

func GetOrigScopeSpans(ms ScopeSpans) *otlptrace.ScopeSpans

func GetOrigScopeSpansSlice added in v0.59.0

func GetOrigScopeSpansSlice(ms ScopeSpansSlice) *[]*otlptrace.ScopeSpans

func GetOrigSlice added in v0.59.0

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

func GetOrigSpan added in v0.59.0

func GetOrigSpan(ms Span) *otlptrace.Span

func GetOrigSpanEvent added in v0.59.0

func GetOrigSpanEvent(ms SpanEvent) *otlptrace.Span_Event

func GetOrigSpanEventSlice added in v0.59.0

func GetOrigSpanEventSlice(ms SpanEventSlice) *[]*otlptrace.Span_Event
func GetOrigSpanLink(ms SpanLink) *otlptrace.Span_Link

func GetOrigSpanLinkSlice added in v0.59.0

func GetOrigSpanLinkSlice(ms SpanLinkSlice) *[]*otlptrace.Span_Link

func GetOrigSpanSlice added in v0.59.0

func GetOrigSpanSlice(ms SpanSlice) *[]*otlptrace.Span

func GetOrigStatus added in v0.62.0

func GetOrigStatus(ms Status) *otlptrace.Status

func GetOrigSum added in v0.59.0

func GetOrigSum(ms Sum) *otlpmetrics.Sum

func GetOrigSummary added in v0.59.0

func GetOrigSummary(ms Summary) *otlpmetrics.Summary

func GetOrigSummaryDataPoint added in v0.59.0

func GetOrigSummaryDataPoint(ms SummaryDataPoint) *otlpmetrics.SummaryDataPoint

func GetOrigSummaryDataPointSlice added in v0.59.0

func GetOrigSummaryDataPointSlice(ms SummaryDataPointSlice) *[]*otlpmetrics.SummaryDataPoint

func GetOrigSummaryDataPointValueAtQuantile added in v0.62.0

func GetOrigSummaryDataPointValueAtQuantile(ms SummaryDataPointValueAtQuantile) *otlpmetrics.SummaryDataPoint_ValueAtQuantile

func GetOrigSummaryDataPointValueAtQuantileSlice added in v0.62.0

func GetOrigSummaryDataPointValueAtQuantileSlice(ms SummaryDataPointValueAtQuantileSlice) *[]*otlpmetrics.SummaryDataPoint_ValueAtQuantile

func GetOrigTraceState added in v0.60.0

func GetOrigTraceState(ms TraceState) *string

func GetOrigTraces added in v0.59.0

func GetOrigTracesExportPartialSuccess added in v0.63.0

func GetOrigTracesExportPartialSuccess(ms TracesExportPartialSuccess) *otlpcollectortrace.ExportTracePartialSuccess

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

func LogsToProto(l Logs) otlplogs.LogsData

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

func NewByteSlice(orig *[]byte) ByteSlice

type Exemplar

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

func GenerateTestExemplar added in v0.59.0

func GenerateTestExemplar() Exemplar

func NewExemplar

func NewExemplar(orig *otlpmetrics.Exemplar) Exemplar

type ExemplarSlice

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

func GenerateTestExemplarSlice added in v0.59.0

func GenerateTestExemplarSlice() ExemplarSlice

func NewExemplarSlice

func NewExemplarSlice(orig *[]otlpmetrics.Exemplar) ExemplarSlice

type ExponentialHistogram

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

func GenerateTestExponentialHistogram added in v0.59.0

func GenerateTestExponentialHistogram() ExponentialHistogram

type ExponentialHistogramDataPoint

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

func GenerateTestExponentialHistogramDataPoint added in v0.59.0

func GenerateTestExponentialHistogramDataPoint() ExponentialHistogramDataPoint

type ExponentialHistogramDataPointBuckets added in v0.62.0

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

func GenerateTestExponentialHistogramDataPointBuckets added in v0.62.0

func GenerateTestExponentialHistogramDataPointBuckets() ExponentialHistogramDataPointBuckets

type ExponentialHistogramDataPointSlice

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

func GenerateTestExponentialHistogramDataPointSlice added in v0.59.0

func GenerateTestExponentialHistogramDataPointSlice() ExponentialHistogramDataPointSlice

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 Gauge

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

func GenerateTestGauge added in v0.59.0

func GenerateTestGauge() Gauge

func NewGauge

func NewGauge(orig *otlpmetrics.Gauge) Gauge

type Histogram

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

func GenerateTestHistogram added in v0.59.0

func GenerateTestHistogram() Histogram

func NewHistogram

func NewHistogram(orig *otlpmetrics.Histogram) Histogram

type HistogramDataPoint

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

func GenerateTestHistogramDataPoint added in v0.59.0

func GenerateTestHistogramDataPoint() HistogramDataPoint

type HistogramDataPointSlice

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

func GenerateTestHistogramDataPointSlice added in v0.59.0

func GenerateTestHistogramDataPointSlice() HistogramDataPointSlice

type InstrumentationScope

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

func GenerateTestInstrumentationScope added in v0.59.0

func GenerateTestInstrumentationScope() InstrumentationScope

type LogRecord

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

func GenerateTestLogRecord added in v0.59.0

func GenerateTestLogRecord() LogRecord

func NewLogRecord

func NewLogRecord(orig *otlplogs.LogRecord) LogRecord

type LogRecordSlice

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

func GenerateTestLogRecordSlice added in v0.59.0

func GenerateTestLogRecordSlice() LogRecordSlice

func NewLogRecordSlice

func NewLogRecordSlice(orig *[]*otlplogs.LogRecord) LogRecordSlice

type Logs

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

func LogsFromProto added in v0.50.0

func LogsFromProto(orig otlplogs.LogsData) Logs

LogsFromProto internal helper to convert protobuf representation to Logs.

type LogsExportPartialSuccess added in v0.63.0

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

func GenerateTestLogsExportPartialSuccess added in v0.63.0

func GenerateTestLogsExportPartialSuccess() LogsExportPartialSuccess

func NewLogsExportPartialSuccess added in v0.63.0

func NewLogsExportPartialSuccess(orig *otlpcollectorlog.ExportLogsPartialSuccess) LogsExportPartialSuccess

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 Metric

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

func GenerateTestMetric added in v0.59.0

func GenerateTestMetric() Metric

func NewMetric

func NewMetric(orig *otlpmetrics.Metric) Metric

type MetricSlice

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

func GenerateTestMetricSlice added in v0.59.0

func GenerateTestMetricSlice() MetricSlice

func NewMetricSlice

func NewMetricSlice(orig *[]*otlpmetrics.Metric) MetricSlice

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.

type MetricsExportPartialSuccess added in v0.63.0

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

func GenerateTestMetricsExportPartialSuccess added in v0.63.0

func GenerateTestMetricsExportPartialSuccess() MetricsExportPartialSuccess

func NewMetricsExportPartialSuccess added in v0.63.0

type NumberDataPoint

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

func GenerateTestNumberDataPoint added in v0.59.0

func GenerateTestNumberDataPoint() NumberDataPoint

func NewNumberDataPoint

func NewNumberDataPoint(orig *otlpmetrics.NumberDataPoint) NumberDataPoint

type NumberDataPointSlice

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

func GenerateTestNumberDataPointSlice added in v0.59.0

func GenerateTestNumberDataPointSlice() NumberDataPointSlice

func NewNumberDataPointSlice

func NewNumberDataPointSlice(orig *[]*otlpmetrics.NumberDataPoint) NumberDataPointSlice

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 ResourceLogs

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

func GenerateTestResourceLogs added in v0.59.0

func GenerateTestResourceLogs() ResourceLogs

func NewResourceLogs

func NewResourceLogs(orig *otlplogs.ResourceLogs) ResourceLogs

type ResourceLogsSlice

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

func GenerateTestResourceLogsSlice added in v0.59.0

func GenerateTestResourceLogsSlice() ResourceLogsSlice

func NewResourceLogsSlice

func NewResourceLogsSlice(orig *[]*otlplogs.ResourceLogs) ResourceLogsSlice

type ResourceMetrics

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

func GenerateTestResourceMetrics added in v0.59.0

func GenerateTestResourceMetrics() ResourceMetrics

func NewResourceMetrics

func NewResourceMetrics(orig *otlpmetrics.ResourceMetrics) ResourceMetrics

type ResourceMetricsSlice

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

func GenerateTestResourceMetricsSlice added in v0.59.0

func GenerateTestResourceMetricsSlice() ResourceMetricsSlice

func NewResourceMetricsSlice

func NewResourceMetricsSlice(orig *[]*otlpmetrics.ResourceMetrics) ResourceMetricsSlice

type ResourceSpans

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

func GenerateTestResourceSpans added in v0.59.0

func GenerateTestResourceSpans() ResourceSpans

func NewResourceSpans

func NewResourceSpans(orig *otlptrace.ResourceSpans) ResourceSpans

type ResourceSpansSlice

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

func GenerateTestResourceSpansSlice added in v0.59.0

func GenerateTestResourceSpansSlice() ResourceSpansSlice

func NewResourceSpansSlice

func NewResourceSpansSlice(orig *[]*otlptrace.ResourceSpans) ResourceSpansSlice

type ScopeLogs

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

func GenerateTestScopeLogs added in v0.59.0

func GenerateTestScopeLogs() ScopeLogs

func NewScopeLogs

func NewScopeLogs(orig *otlplogs.ScopeLogs) ScopeLogs

type ScopeLogsSlice

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

func GenerateTestScopeLogsSlice added in v0.59.0

func GenerateTestScopeLogsSlice() ScopeLogsSlice

func NewScopeLogsSlice

func NewScopeLogsSlice(orig *[]*otlplogs.ScopeLogs) ScopeLogsSlice

type ScopeMetrics

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

func GenerateTestScopeMetrics added in v0.59.0

func GenerateTestScopeMetrics() ScopeMetrics

func NewScopeMetrics

func NewScopeMetrics(orig *otlpmetrics.ScopeMetrics) ScopeMetrics

type ScopeMetricsSlice

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

func GenerateTestScopeMetricsSlice added in v0.59.0

func GenerateTestScopeMetricsSlice() ScopeMetricsSlice

func NewScopeMetricsSlice

func NewScopeMetricsSlice(orig *[]*otlpmetrics.ScopeMetrics) ScopeMetricsSlice

type ScopeSpans

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

func GenerateTestScopeSpans added in v0.59.0

func GenerateTestScopeSpans() ScopeSpans

func NewScopeSpans

func NewScopeSpans(orig *otlptrace.ScopeSpans) ScopeSpans

type ScopeSpansSlice

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

func GenerateTestScopeSpansSlice added in v0.59.0

func GenerateTestScopeSpansSlice() ScopeSpansSlice

func NewScopeSpansSlice

func NewScopeSpansSlice(orig *[]*otlptrace.ScopeSpans) ScopeSpansSlice

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 Span

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

func GenerateTestSpan added in v0.59.0

func GenerateTestSpan() Span

func NewSpan

func NewSpan(orig *otlptrace.Span) Span

type SpanEvent

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

func GenerateTestSpanEvent added in v0.59.0

func GenerateTestSpanEvent() SpanEvent

func NewSpanEvent

func NewSpanEvent(orig *otlptrace.Span_Event) SpanEvent

type SpanEventSlice

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

func GenerateTestSpanEventSlice added in v0.59.0

func GenerateTestSpanEventSlice() SpanEventSlice

func NewSpanEventSlice

func NewSpanEventSlice(orig *[]*otlptrace.Span_Event) SpanEventSlice
type SpanLink struct {
	// contains filtered or unexported fields
}
func GenerateTestSpanLink() SpanLink
func NewSpanLink(orig *otlptrace.Span_Link) SpanLink

type SpanLinkSlice

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

func GenerateTestSpanLinkSlice added in v0.59.0

func GenerateTestSpanLinkSlice() SpanLinkSlice

func NewSpanLinkSlice

func NewSpanLinkSlice(orig *[]*otlptrace.Span_Link) SpanLinkSlice

type SpanSlice

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

func GenerateTestSpanSlice added in v0.59.0

func GenerateTestSpanSlice() SpanSlice

func NewSpanSlice

func NewSpanSlice(orig *[]*otlptrace.Span) SpanSlice

type Status added in v0.62.0

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

func GenerateTestStatus added in v0.62.0

func GenerateTestStatus() Status

func NewStatus added in v0.62.0

func NewStatus(orig *otlptrace.Status) Status

type Sum

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

func GenerateTestSum added in v0.59.0

func GenerateTestSum() Sum

func NewSum

func NewSum(orig *otlpmetrics.Sum) Sum

type Summary

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

func GenerateTestSummary added in v0.59.0

func GenerateTestSummary() Summary

func NewSummary

func NewSummary(orig *otlpmetrics.Summary) Summary

type SummaryDataPoint

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

func GenerateTestSummaryDataPoint added in v0.59.0

func GenerateTestSummaryDataPoint() SummaryDataPoint

func NewSummaryDataPoint

func NewSummaryDataPoint(orig *otlpmetrics.SummaryDataPoint) SummaryDataPoint

type SummaryDataPointSlice

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

func GenerateTestSummaryDataPointSlice added in v0.59.0

func GenerateTestSummaryDataPointSlice() SummaryDataPointSlice

func NewSummaryDataPointSlice

func NewSummaryDataPointSlice(orig *[]*otlpmetrics.SummaryDataPoint) SummaryDataPointSlice

type SummaryDataPointValueAtQuantile added in v0.62.0

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

func GenerateTestSummaryDataPointValueAtQuantile added in v0.62.0

func GenerateTestSummaryDataPointValueAtQuantile() SummaryDataPointValueAtQuantile

func NewSummaryDataPointValueAtQuantile added in v0.62.0

func NewSummaryDataPointValueAtQuantile(orig *otlpmetrics.SummaryDataPoint_ValueAtQuantile) SummaryDataPointValueAtQuantile

type SummaryDataPointValueAtQuantileSlice added in v0.62.0

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

func GenerateTestSummaryDataPointValueAtQuantileSlice added in v0.62.0

func GenerateTestSummaryDataPointValueAtQuantileSlice() SummaryDataPointValueAtQuantileSlice

func NewSummaryDataPointValueAtQuantileSlice added in v0.62.0

func NewSummaryDataPointValueAtQuantileSlice(orig *[]*otlpmetrics.SummaryDataPoint_ValueAtQuantile) SummaryDataPointValueAtQuantileSlice

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 TracesFromProto added in v0.50.0

func TracesFromProto(orig otlptrace.TracesData) Traces

TracesFromProto internal helper to convert protobuf representation to Traces.

type TracesExportPartialSuccess added in v0.63.0

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

func GenerateTestTracesExportPartialSuccess added in v0.63.0

func GenerateTestTracesExportPartialSuccess() TracesExportPartialSuccess

func NewTracesExportPartialSuccess added in v0.63.0

func NewTracesExportPartialSuccess(orig *otlpcollectortrace.ExportTracePartialSuccess) TracesExportPartialSuccess

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

Jump to

Keyboard shortcuts

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