internal

package
v1.62.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	AggregationTemporality_AGGREGATION_TEMPORALITY_UNSPECIFIED = AggregationTemporality(0)
	AggregationTemporality_AGGREGATION_TEMPORALITY_DELTA       = AggregationTemporality(1)
	AggregationTemporality_AGGREGATION_TEMPORALITY_CUMULATIVE  = AggregationTemporality(2)
)
View Source
const (
	SeverityNumber_SEVERITY_NUMBER_UNSPECIFIED = SeverityNumber(0)
	SeverityNumber_SEVERITY_NUMBER_TRACE       = SeverityNumber(1)
	SeverityNumber_SEVERITY_NUMBER_TRACE2      = SeverityNumber(2)
	SeverityNumber_SEVERITY_NUMBER_TRACE3      = SeverityNumber(3)
	SeverityNumber_SEVERITY_NUMBER_TRACE4      = SeverityNumber(4)
	SeverityNumber_SEVERITY_NUMBER_DEBUG       = SeverityNumber(5)
	SeverityNumber_SEVERITY_NUMBER_DEBUG2      = SeverityNumber(6)
	SeverityNumber_SEVERITY_NUMBER_DEBUG3      = SeverityNumber(7)
	SeverityNumber_SEVERITY_NUMBER_DEBUG4      = SeverityNumber(8)
	SeverityNumber_SEVERITY_NUMBER_INFO        = SeverityNumber(9)
	SeverityNumber_SEVERITY_NUMBER_INFO2       = SeverityNumber(10)
	SeverityNumber_SEVERITY_NUMBER_INFO3       = SeverityNumber(11)
	SeverityNumber_SEVERITY_NUMBER_INFO4       = SeverityNumber(12)
	SeverityNumber_SEVERITY_NUMBER_WARN        = SeverityNumber(13)
	SeverityNumber_SEVERITY_NUMBER_WARN2       = SeverityNumber(14)
	SeverityNumber_SEVERITY_NUMBER_WARN3       = SeverityNumber(15)
	SeverityNumber_SEVERITY_NUMBER_WARN4       = SeverityNumber(16)
	SeverityNumber_SEVERITY_NUMBER_ERROR       = SeverityNumber(17)
	SeverityNumber_SEVERITY_NUMBER_ERROR2      = SeverityNumber(18)
	SeverityNumber_SEVERITY_NUMBER_ERROR3      = SeverityNumber(19)
	SeverityNumber_SEVERITY_NUMBER_ERROR4      = SeverityNumber(20)
	SeverityNumber_SEVERITY_NUMBER_FATAL       = SeverityNumber(21)
	SeverityNumber_SEVERITY_NUMBER_FATAL2      = SeverityNumber(22)
	SeverityNumber_SEVERITY_NUMBER_FATAL3      = SeverityNumber(23)
	SeverityNumber_SEVERITY_NUMBER_FATAL4      = SeverityNumber(24)
)
View Source
const (
	SpanKind_SPAN_KIND_UNSPECIFIED = SpanKind(0)
	SpanKind_SPAN_KIND_INTERNAL    = SpanKind(1)
	SpanKind_SPAN_KIND_SERVER      = SpanKind(2)
	SpanKind_SPAN_KIND_CLIENT      = SpanKind(3)
	SpanKind_SPAN_KIND_PRODUCER    = SpanKind(4)
	SpanKind_SPAN_KIND_CONSUMER    = SpanKind(5)
)
View Source
const (
	StatusCode_STATUS_CODE_UNSET = StatusCode(0)
	StatusCode_STATUS_CODE_OK    = StatusCode(1)
	StatusCode_STATUS_CODE_ERROR = StatusCode(2)
)

Variables

View Source
var (
	ProtoPoolAnyValue_StringValue = sync.Pool{
		New: func() any {
			return &AnyValue_StringValue{}
		},
	}

	ProtoPoolAnyValue_BoolValue = sync.Pool{
		New: func() any {
			return &AnyValue_BoolValue{}
		},
	}

	ProtoPoolAnyValue_IntValue = sync.Pool{
		New: func() any {
			return &AnyValue_IntValue{}
		},
	}

	ProtoPoolAnyValue_DoubleValue = sync.Pool{
		New: func() any {
			return &AnyValue_DoubleValue{}
		},
	}

	ProtoPoolAnyValue_ArrayValue = sync.Pool{
		New: func() any {
			return &AnyValue_ArrayValue{}
		},
	}

	ProtoPoolAnyValue_KvlistValue = sync.Pool{
		New: func() any {
			return &AnyValue_KvlistValue{}
		},
	}

	ProtoPoolAnyValue_BytesValue = sync.Pool{
		New: func() any {
			return &AnyValue_BytesValue{}
		},
	}

	ProtoPoolAnyValue_StringValueStrindex = sync.Pool{
		New: func() any {
			return &AnyValue_StringValueStrindex{}
		},
	}
)
View Source
var (
	ProtoPoolExemplar_AsDouble = sync.Pool{
		New: func() any {
			return &Exemplar_AsDouble{}
		},
	}

	ProtoPoolExemplar_AsInt = sync.Pool{
		New: func() any {
			return &Exemplar_AsInt{}
		},
	}
)
View Source
var (
	ProtoPoolMetric_Gauge = sync.Pool{
		New: func() any {
			return &Metric_Gauge{}
		},
	}

	ProtoPoolMetric_Sum = sync.Pool{
		New: func() any {
			return &Metric_Sum{}
		},
	}

	ProtoPoolMetric_Histogram = sync.Pool{
		New: func() any {
			return &Metric_Histogram{}
		},
	}

	ProtoPoolMetric_ExponentialHistogram = sync.Pool{
		New: func() any {
			return &Metric_ExponentialHistogram{}
		},
	}

	ProtoPoolMetric_Summary = sync.Pool{
		New: func() any {
			return &Metric_Summary{}
		},
	}
)
View Source
var (
	ProtoPoolNumberDataPoint_AsDouble = sync.Pool{
		New: func() any {
			return &NumberDataPoint_AsDouble{}
		},
	}

	ProtoPoolNumberDataPoint_AsInt = sync.Pool{
		New: func() any {
			return &NumberDataPoint_AsInt{}
		},
	}
)
View Source
var (
	ProtoPoolRequestContext_IP = sync.Pool{
		New: func() any {
			return &RequestContext_IP{}
		},
	}

	ProtoPoolRequestContext_TCP = sync.Pool{
		New: func() any {
			return &RequestContext_TCP{}
		},
	}

	ProtoPoolRequestContext_UDP = sync.Pool{
		New: func() any {
			return &RequestContext_UDP{}
		},
	}

	ProtoPoolRequestContext_Unix = sync.Pool{
		New: func() any {
			return &RequestContext_Unix{}
		},
	}
)
View Source
var AggregationTemporality_name = map[int32]string{
	0: "AGGREGATION_TEMPORALITY_UNSPECIFIED",
	1: "AGGREGATION_TEMPORALITY_DELTA",
	2: "AGGREGATION_TEMPORALITY_CUMULATIVE",
}
View Source
var AggregationTemporality_value = map[string]int32{
	"AGGREGATION_TEMPORALITY_UNSPECIFIED": 0,
	"AGGREGATION_TEMPORALITY_DELTA":       1,
	"AGGREGATION_TEMPORALITY_CUMULATIVE":  2,
}
View Source
var SeverityNumber_name = map[int32]string{
	0:  "SEVERITY_NUMBER_UNSPECIFIED",
	1:  "SEVERITY_NUMBER_TRACE ",
	2:  "SEVERITY_NUMBER_TRACE2",
	3:  "SEVERITY_NUMBER_TRACE3",
	4:  "SEVERITY_NUMBER_TRACE4",
	5:  "SEVERITY_NUMBER_DEBUG",
	6:  "SEVERITY_NUMBER_DEBUG2",
	7:  "SEVERITY_NUMBER_DEBUG3",
	8:  "SEVERITY_NUMBER_DEBUG4",
	9:  "SEVERITY_NUMBER_INFO",
	10: "SEVERITY_NUMBER_INFO2",
	11: "SEVERITY_NUMBER_INFO3",
	12: "SEVERITY_NUMBER_INFO4",
	13: "SEVERITY_NUMBER_WARN",
	14: "SEVERITY_NUMBER_WARN2",
	15: "SEVERITY_NUMBER_WARN3",
	16: "SEVERITY_NUMBER_WARN4",
	17: "SEVERITY_NUMBER_ERROR",
	18: "SEVERITY_NUMBER_ERROR2",
	19: "SEVERITY_NUMBER_ERROR3",
	20: "SEVERITY_NUMBER_ERROR4",
	21: "SEVERITY_NUMBER_FATAL",
	22: "SEVERITY_NUMBER_FATAL2",
	23: "SEVERITY_NUMBER_FATAL3",
	24: "SEVERITY_NUMBER_FATAL4",
}
View Source
var SeverityNumber_value = map[string]int32{
	"SEVERITY_NUMBER_UNSPECIFIED": 0,
	"SEVERITY_NUMBER_TRACE ":      1,
	"SEVERITY_NUMBER_TRACE2":      2,
	"SEVERITY_NUMBER_TRACE3":      3,
	"SEVERITY_NUMBER_TRACE4":      4,
	"SEVERITY_NUMBER_DEBUG":       5,
	"SEVERITY_NUMBER_DEBUG2":      6,
	"SEVERITY_NUMBER_DEBUG3":      7,
	"SEVERITY_NUMBER_DEBUG4":      8,
	"SEVERITY_NUMBER_INFO":        9,
	"SEVERITY_NUMBER_INFO2":       10,
	"SEVERITY_NUMBER_INFO3":       11,
	"SEVERITY_NUMBER_INFO4":       12,
	"SEVERITY_NUMBER_WARN":        13,
	"SEVERITY_NUMBER_WARN2":       14,
	"SEVERITY_NUMBER_WARN3":       15,
	"SEVERITY_NUMBER_WARN4":       16,
	"SEVERITY_NUMBER_ERROR":       17,
	"SEVERITY_NUMBER_ERROR2":      18,
	"SEVERITY_NUMBER_ERROR3":      19,
	"SEVERITY_NUMBER_ERROR4":      20,
	"SEVERITY_NUMBER_FATAL":       21,
	"SEVERITY_NUMBER_FATAL2":      22,
	"SEVERITY_NUMBER_FATAL3":      23,
	"SEVERITY_NUMBER_FATAL4":      24,
}
View Source
var SpanKind_name = map[int32]string{
	0: "SPAN_KIND_UNSPECIFIED",
	1: "SPAN_KIND_INTERNAL",
	2: "SPAN_KIND_SERVER",
	3: "SPAN_KIND_CLIENT",
	4: "SPAN_KIND_PRODUCER",
	5: "SPAN_KIND_CONSUMER",
}
View Source
var SpanKind_value = map[string]int32{
	"SPAN_KIND_UNSPECIFIED": 0,
	"SPAN_KIND_INTERNAL":    1,
	"SPAN_KIND_SERVER":      2,
	"SPAN_KIND_CLIENT":      3,
	"SPAN_KIND_PRODUCER":    4,
	"SPAN_KIND_CONSUMER":    5,
}
View Source
var StatusCode_name = map[int32]string{
	0: "STATUS_CODE_UNSET",
	1: "STATUS_CODE_OK",
	2: "STATUS_CODE_ERROR",
}
View Source
var StatusCode_value = map[string]int32{
	"STATUS_CODE_UNSET": 0,
	"STATUS_CODE_OK":    1,
	"STATUS_CODE_ERROR": 2,
}

Functions

func CopyProfileID added in v1.45.0

func CopyProfileID(dest, src *ProfileID)

func CopySpanID added in v1.45.0

func CopySpanID(dest, src *SpanID)

func CopyTraceID added in v1.45.0

func CopyTraceID(dest, src *TraceID)

func DeleteAnyValue added in v1.45.0

func DeleteAnyValue(orig *AnyValue, nullable bool)

func DeleteArrayValue added in v1.45.0

func DeleteArrayValue(orig *ArrayValue, nullable bool)

func DeleteEntityRef added in v1.45.0

func DeleteEntityRef(orig *EntityRef, nullable bool)

func DeleteExemplar added in v1.45.0

func DeleteExemplar(orig *Exemplar, nullable bool)

func DeleteExponentialHistogram added in v1.45.0

func DeleteExponentialHistogram(orig *ExponentialHistogram, nullable bool)

func DeleteExponentialHistogramDataPoint added in v1.45.0

func DeleteExponentialHistogramDataPoint(orig *ExponentialHistogramDataPoint, nullable bool)

func DeleteExponentialHistogramDataPointBuckets added in v1.45.0

func DeleteExponentialHistogramDataPointBuckets(orig *ExponentialHistogramDataPointBuckets, nullable bool)

func DeleteExportLogsPartialSuccess added in v1.45.0

func DeleteExportLogsPartialSuccess(orig *ExportLogsPartialSuccess, nullable bool)

func DeleteExportLogsServiceRequest added in v1.45.0

func DeleteExportLogsServiceRequest(orig *ExportLogsServiceRequest, nullable bool)

func DeleteExportLogsServiceResponse added in v1.45.0

func DeleteExportLogsServiceResponse(orig *ExportLogsServiceResponse, nullable bool)

func DeleteExportMetricsPartialSuccess added in v1.45.0

func DeleteExportMetricsPartialSuccess(orig *ExportMetricsPartialSuccess, nullable bool)

func DeleteExportMetricsServiceRequest added in v1.45.0

func DeleteExportMetricsServiceRequest(orig *ExportMetricsServiceRequest, nullable bool)

func DeleteExportMetricsServiceResponse added in v1.45.0

func DeleteExportMetricsServiceResponse(orig *ExportMetricsServiceResponse, nullable bool)

func DeleteExportProfilesPartialSuccess added in v1.45.0

func DeleteExportProfilesPartialSuccess(orig *ExportProfilesPartialSuccess, nullable bool)

func DeleteExportProfilesServiceRequest added in v1.45.0

func DeleteExportProfilesServiceRequest(orig *ExportProfilesServiceRequest, nullable bool)

func DeleteExportProfilesServiceResponse added in v1.45.0

func DeleteExportProfilesServiceResponse(orig *ExportProfilesServiceResponse, nullable bool)

func DeleteExportTracePartialSuccess added in v1.45.0

func DeleteExportTracePartialSuccess(orig *ExportTracePartialSuccess, nullable bool)

func DeleteExportTraceServiceRequest added in v1.45.0

func DeleteExportTraceServiceRequest(orig *ExportTraceServiceRequest, nullable bool)

func DeleteExportTraceServiceResponse added in v1.45.0

func DeleteExportTraceServiceResponse(orig *ExportTraceServiceResponse, nullable bool)

func DeleteFunction added in v1.45.0

func DeleteFunction(orig *Function, nullable bool)

func DeleteGauge added in v1.45.0

func DeleteGauge(orig *Gauge, nullable bool)

func DeleteHistogram added in v1.45.0

func DeleteHistogram(orig *Histogram, nullable bool)

func DeleteHistogramDataPoint added in v1.45.0

func DeleteHistogramDataPoint(orig *HistogramDataPoint, nullable bool)

func DeleteIPAddr added in v1.45.0

func DeleteIPAddr(orig *IPAddr, nullable bool)

func DeleteInstrumentationScope added in v1.45.0

func DeleteInstrumentationScope(orig *InstrumentationScope, nullable bool)

func DeleteKeyValue added in v1.45.0

func DeleteKeyValue(orig *KeyValue, nullable bool)

func DeleteKeyValueAndUnit added in v1.45.0

func DeleteKeyValueAndUnit(orig *KeyValueAndUnit, nullable bool)

func DeleteKeyValueList added in v1.45.0

func DeleteKeyValueList(orig *KeyValueList, nullable bool)

func DeleteLine added in v1.45.0

func DeleteLine(orig *Line, nullable bool)
func DeleteLink(orig *Link, nullable bool)

func DeleteLocation added in v1.45.0

func DeleteLocation(orig *Location, nullable bool)

func DeleteLogRecord added in v1.45.0

func DeleteLogRecord(orig *LogRecord, nullable bool)

func DeleteLogsData added in v1.45.0

func DeleteLogsData(orig *LogsData, nullable bool)

func DeleteLogsRequest added in v1.45.0

func DeleteLogsRequest(orig *LogsRequest, nullable bool)

func DeleteMapping added in v1.45.0

func DeleteMapping(orig *Mapping, nullable bool)

func DeleteMetric added in v1.45.0

func DeleteMetric(orig *Metric, nullable bool)

func DeleteMetricsData added in v1.45.0

func DeleteMetricsData(orig *MetricsData, nullable bool)

func DeleteMetricsRequest added in v1.45.0

func DeleteMetricsRequest(orig *MetricsRequest, nullable bool)

func DeleteNumberDataPoint added in v1.45.0

func DeleteNumberDataPoint(orig *NumberDataPoint, nullable bool)

func DeleteProfile added in v1.45.0

func DeleteProfile(orig *Profile, nullable bool)

func DeleteProfileID added in v1.45.0

func DeleteProfileID(*ProfileID, bool)

func DeleteProfilesData added in v1.45.0

func DeleteProfilesData(orig *ProfilesData, nullable bool)

func DeleteProfilesDictionary added in v1.45.0

func DeleteProfilesDictionary(orig *ProfilesDictionary, nullable bool)

func DeleteProfilesRequest added in v1.45.0

func DeleteProfilesRequest(orig *ProfilesRequest, nullable bool)

func DeleteRequestContext added in v1.45.0

func DeleteRequestContext(orig *RequestContext, nullable bool)

func DeleteResource added in v1.45.0

func DeleteResource(orig *Resource, nullable bool)

func DeleteResourceLogs added in v1.45.0

func DeleteResourceLogs(orig *ResourceLogs, nullable bool)

func DeleteResourceMetrics added in v1.45.0

func DeleteResourceMetrics(orig *ResourceMetrics, nullable bool)

func DeleteResourceProfiles added in v1.45.0

func DeleteResourceProfiles(orig *ResourceProfiles, nullable bool)

func DeleteResourceSpans added in v1.45.0

func DeleteResourceSpans(orig *ResourceSpans, nullable bool)

func DeleteSample added in v1.45.0

func DeleteSample(orig *Sample, nullable bool)

func DeleteScopeLogs added in v1.45.0

func DeleteScopeLogs(orig *ScopeLogs, nullable bool)

func DeleteScopeMetrics added in v1.45.0

func DeleteScopeMetrics(orig *ScopeMetrics, nullable bool)

func DeleteScopeProfiles added in v1.45.0

func DeleteScopeProfiles(orig *ScopeProfiles, nullable bool)

func DeleteScopeSpans added in v1.45.0

func DeleteScopeSpans(orig *ScopeSpans, nullable bool)

func DeleteSpan added in v1.45.0

func DeleteSpan(orig *Span, nullable bool)

func DeleteSpanContext added in v1.45.0

func DeleteSpanContext(orig *SpanContext, nullable bool)

func DeleteSpanEvent added in v1.45.0

func DeleteSpanEvent(orig *SpanEvent, nullable bool)

func DeleteSpanID added in v1.45.0

func DeleteSpanID(*SpanID, bool)
func DeleteSpanLink(orig *SpanLink, nullable bool)

func DeleteStack added in v1.45.0

func DeleteStack(orig *Stack, nullable bool)

func DeleteStatus added in v1.45.0

func DeleteStatus(orig *Status, nullable bool)

func DeleteSum added in v1.45.0

func DeleteSum(orig *Sum, nullable bool)

func DeleteSummary added in v1.45.0

func DeleteSummary(orig *Summary, nullable bool)

func DeleteSummaryDataPoint added in v1.45.0

func DeleteSummaryDataPoint(orig *SummaryDataPoint, nullable bool)

func DeleteSummaryDataPointValueAtQuantile added in v1.45.0

func DeleteSummaryDataPointValueAtQuantile(orig *SummaryDataPointValueAtQuantile, nullable bool)

func DeleteTCPAddr added in v1.45.0

func DeleteTCPAddr(orig *TCPAddr, nullable bool)

func DeleteTraceID added in v1.45.0

func DeleteTraceID(*TraceID, bool)

func DeleteTracesData added in v1.45.0

func DeleteTracesData(orig *TracesData, nullable bool)

func DeleteTracesRequest added in v1.45.0

func DeleteTracesRequest(orig *TracesRequest, nullable bool)

func DeleteUDPAddr added in v1.45.0

func DeleteUDPAddr(orig *UDPAddr, nullable bool)

func DeleteUnixAddr added in v1.45.0

func DeleteUnixAddr(orig *UnixAddr, nullable bool)

func DeleteValueType added in v1.45.0

func DeleteValueType(orig *ValueType, nullable bool)

func GenTestByteSlice added in v1.45.0

func GenTestByteSlice() []byte

func GenTestFloat64Slice added in v1.45.0

func GenTestFloat64Slice() []float64

func GenTestInt32Slice added in v1.45.0

func GenTestInt32Slice() []int32

func GenTestInt64Slice added in v1.45.0

func GenTestInt64Slice() []int64

func GenTestStringSlice added in v1.45.0

func GenTestStringSlice() []string

func GenTestTraceState added in v1.45.0

func GenTestTraceState() *string

func GenTestUint64Slice added in v1.45.0

func GenTestUint64Slice() []uint64

func GetByteSliceOrig added in v1.45.0

func GetByteSliceOrig(ms ByteSliceWrapper) *[]byte

func GetEntityRefSliceOrig added in v1.45.0

func GetEntityRefSliceOrig(ms EntityRefSliceWrapper) *[]*EntityRef

func GetFloat64SliceOrig added in v1.45.0

func GetFloat64SliceOrig(ms Float64SliceWrapper) *[]float64

func GetInt32SliceOrig added in v1.45.0

func GetInt32SliceOrig(ms Int32SliceWrapper) *[]int32

func GetInt64SliceOrig added in v1.45.0

func GetInt64SliceOrig(ms Int64SliceWrapper) *[]int64

func GetMapOrig added in v1.45.0

func GetMapOrig(ms MapWrapper) *[]KeyValue

func GetSliceOrig added in v1.45.0

func GetSliceOrig(ms SliceWrapper) *[]AnyValue

func GetStringSliceOrig added in v1.45.0

func GetStringSliceOrig(ms StringSliceWrapper) *[]string

func GetTraceStateOrig added in v1.45.0

func GetTraceStateOrig(ms TraceStateWrapper) *string

func GetUInt64SliceOrig added in v1.45.0

func GetUInt64SliceOrig(ms UInt64SliceWrapper) *[]uint64

Types

type AggregationTemporality added in v1.45.0

type AggregationTemporality int32

AggregationTemporality defines how a metric aggregator reports aggregated values. It describes how those values relate to the time interval over which they are aggregated.

type AnyValue added in v1.45.0

type AnyValue struct {
	Value any
}

func CopyAnyValue added in v1.45.0

func CopyAnyValue(dest, src *AnyValue) *AnyValue

func CopyAnyValuePtrSlice added in v1.45.0

func CopyAnyValuePtrSlice(dest, src []*AnyValue) []*AnyValue

func CopyAnyValueSlice added in v1.45.0

func CopyAnyValueSlice(dest, src []AnyValue) []AnyValue

func GenTestAnyValue added in v1.45.0

func GenTestAnyValue() *AnyValue

func GenTestAnyValuePtrSlice added in v1.45.0

func GenTestAnyValuePtrSlice() []*AnyValue

func GenTestAnyValueSlice added in v1.45.0

func GenTestAnyValueSlice() []AnyValue

func GetValueOrig added in v1.45.0

func GetValueOrig(ms ValueWrapper) *AnyValue

func NewAnyValue added in v1.45.0

func NewAnyValue() *AnyValue

func (*AnyValue) GetArrayValue added in v1.45.0

func (m *AnyValue) GetArrayValue() *ArrayValue

func (*AnyValue) GetBoolValue added in v1.45.0

func (m *AnyValue) GetBoolValue() bool

func (*AnyValue) GetBytesValue added in v1.45.0

func (m *AnyValue) GetBytesValue() []byte

func (*AnyValue) GetDoubleValue added in v1.45.0

func (m *AnyValue) GetDoubleValue() float64

func (*AnyValue) GetIntValue added in v1.45.0

func (m *AnyValue) GetIntValue() int64

func (*AnyValue) GetKvlistValue added in v1.45.0

func (m *AnyValue) GetKvlistValue() *KeyValueList

func (*AnyValue) GetStringValue added in v1.45.0

func (m *AnyValue) GetStringValue() string

func (*AnyValue) GetStringValueStrindex added in v1.54.0

func (m *AnyValue) GetStringValueStrindex() int32

func (*AnyValue) GetValue added in v1.45.0

func (m *AnyValue) GetValue() any

func (*AnyValue) MarshalJSON added in v1.45.0

func (orig *AnyValue) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*AnyValue) MarshalProto added in v1.45.0

func (orig *AnyValue) MarshalProto(buf []byte) int

func (*AnyValue) Reset added in v1.45.0

func (orig *AnyValue) Reset()

func (*AnyValue) SizeProto added in v1.45.0

func (orig *AnyValue) SizeProto() int

func (*AnyValue) UnmarshalJSON added in v1.45.0

func (orig *AnyValue) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*AnyValue) UnmarshalProto added in v1.45.0

func (orig *AnyValue) UnmarshalProto(buf []byte) error

type AnyValue_ArrayValue added in v1.45.0

type AnyValue_ArrayValue struct {
	ArrayValue *ArrayValue
}

func NewAnyValueArrayValue added in v1.45.0

func NewAnyValueArrayValue() *AnyValue_ArrayValue

type AnyValue_BoolValue added in v1.45.0

type AnyValue_BoolValue struct {
	BoolValue bool
}

func NewAnyValueBoolValue added in v1.45.0

func NewAnyValueBoolValue() *AnyValue_BoolValue

type AnyValue_BytesValue added in v1.45.0

type AnyValue_BytesValue struct {
	BytesValue []byte
}

func NewAnyValueBytesValue added in v1.45.0

func NewAnyValueBytesValue() *AnyValue_BytesValue

type AnyValue_DoubleValue added in v1.45.0

type AnyValue_DoubleValue struct {
	DoubleValue float64
}

func NewAnyValueDoubleValue added in v1.45.0

func NewAnyValueDoubleValue() *AnyValue_DoubleValue

type AnyValue_IntValue added in v1.45.0

type AnyValue_IntValue struct {
	IntValue int64
}

func NewAnyValueIntValue added in v1.45.0

func NewAnyValueIntValue() *AnyValue_IntValue

type AnyValue_KvlistValue added in v1.45.0

type AnyValue_KvlistValue struct {
	KvlistValue *KeyValueList
}

func NewAnyValueKvlistValue added in v1.45.0

func NewAnyValueKvlistValue() *AnyValue_KvlistValue

type AnyValue_StringValue added in v1.45.0

type AnyValue_StringValue struct {
	StringValue string
}

func NewAnyValueStringValue added in v1.45.0

func NewAnyValueStringValue() *AnyValue_StringValue

type AnyValue_StringValueStrindex added in v1.54.0

type AnyValue_StringValueStrindex struct {
	StringValueStrindex int32
}

type ArrayValue added in v1.45.0

type ArrayValue struct {
	Values []AnyValue
}

ArrayValue is a list of AnyValue messages. We need ArrayValue as a message since oneof in AnyValue does not allow repeated fields.

func CopyArrayValue added in v1.45.0

func CopyArrayValue(dest, src *ArrayValue) *ArrayValue

func CopyArrayValuePtrSlice added in v1.45.0

func CopyArrayValuePtrSlice(dest, src []*ArrayValue) []*ArrayValue

func CopyArrayValueSlice added in v1.45.0

func CopyArrayValueSlice(dest, src []ArrayValue) []ArrayValue

func GenTestArrayValue added in v1.45.0

func GenTestArrayValue() *ArrayValue

func GenTestArrayValuePtrSlice added in v1.45.0

func GenTestArrayValuePtrSlice() []*ArrayValue

func GenTestArrayValueSlice added in v1.45.0

func GenTestArrayValueSlice() []ArrayValue

func NewArrayValue added in v1.45.0

func NewArrayValue() *ArrayValue

func (*ArrayValue) MarshalJSON added in v1.45.0

func (orig *ArrayValue) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*ArrayValue) MarshalProto added in v1.45.0

func (orig *ArrayValue) MarshalProto(buf []byte) int

func (*ArrayValue) Reset added in v1.45.0

func (orig *ArrayValue) Reset()

func (*ArrayValue) SizeProto added in v1.45.0

func (orig *ArrayValue) SizeProto() int

func (*ArrayValue) UnmarshalJSON added in v1.45.0

func (orig *ArrayValue) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*ArrayValue) UnmarshalProto added in v1.45.0

func (orig *ArrayValue) UnmarshalProto(buf []byte) error

type ByteSliceWrapper added in v1.45.0

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

func GenTestByteSliceWrapper added in v1.45.0

func GenTestByteSliceWrapper() ByteSliceWrapper

func NewByteSliceWrapper added in v1.45.0

func NewByteSliceWrapper(orig *[]byte, state *State) ByteSliceWrapper

type EntityRef added in v1.36.0

type EntityRef struct {
	SchemaUrl       string
	Type            string
	IdKeys          []string
	DescriptionKeys []string
}

func CopyEntityRef added in v1.45.0

func CopyEntityRef(dest, src *EntityRef) *EntityRef

func CopyEntityRefPtrSlice added in v1.45.0

func CopyEntityRefPtrSlice(dest, src []*EntityRef) []*EntityRef

func CopyEntityRefSlice added in v1.45.0

func CopyEntityRefSlice(dest, src []EntityRef) []EntityRef

func GenTestEntityRef added in v1.45.0

func GenTestEntityRef() *EntityRef

func GenTestEntityRefPtrSlice added in v1.45.0

func GenTestEntityRefPtrSlice() []*EntityRef

func GenTestEntityRefSlice added in v1.45.0

func GenTestEntityRefSlice() []EntityRef

func GetEntityRefOrig added in v1.45.0

func GetEntityRefOrig(ms EntityRefWrapper) *EntityRef

func NewEntityRef added in v1.36.0

func NewEntityRef() *EntityRef

func (*EntityRef) MarshalJSON added in v1.45.0

func (orig *EntityRef) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*EntityRef) MarshalProto added in v1.45.0

func (orig *EntityRef) MarshalProto(buf []byte) int

func (*EntityRef) Reset added in v1.45.0

func (orig *EntityRef) Reset()

func (*EntityRef) SizeProto added in v1.45.0

func (orig *EntityRef) SizeProto() int

func (*EntityRef) UnmarshalJSON added in v1.45.0

func (orig *EntityRef) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*EntityRef) UnmarshalProto added in v1.45.0

func (orig *EntityRef) UnmarshalProto(buf []byte) error

type EntityRefSliceWrapper added in v1.45.0

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

func GenTestEntityRefSliceWrapper added in v1.45.0

func GenTestEntityRefSliceWrapper() EntityRefSliceWrapper

func NewEntityRefSliceWrapper added in v1.45.0

func NewEntityRefSliceWrapper(orig *[]*EntityRef, state *State) EntityRefSliceWrapper

type EntityRefWrapper added in v1.45.0

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

func GenTestEntityRefWrapper added in v1.45.0

func GenTestEntityRefWrapper() EntityRefWrapper

func NewEntityRefWrapper added in v1.45.0

func NewEntityRefWrapper(orig *EntityRef, state *State) EntityRefWrapper

type Exemplar

type Exemplar struct {
	Value              any
	FilteredAttributes []KeyValue
	TimeUnixNano       uint64
	TraceId            TraceID
	SpanId             SpanID
}

Exemplar is a sample input double measurement.

Exemplars also hold information about the environment when the measurement was recorded, for example the span and trace ID of the active span when the exemplar was recorded.

func CopyExemplar added in v1.45.0

func CopyExemplar(dest, src *Exemplar) *Exemplar

func CopyExemplarPtrSlice added in v1.45.0

func CopyExemplarPtrSlice(dest, src []*Exemplar) []*Exemplar

func CopyExemplarSlice added in v1.45.0

func CopyExemplarSlice(dest, src []Exemplar) []Exemplar

func GenTestExemplar added in v1.45.0

func GenTestExemplar() *Exemplar

func GenTestExemplarPtrSlice added in v1.45.0

func GenTestExemplarPtrSlice() []*Exemplar

func GenTestExemplarSlice added in v1.45.0

func GenTestExemplarSlice() []Exemplar

func NewExemplar

func NewExemplar() *Exemplar

func (*Exemplar) GetAsDouble added in v1.45.0

func (m *Exemplar) GetAsDouble() float64

func (*Exemplar) GetAsInt added in v1.45.0

func (m *Exemplar) GetAsInt() int64

func (*Exemplar) GetValue added in v1.45.0

func (m *Exemplar) GetValue() any

func (*Exemplar) MarshalJSON added in v1.45.0

func (orig *Exemplar) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*Exemplar) MarshalProto added in v1.45.0

func (orig *Exemplar) MarshalProto(buf []byte) int

func (*Exemplar) Reset added in v1.45.0

func (orig *Exemplar) Reset()

func (*Exemplar) SizeProto added in v1.45.0

func (orig *Exemplar) SizeProto() int

func (*Exemplar) UnmarshalJSON added in v1.45.0

func (orig *Exemplar) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*Exemplar) UnmarshalProto added in v1.45.0

func (orig *Exemplar) UnmarshalProto(buf []byte) error

type Exemplar_AsDouble added in v1.45.0

type Exemplar_AsDouble struct {
	AsDouble float64
}

type Exemplar_AsInt added in v1.45.0

type Exemplar_AsInt struct {
	AsInt int64
}

type ExponentialHistogram

type ExponentialHistogram struct {
	DataPoints             []*ExponentialHistogramDataPoint
	AggregationTemporality AggregationTemporality
}

ExponentialHistogram represents the type of a metric that is calculated by aggregating as a ExponentialHistogram of all reported double measurements over a time interval.

func CopyExponentialHistogram added in v1.45.0

func CopyExponentialHistogram(dest, src *ExponentialHistogram) *ExponentialHistogram

func CopyExponentialHistogramPtrSlice added in v1.45.0

func CopyExponentialHistogramPtrSlice(dest, src []*ExponentialHistogram) []*ExponentialHistogram

func CopyExponentialHistogramSlice added in v1.45.0

func CopyExponentialHistogramSlice(dest, src []ExponentialHistogram) []ExponentialHistogram

func GenTestExponentialHistogram added in v1.45.0

func GenTestExponentialHistogram() *ExponentialHistogram

func GenTestExponentialHistogramPtrSlice added in v1.45.0

func GenTestExponentialHistogramPtrSlice() []*ExponentialHistogram

func GenTestExponentialHistogramSlice added in v1.45.0

func GenTestExponentialHistogramSlice() []ExponentialHistogram

func NewExponentialHistogram

func NewExponentialHistogram() *ExponentialHistogram

func (*ExponentialHistogram) MarshalJSON added in v1.45.0

func (orig *ExponentialHistogram) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*ExponentialHistogram) MarshalProto added in v1.45.0

func (orig *ExponentialHistogram) MarshalProto(buf []byte) int

func (*ExponentialHistogram) Reset added in v1.45.0

func (orig *ExponentialHistogram) Reset()

func (*ExponentialHistogram) SizeProto added in v1.45.0

func (orig *ExponentialHistogram) SizeProto() int

func (*ExponentialHistogram) UnmarshalJSON added in v1.45.0

func (orig *ExponentialHistogram) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*ExponentialHistogram) UnmarshalProto added in v1.45.0

func (orig *ExponentialHistogram) UnmarshalProto(buf []byte) error

type ExponentialHistogramDataPoint

type ExponentialHistogramDataPoint struct {
	Positive          ExponentialHistogramDataPointBuckets
	Negative          ExponentialHistogramDataPointBuckets
	Attributes        []KeyValue
	Exemplars         []Exemplar
	StartTimeUnixNano uint64
	TimeUnixNano      uint64
	Count             uint64
	Sum               float64
	ZeroCount         uint64
	Min               float64
	Max               float64
	ZeroThreshold     float64

	Scale int32
	Flags uint32
	// contains filtered or unexported fields
}

ExponentialHistogramDataPoint is a single data point in a timeseries that describes the time-varying values of a ExponentialHistogram of double values. A ExponentialHistogram contains summary statistics for a population of values, it may optionally contain the distribution of those values across a set of buckets.

func CopyExponentialHistogramDataPoint added in v1.45.0

func CopyExponentialHistogramDataPoint(dest, src *ExponentialHistogramDataPoint) *ExponentialHistogramDataPoint

func CopyExponentialHistogramDataPointPtrSlice added in v1.45.0

func CopyExponentialHistogramDataPointPtrSlice(dest, src []*ExponentialHistogramDataPoint) []*ExponentialHistogramDataPoint

func CopyExponentialHistogramDataPointSlice added in v1.45.0

func CopyExponentialHistogramDataPointSlice(dest, src []ExponentialHistogramDataPoint) []ExponentialHistogramDataPoint

func GenTestExponentialHistogramDataPoint added in v1.45.0

func GenTestExponentialHistogramDataPoint() *ExponentialHistogramDataPoint

func GenTestExponentialHistogramDataPointPtrSlice added in v1.45.0

func GenTestExponentialHistogramDataPointPtrSlice() []*ExponentialHistogramDataPoint

func GenTestExponentialHistogramDataPointSlice added in v1.45.0

func GenTestExponentialHistogramDataPointSlice() []ExponentialHistogramDataPoint

func NewExponentialHistogramDataPoint

func NewExponentialHistogramDataPoint() *ExponentialHistogramDataPoint

func (*ExponentialHistogramDataPoint) HasMax added in v0.52.0

func (m *ExponentialHistogramDataPoint) HasMax() bool

func (*ExponentialHistogramDataPoint) HasMin added in v0.52.0

func (m *ExponentialHistogramDataPoint) HasMin() bool

func (*ExponentialHistogramDataPoint) HasSum added in v0.54.0

func (m *ExponentialHistogramDataPoint) HasSum() bool

func (*ExponentialHistogramDataPoint) MarshalJSON added in v1.45.0

func (orig *ExponentialHistogramDataPoint) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*ExponentialHistogramDataPoint) MarshalProto added in v1.45.0

func (orig *ExponentialHistogramDataPoint) MarshalProto(buf []byte) int

func (*ExponentialHistogramDataPoint) RemoveMax added in v1.49.0

func (m *ExponentialHistogramDataPoint) RemoveMax()

func (*ExponentialHistogramDataPoint) RemoveMin added in v1.49.0

func (m *ExponentialHistogramDataPoint) RemoveMin()

func (*ExponentialHistogramDataPoint) RemoveSum added in v1.49.0

func (m *ExponentialHistogramDataPoint) RemoveSum()

func (*ExponentialHistogramDataPoint) Reset added in v1.45.0

func (orig *ExponentialHistogramDataPoint) Reset()

func (*ExponentialHistogramDataPoint) SetMax added in v0.52.0

func (m *ExponentialHistogramDataPoint) SetMax(value float64)

func (*ExponentialHistogramDataPoint) SetMin added in v0.52.0

func (m *ExponentialHistogramDataPoint) SetMin(value float64)

func (*ExponentialHistogramDataPoint) SetSum

func (m *ExponentialHistogramDataPoint) SetSum(value float64)

func (*ExponentialHistogramDataPoint) SizeProto added in v1.45.0

func (orig *ExponentialHistogramDataPoint) SizeProto() int

func (*ExponentialHistogramDataPoint) UnmarshalJSON added in v1.45.0

func (orig *ExponentialHistogramDataPoint) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*ExponentialHistogramDataPoint) UnmarshalProto added in v1.45.0

func (orig *ExponentialHistogramDataPoint) UnmarshalProto(buf []byte) error

type ExponentialHistogramDataPointBuckets added in v0.62.0

type ExponentialHistogramDataPointBuckets struct {
	BucketCounts []uint64
	Offset       int32
}

ExponentialHistogramDataPointBuckets are a set of bucket counts, encoded in a contiguous array of counts.

func CopyExponentialHistogramDataPointBuckets added in v1.45.0

func CopyExponentialHistogramDataPointBuckets(dest, src *ExponentialHistogramDataPointBuckets) *ExponentialHistogramDataPointBuckets

func CopyExponentialHistogramDataPointBucketsPtrSlice added in v1.45.0

func CopyExponentialHistogramDataPointBucketsPtrSlice(dest, src []*ExponentialHistogramDataPointBuckets) []*ExponentialHistogramDataPointBuckets

func CopyExponentialHistogramDataPointBucketsSlice added in v1.45.0

func CopyExponentialHistogramDataPointBucketsSlice(dest, src []ExponentialHistogramDataPointBuckets) []ExponentialHistogramDataPointBuckets

func GenTestExponentialHistogramDataPointBuckets added in v1.45.0

func GenTestExponentialHistogramDataPointBuckets() *ExponentialHistogramDataPointBuckets

func GenTestExponentialHistogramDataPointBucketsPtrSlice added in v1.45.0

func GenTestExponentialHistogramDataPointBucketsPtrSlice() []*ExponentialHistogramDataPointBuckets

func GenTestExponentialHistogramDataPointBucketsSlice added in v1.45.0

func GenTestExponentialHistogramDataPointBucketsSlice() []ExponentialHistogramDataPointBuckets

func NewExponentialHistogramDataPointBuckets added in v0.62.0

func NewExponentialHistogramDataPointBuckets() *ExponentialHistogramDataPointBuckets

func (*ExponentialHistogramDataPointBuckets) MarshalJSON added in v1.45.0

func (orig *ExponentialHistogramDataPointBuckets) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*ExponentialHistogramDataPointBuckets) MarshalProto added in v1.45.0

func (orig *ExponentialHistogramDataPointBuckets) MarshalProto(buf []byte) int

func (*ExponentialHistogramDataPointBuckets) Reset added in v1.45.0

func (*ExponentialHistogramDataPointBuckets) SizeProto added in v1.45.0

func (orig *ExponentialHistogramDataPointBuckets) SizeProto() int

func (*ExponentialHistogramDataPointBuckets) UnmarshalJSON added in v1.45.0

func (orig *ExponentialHistogramDataPointBuckets) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*ExponentialHistogramDataPointBuckets) UnmarshalProto added in v1.45.0

func (orig *ExponentialHistogramDataPointBuckets) UnmarshalProto(buf []byte) error

type ExportLogsPartialSuccess added in v1.45.0

type ExportLogsPartialSuccess struct {
	ErrorMessage       string
	RejectedLogRecords int64
}

ExportPartialSuccess represents the details of a partially successful export request.

func CopyExportLogsPartialSuccess added in v1.45.0

func CopyExportLogsPartialSuccess(dest, src *ExportLogsPartialSuccess) *ExportLogsPartialSuccess

func CopyExportLogsPartialSuccessPtrSlice added in v1.45.0

func CopyExportLogsPartialSuccessPtrSlice(dest, src []*ExportLogsPartialSuccess) []*ExportLogsPartialSuccess

func CopyExportLogsPartialSuccessSlice added in v1.45.0

func CopyExportLogsPartialSuccessSlice(dest, src []ExportLogsPartialSuccess) []ExportLogsPartialSuccess

func GenTestExportLogsPartialSuccess added in v1.45.0

func GenTestExportLogsPartialSuccess() *ExportLogsPartialSuccess

func GenTestExportLogsPartialSuccessPtrSlice added in v1.45.0

func GenTestExportLogsPartialSuccessPtrSlice() []*ExportLogsPartialSuccess

func GenTestExportLogsPartialSuccessSlice added in v1.45.0

func GenTestExportLogsPartialSuccessSlice() []ExportLogsPartialSuccess

func NewExportLogsPartialSuccess added in v1.45.0

func NewExportLogsPartialSuccess() *ExportLogsPartialSuccess

func (*ExportLogsPartialSuccess) MarshalJSON added in v1.45.0

func (orig *ExportLogsPartialSuccess) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*ExportLogsPartialSuccess) MarshalProto added in v1.45.0

func (orig *ExportLogsPartialSuccess) MarshalProto(buf []byte) int

func (*ExportLogsPartialSuccess) Reset added in v1.45.0

func (orig *ExportLogsPartialSuccess) Reset()

func (*ExportLogsPartialSuccess) SizeProto added in v1.45.0

func (orig *ExportLogsPartialSuccess) SizeProto() int

func (*ExportLogsPartialSuccess) UnmarshalJSON added in v1.45.0

func (orig *ExportLogsPartialSuccess) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*ExportLogsPartialSuccess) UnmarshalProto added in v1.45.0

func (orig *ExportLogsPartialSuccess) UnmarshalProto(buf []byte) error

type ExportLogsServiceRequest added in v1.45.0

type ExportLogsServiceRequest struct {
	ResourceLogs []*ResourceLogs
}

Logs is the top-level struct that is propagated through the logs pipeline. Use NewLogs to create new instance, zero-initialized instance is not valid for use.

func CopyExportLogsServiceRequest added in v1.45.0

func CopyExportLogsServiceRequest(dest, src *ExportLogsServiceRequest) *ExportLogsServiceRequest

func CopyExportLogsServiceRequestPtrSlice added in v1.45.0

func CopyExportLogsServiceRequestPtrSlice(dest, src []*ExportLogsServiceRequest) []*ExportLogsServiceRequest

func CopyExportLogsServiceRequestSlice added in v1.45.0

func CopyExportLogsServiceRequestSlice(dest, src []ExportLogsServiceRequest) []ExportLogsServiceRequest

func GenTestExportLogsServiceRequest added in v1.45.0

func GenTestExportLogsServiceRequest() *ExportLogsServiceRequest

func GenTestExportLogsServiceRequestPtrSlice added in v1.45.0

func GenTestExportLogsServiceRequestPtrSlice() []*ExportLogsServiceRequest

func GenTestExportLogsServiceRequestSlice added in v1.45.0

func GenTestExportLogsServiceRequestSlice() []ExportLogsServiceRequest

func GetLogsOrig added in v1.45.0

func GetLogsOrig(ms LogsWrapper) *ExportLogsServiceRequest

func NewExportLogsServiceRequest added in v1.45.0

func NewExportLogsServiceRequest() *ExportLogsServiceRequest

func (*ExportLogsServiceRequest) MarshalJSON added in v1.45.0

func (orig *ExportLogsServiceRequest) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*ExportLogsServiceRequest) MarshalProto added in v1.45.0

func (orig *ExportLogsServiceRequest) MarshalProto(buf []byte) int

func (*ExportLogsServiceRequest) Reset added in v1.45.0

func (orig *ExportLogsServiceRequest) Reset()

func (*ExportLogsServiceRequest) SizeProto added in v1.45.0

func (orig *ExportLogsServiceRequest) SizeProto() int

func (*ExportLogsServiceRequest) UnmarshalJSON added in v1.45.0

func (orig *ExportLogsServiceRequest) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*ExportLogsServiceRequest) UnmarshalProto added in v1.45.0

func (orig *ExportLogsServiceRequest) UnmarshalProto(buf []byte) error

type ExportLogsServiceResponse added in v1.45.0

type ExportLogsServiceResponse struct {
	PartialSuccess ExportLogsPartialSuccess
}

ExportResponse represents the response for gRPC/HTTP client/server.

func CopyExportLogsServiceResponse added in v1.45.0

func CopyExportLogsServiceResponse(dest, src *ExportLogsServiceResponse) *ExportLogsServiceResponse

func CopyExportLogsServiceResponsePtrSlice added in v1.45.0

func CopyExportLogsServiceResponsePtrSlice(dest, src []*ExportLogsServiceResponse) []*ExportLogsServiceResponse

func CopyExportLogsServiceResponseSlice added in v1.45.0

func CopyExportLogsServiceResponseSlice(dest, src []ExportLogsServiceResponse) []ExportLogsServiceResponse

func GenTestExportLogsServiceResponse added in v1.45.0

func GenTestExportLogsServiceResponse() *ExportLogsServiceResponse

func GenTestExportLogsServiceResponsePtrSlice added in v1.45.0

func GenTestExportLogsServiceResponsePtrSlice() []*ExportLogsServiceResponse

func GenTestExportLogsServiceResponseSlice added in v1.45.0

func GenTestExportLogsServiceResponseSlice() []ExportLogsServiceResponse

func NewExportLogsServiceResponse added in v1.45.0

func NewExportLogsServiceResponse() *ExportLogsServiceResponse

func (*ExportLogsServiceResponse) MarshalJSON added in v1.45.0

func (orig *ExportLogsServiceResponse) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*ExportLogsServiceResponse) MarshalProto added in v1.45.0

func (orig *ExportLogsServiceResponse) MarshalProto(buf []byte) int

func (*ExportLogsServiceResponse) Reset added in v1.45.0

func (orig *ExportLogsServiceResponse) Reset()

func (*ExportLogsServiceResponse) SizeProto added in v1.45.0

func (orig *ExportLogsServiceResponse) SizeProto() int

func (*ExportLogsServiceResponse) UnmarshalJSON added in v1.45.0

func (orig *ExportLogsServiceResponse) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*ExportLogsServiceResponse) UnmarshalProto added in v1.45.0

func (orig *ExportLogsServiceResponse) UnmarshalProto(buf []byte) error

type ExportMetricsPartialSuccess added in v1.45.0

type ExportMetricsPartialSuccess struct {
	ErrorMessage       string
	RejectedDataPoints int64
}

ExportPartialSuccess represents the details of a partially successful export request.

func CopyExportMetricsPartialSuccess added in v1.45.0

func CopyExportMetricsPartialSuccess(dest, src *ExportMetricsPartialSuccess) *ExportMetricsPartialSuccess

func CopyExportMetricsPartialSuccessPtrSlice added in v1.45.0

func CopyExportMetricsPartialSuccessPtrSlice(dest, src []*ExportMetricsPartialSuccess) []*ExportMetricsPartialSuccess

func CopyExportMetricsPartialSuccessSlice added in v1.45.0

func CopyExportMetricsPartialSuccessSlice(dest, src []ExportMetricsPartialSuccess) []ExportMetricsPartialSuccess

func GenTestExportMetricsPartialSuccess added in v1.45.0

func GenTestExportMetricsPartialSuccess() *ExportMetricsPartialSuccess

func GenTestExportMetricsPartialSuccessPtrSlice added in v1.45.0

func GenTestExportMetricsPartialSuccessPtrSlice() []*ExportMetricsPartialSuccess

func GenTestExportMetricsPartialSuccessSlice added in v1.45.0

func GenTestExportMetricsPartialSuccessSlice() []ExportMetricsPartialSuccess

func NewExportMetricsPartialSuccess added in v1.45.0

func NewExportMetricsPartialSuccess() *ExportMetricsPartialSuccess

func (*ExportMetricsPartialSuccess) MarshalJSON added in v1.45.0

func (orig *ExportMetricsPartialSuccess) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*ExportMetricsPartialSuccess) MarshalProto added in v1.45.0

func (orig *ExportMetricsPartialSuccess) MarshalProto(buf []byte) int

func (*ExportMetricsPartialSuccess) Reset added in v1.45.0

func (orig *ExportMetricsPartialSuccess) Reset()

func (*ExportMetricsPartialSuccess) SizeProto added in v1.45.0

func (orig *ExportMetricsPartialSuccess) SizeProto() int

func (*ExportMetricsPartialSuccess) UnmarshalJSON added in v1.45.0

func (orig *ExportMetricsPartialSuccess) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*ExportMetricsPartialSuccess) UnmarshalProto added in v1.45.0

func (orig *ExportMetricsPartialSuccess) UnmarshalProto(buf []byte) error

type ExportMetricsServiceRequest added in v1.45.0

type ExportMetricsServiceRequest struct {
	ResourceMetrics []*ResourceMetrics
}

Metrics is the top-level struct that is propagated through the metrics pipeline. Use NewMetrics to create new instance, zero-initialized instance is not valid for use.

func CopyExportMetricsServiceRequest added in v1.45.0

func CopyExportMetricsServiceRequest(dest, src *ExportMetricsServiceRequest) *ExportMetricsServiceRequest

func CopyExportMetricsServiceRequestPtrSlice added in v1.45.0

func CopyExportMetricsServiceRequestPtrSlice(dest, src []*ExportMetricsServiceRequest) []*ExportMetricsServiceRequest

func CopyExportMetricsServiceRequestSlice added in v1.45.0

func CopyExportMetricsServiceRequestSlice(dest, src []ExportMetricsServiceRequest) []ExportMetricsServiceRequest

func GenTestExportMetricsServiceRequest added in v1.45.0

func GenTestExportMetricsServiceRequest() *ExportMetricsServiceRequest

func GenTestExportMetricsServiceRequestPtrSlice added in v1.45.0

func GenTestExportMetricsServiceRequestPtrSlice() []*ExportMetricsServiceRequest

func GenTestExportMetricsServiceRequestSlice added in v1.45.0

func GenTestExportMetricsServiceRequestSlice() []ExportMetricsServiceRequest

func GetMetricsOrig added in v1.45.0

func GetMetricsOrig(ms MetricsWrapper) *ExportMetricsServiceRequest

func NewExportMetricsServiceRequest added in v1.45.0

func NewExportMetricsServiceRequest() *ExportMetricsServiceRequest

func (*ExportMetricsServiceRequest) MarshalJSON added in v1.45.0

func (orig *ExportMetricsServiceRequest) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*ExportMetricsServiceRequest) MarshalProto added in v1.45.0

func (orig *ExportMetricsServiceRequest) MarshalProto(buf []byte) int

func (*ExportMetricsServiceRequest) Reset added in v1.45.0

func (orig *ExportMetricsServiceRequest) Reset()

func (*ExportMetricsServiceRequest) SizeProto added in v1.45.0

func (orig *ExportMetricsServiceRequest) SizeProto() int

func (*ExportMetricsServiceRequest) UnmarshalJSON added in v1.45.0

func (orig *ExportMetricsServiceRequest) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*ExportMetricsServiceRequest) UnmarshalProto added in v1.45.0

func (orig *ExportMetricsServiceRequest) UnmarshalProto(buf []byte) error

type ExportMetricsServiceResponse added in v1.45.0

type ExportMetricsServiceResponse struct {
	PartialSuccess ExportMetricsPartialSuccess
}

ExportResponse represents the response for gRPC/HTTP client/server.

func CopyExportMetricsServiceResponse added in v1.45.0

func CopyExportMetricsServiceResponse(dest, src *ExportMetricsServiceResponse) *ExportMetricsServiceResponse

func CopyExportMetricsServiceResponsePtrSlice added in v1.45.0

func CopyExportMetricsServiceResponsePtrSlice(dest, src []*ExportMetricsServiceResponse) []*ExportMetricsServiceResponse

func CopyExportMetricsServiceResponseSlice added in v1.45.0

func CopyExportMetricsServiceResponseSlice(dest, src []ExportMetricsServiceResponse) []ExportMetricsServiceResponse

func GenTestExportMetricsServiceResponse added in v1.45.0

func GenTestExportMetricsServiceResponse() *ExportMetricsServiceResponse

func GenTestExportMetricsServiceResponsePtrSlice added in v1.45.0

func GenTestExportMetricsServiceResponsePtrSlice() []*ExportMetricsServiceResponse

func GenTestExportMetricsServiceResponseSlice added in v1.45.0

func GenTestExportMetricsServiceResponseSlice() []ExportMetricsServiceResponse

func NewExportMetricsServiceResponse added in v1.45.0

func NewExportMetricsServiceResponse() *ExportMetricsServiceResponse

func (*ExportMetricsServiceResponse) MarshalJSON added in v1.45.0

func (orig *ExportMetricsServiceResponse) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*ExportMetricsServiceResponse) MarshalProto added in v1.45.0

func (orig *ExportMetricsServiceResponse) MarshalProto(buf []byte) int

func (*ExportMetricsServiceResponse) Reset added in v1.45.0

func (orig *ExportMetricsServiceResponse) Reset()

func (*ExportMetricsServiceResponse) SizeProto added in v1.45.0

func (orig *ExportMetricsServiceResponse) SizeProto() int

func (*ExportMetricsServiceResponse) UnmarshalJSON added in v1.45.0

func (orig *ExportMetricsServiceResponse) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*ExportMetricsServiceResponse) UnmarshalProto added in v1.45.0

func (orig *ExportMetricsServiceResponse) UnmarshalProto(buf []byte) error

type ExportProfilesPartialSuccess added in v1.45.0

type ExportProfilesPartialSuccess struct {
	ErrorMessage     string
	RejectedProfiles int64
}

ExportPartialSuccess represents the details of a partially successful export request.

func CopyExportProfilesPartialSuccess added in v1.45.0

func CopyExportProfilesPartialSuccess(dest, src *ExportProfilesPartialSuccess) *ExportProfilesPartialSuccess

func CopyExportProfilesPartialSuccessPtrSlice added in v1.45.0

func CopyExportProfilesPartialSuccessPtrSlice(dest, src []*ExportProfilesPartialSuccess) []*ExportProfilesPartialSuccess

func CopyExportProfilesPartialSuccessSlice added in v1.45.0

func CopyExportProfilesPartialSuccessSlice(dest, src []ExportProfilesPartialSuccess) []ExportProfilesPartialSuccess

func GenTestExportProfilesPartialSuccess added in v1.45.0

func GenTestExportProfilesPartialSuccess() *ExportProfilesPartialSuccess

func GenTestExportProfilesPartialSuccessPtrSlice added in v1.45.0

func GenTestExportProfilesPartialSuccessPtrSlice() []*ExportProfilesPartialSuccess

func GenTestExportProfilesPartialSuccessSlice added in v1.45.0

func GenTestExportProfilesPartialSuccessSlice() []ExportProfilesPartialSuccess

func NewExportProfilesPartialSuccess added in v1.45.0

func NewExportProfilesPartialSuccess() *ExportProfilesPartialSuccess

func (*ExportProfilesPartialSuccess) MarshalJSON added in v1.45.0

func (orig *ExportProfilesPartialSuccess) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*ExportProfilesPartialSuccess) MarshalProto added in v1.45.0

func (orig *ExportProfilesPartialSuccess) MarshalProto(buf []byte) int

func (*ExportProfilesPartialSuccess) Reset added in v1.45.0

func (orig *ExportProfilesPartialSuccess) Reset()

func (*ExportProfilesPartialSuccess) SizeProto added in v1.45.0

func (orig *ExportProfilesPartialSuccess) SizeProto() int

func (*ExportProfilesPartialSuccess) UnmarshalJSON added in v1.45.0

func (orig *ExportProfilesPartialSuccess) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*ExportProfilesPartialSuccess) UnmarshalProto added in v1.45.0

func (orig *ExportProfilesPartialSuccess) UnmarshalProto(buf []byte) error

type ExportProfilesServiceRequest added in v1.45.0

type ExportProfilesServiceRequest struct {
	ResourceProfiles []*ResourceProfiles
	Dictionary       ProfilesDictionary
}

Profiles is the top-level struct that is propagated through the profiles pipeline. Use NewProfiles to create new instance, zero-initialized instance is not valid for use.

func CopyExportProfilesServiceRequest added in v1.45.0

func CopyExportProfilesServiceRequest(dest, src *ExportProfilesServiceRequest) *ExportProfilesServiceRequest

func CopyExportProfilesServiceRequestPtrSlice added in v1.45.0

func CopyExportProfilesServiceRequestPtrSlice(dest, src []*ExportProfilesServiceRequest) []*ExportProfilesServiceRequest

func CopyExportProfilesServiceRequestSlice added in v1.45.0

func CopyExportProfilesServiceRequestSlice(dest, src []ExportProfilesServiceRequest) []ExportProfilesServiceRequest

func GenTestExportProfilesServiceRequest added in v1.45.0

func GenTestExportProfilesServiceRequest() *ExportProfilesServiceRequest

func GenTestExportProfilesServiceRequestPtrSlice added in v1.45.0

func GenTestExportProfilesServiceRequestPtrSlice() []*ExportProfilesServiceRequest

func GenTestExportProfilesServiceRequestSlice added in v1.45.0

func GenTestExportProfilesServiceRequestSlice() []ExportProfilesServiceRequest

func GetProfilesOrig added in v1.45.0

func GetProfilesOrig(ms ProfilesWrapper) *ExportProfilesServiceRequest

func NewExportProfilesServiceRequest added in v1.45.0

func NewExportProfilesServiceRequest() *ExportProfilesServiceRequest

func (*ExportProfilesServiceRequest) MarshalJSON added in v1.45.0

func (orig *ExportProfilesServiceRequest) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*ExportProfilesServiceRequest) MarshalProto added in v1.45.0

func (orig *ExportProfilesServiceRequest) MarshalProto(buf []byte) int

func (*ExportProfilesServiceRequest) Reset added in v1.45.0

func (orig *ExportProfilesServiceRequest) Reset()

func (*ExportProfilesServiceRequest) SizeProto added in v1.45.0

func (orig *ExportProfilesServiceRequest) SizeProto() int

func (*ExportProfilesServiceRequest) UnmarshalJSON added in v1.45.0

func (orig *ExportProfilesServiceRequest) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*ExportProfilesServiceRequest) UnmarshalProto added in v1.45.0

func (orig *ExportProfilesServiceRequest) UnmarshalProto(buf []byte) error

type ExportProfilesServiceResponse added in v1.45.0

type ExportProfilesServiceResponse struct {
	PartialSuccess ExportProfilesPartialSuccess
}

ExportResponse represents the response for gRPC/HTTP client/server.

func CopyExportProfilesServiceResponse added in v1.45.0

func CopyExportProfilesServiceResponse(dest, src *ExportProfilesServiceResponse) *ExportProfilesServiceResponse

func CopyExportProfilesServiceResponsePtrSlice added in v1.45.0

func CopyExportProfilesServiceResponsePtrSlice(dest, src []*ExportProfilesServiceResponse) []*ExportProfilesServiceResponse

func CopyExportProfilesServiceResponseSlice added in v1.45.0

func CopyExportProfilesServiceResponseSlice(dest, src []ExportProfilesServiceResponse) []ExportProfilesServiceResponse

func GenTestExportProfilesServiceResponse added in v1.45.0

func GenTestExportProfilesServiceResponse() *ExportProfilesServiceResponse

func GenTestExportProfilesServiceResponsePtrSlice added in v1.45.0

func GenTestExportProfilesServiceResponsePtrSlice() []*ExportProfilesServiceResponse

func GenTestExportProfilesServiceResponseSlice added in v1.45.0

func GenTestExportProfilesServiceResponseSlice() []ExportProfilesServiceResponse

func NewExportProfilesServiceResponse added in v1.45.0

func NewExportProfilesServiceResponse() *ExportProfilesServiceResponse

func (*ExportProfilesServiceResponse) MarshalJSON added in v1.45.0

func (orig *ExportProfilesServiceResponse) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*ExportProfilesServiceResponse) MarshalProto added in v1.45.0

func (orig *ExportProfilesServiceResponse) MarshalProto(buf []byte) int

func (*ExportProfilesServiceResponse) Reset added in v1.45.0

func (orig *ExportProfilesServiceResponse) Reset()

func (*ExportProfilesServiceResponse) SizeProto added in v1.45.0

func (orig *ExportProfilesServiceResponse) SizeProto() int

func (*ExportProfilesServiceResponse) UnmarshalJSON added in v1.45.0

func (orig *ExportProfilesServiceResponse) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*ExportProfilesServiceResponse) UnmarshalProto added in v1.45.0

func (orig *ExportProfilesServiceResponse) UnmarshalProto(buf []byte) error

type ExportTracePartialSuccess added in v1.45.0

type ExportTracePartialSuccess struct {
	ErrorMessage  string
	RejectedSpans int64
}

ExportPartialSuccess represents the details of a partially successful export request.

func CopyExportTracePartialSuccess added in v1.45.0

func CopyExportTracePartialSuccess(dest, src *ExportTracePartialSuccess) *ExportTracePartialSuccess

func CopyExportTracePartialSuccessPtrSlice added in v1.45.0

func CopyExportTracePartialSuccessPtrSlice(dest, src []*ExportTracePartialSuccess) []*ExportTracePartialSuccess

func CopyExportTracePartialSuccessSlice added in v1.45.0

func CopyExportTracePartialSuccessSlice(dest, src []ExportTracePartialSuccess) []ExportTracePartialSuccess

func GenTestExportTracePartialSuccess added in v1.45.0

func GenTestExportTracePartialSuccess() *ExportTracePartialSuccess

func GenTestExportTracePartialSuccessPtrSlice added in v1.45.0

func GenTestExportTracePartialSuccessPtrSlice() []*ExportTracePartialSuccess

func GenTestExportTracePartialSuccessSlice added in v1.45.0

func GenTestExportTracePartialSuccessSlice() []ExportTracePartialSuccess

func NewExportTracePartialSuccess added in v1.45.0

func NewExportTracePartialSuccess() *ExportTracePartialSuccess

func (*ExportTracePartialSuccess) MarshalJSON added in v1.45.0

func (orig *ExportTracePartialSuccess) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*ExportTracePartialSuccess) MarshalProto added in v1.45.0

func (orig *ExportTracePartialSuccess) MarshalProto(buf []byte) int

func (*ExportTracePartialSuccess) Reset added in v1.45.0

func (orig *ExportTracePartialSuccess) Reset()

func (*ExportTracePartialSuccess) SizeProto added in v1.45.0

func (orig *ExportTracePartialSuccess) SizeProto() int

func (*ExportTracePartialSuccess) UnmarshalJSON added in v1.45.0

func (orig *ExportTracePartialSuccess) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*ExportTracePartialSuccess) UnmarshalProto added in v1.45.0

func (orig *ExportTracePartialSuccess) UnmarshalProto(buf []byte) error

type ExportTraceServiceRequest added in v1.45.0

type ExportTraceServiceRequest struct {
	ResourceSpans []*ResourceSpans
}

Traces is the top-level struct that is propagated through the traces pipeline. Use NewTraces to create new instance, zero-initialized instance is not valid for use.

func CopyExportTraceServiceRequest added in v1.45.0

func CopyExportTraceServiceRequest(dest, src *ExportTraceServiceRequest) *ExportTraceServiceRequest

func CopyExportTraceServiceRequestPtrSlice added in v1.45.0

func CopyExportTraceServiceRequestPtrSlice(dest, src []*ExportTraceServiceRequest) []*ExportTraceServiceRequest

func CopyExportTraceServiceRequestSlice added in v1.45.0

func CopyExportTraceServiceRequestSlice(dest, src []ExportTraceServiceRequest) []ExportTraceServiceRequest

func GenTestExportTraceServiceRequest added in v1.45.0

func GenTestExportTraceServiceRequest() *ExportTraceServiceRequest

func GenTestExportTraceServiceRequestPtrSlice added in v1.45.0

func GenTestExportTraceServiceRequestPtrSlice() []*ExportTraceServiceRequest

func GenTestExportTraceServiceRequestSlice added in v1.45.0

func GenTestExportTraceServiceRequestSlice() []ExportTraceServiceRequest

func GetTracesOrig added in v1.45.0

func GetTracesOrig(ms TracesWrapper) *ExportTraceServiceRequest

func NewExportTraceServiceRequest added in v1.45.0

func NewExportTraceServiceRequest() *ExportTraceServiceRequest

func (*ExportTraceServiceRequest) MarshalJSON added in v1.45.0

func (orig *ExportTraceServiceRequest) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*ExportTraceServiceRequest) MarshalProto added in v1.45.0

func (orig *ExportTraceServiceRequest) MarshalProto(buf []byte) int

func (*ExportTraceServiceRequest) Reset added in v1.45.0

func (orig *ExportTraceServiceRequest) Reset()

func (*ExportTraceServiceRequest) SizeProto added in v1.45.0

func (orig *ExportTraceServiceRequest) SizeProto() int

func (*ExportTraceServiceRequest) UnmarshalJSON added in v1.45.0

func (orig *ExportTraceServiceRequest) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*ExportTraceServiceRequest) UnmarshalProto added in v1.45.0

func (orig *ExportTraceServiceRequest) UnmarshalProto(buf []byte) error

type ExportTraceServiceResponse added in v1.45.0

type ExportTraceServiceResponse struct {
	PartialSuccess ExportTracePartialSuccess
}

ExportResponse represents the response for gRPC/HTTP client/server.

func CopyExportTraceServiceResponse added in v1.45.0

func CopyExportTraceServiceResponse(dest, src *ExportTraceServiceResponse) *ExportTraceServiceResponse

func CopyExportTraceServiceResponsePtrSlice added in v1.45.0

func CopyExportTraceServiceResponsePtrSlice(dest, src []*ExportTraceServiceResponse) []*ExportTraceServiceResponse

func CopyExportTraceServiceResponseSlice added in v1.45.0

func CopyExportTraceServiceResponseSlice(dest, src []ExportTraceServiceResponse) []ExportTraceServiceResponse

func GenTestExportTraceServiceResponse added in v1.45.0

func GenTestExportTraceServiceResponse() *ExportTraceServiceResponse

func GenTestExportTraceServiceResponsePtrSlice added in v1.45.0

func GenTestExportTraceServiceResponsePtrSlice() []*ExportTraceServiceResponse

func GenTestExportTraceServiceResponseSlice added in v1.45.0

func GenTestExportTraceServiceResponseSlice() []ExportTraceServiceResponse

func NewExportTraceServiceResponse added in v1.45.0

func NewExportTraceServiceResponse() *ExportTraceServiceResponse

func (*ExportTraceServiceResponse) MarshalJSON added in v1.45.0

func (orig *ExportTraceServiceResponse) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*ExportTraceServiceResponse) MarshalProto added in v1.45.0

func (orig *ExportTraceServiceResponse) MarshalProto(buf []byte) int

func (*ExportTraceServiceResponse) Reset added in v1.45.0

func (orig *ExportTraceServiceResponse) Reset()

func (*ExportTraceServiceResponse) SizeProto added in v1.45.0

func (orig *ExportTraceServiceResponse) SizeProto() int

func (*ExportTraceServiceResponse) UnmarshalJSON added in v1.45.0

func (orig *ExportTraceServiceResponse) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*ExportTraceServiceResponse) UnmarshalProto added in v1.45.0

func (orig *ExportTraceServiceResponse) UnmarshalProto(buf []byte) error

type Float64SliceWrapper added in v1.45.0

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

func GenTestFloat64SliceWrapper added in v1.45.0

func GenTestFloat64SliceWrapper() Float64SliceWrapper

func NewFloat64SliceWrapper added in v1.45.0

func NewFloat64SliceWrapper(orig *[]float64, state *State) Float64SliceWrapper

type Function added in v1.45.0

type Function struct {
	NameStrindex       int32
	SystemNameStrindex int32
	FilenameStrindex   int32
	StartLine          int64
}

Function describes a function, including its human-readable name, system name, source file, and starting line number in the source.

func CopyFunction added in v1.45.0

func CopyFunction(dest, src *Function) *Function

func CopyFunctionPtrSlice added in v1.45.0

func CopyFunctionPtrSlice(dest, src []*Function) []*Function

func CopyFunctionSlice added in v1.45.0

func CopyFunctionSlice(dest, src []Function) []Function

func GenTestFunction added in v1.45.0

func GenTestFunction() *Function

func GenTestFunctionPtrSlice added in v1.45.0

func GenTestFunctionPtrSlice() []*Function

func GenTestFunctionSlice added in v1.45.0

func GenTestFunctionSlice() []Function

func NewFunction added in v1.45.0

func NewFunction() *Function

func (*Function) MarshalJSON added in v1.45.0

func (orig *Function) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*Function) MarshalProto added in v1.45.0

func (orig *Function) MarshalProto(buf []byte) int

func (*Function) Reset added in v1.45.0

func (orig *Function) Reset()

func (*Function) SizeProto added in v1.45.0

func (orig *Function) SizeProto() int

func (*Function) UnmarshalJSON added in v1.45.0

func (orig *Function) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*Function) UnmarshalProto added in v1.45.0

func (orig *Function) UnmarshalProto(buf []byte) error

type Gauge

type Gauge struct {
	DataPoints []*NumberDataPoint
}

Gauge represents the type of a numeric metric that always exports the "current value" for every data point.

func CopyGauge added in v1.45.0

func CopyGauge(dest, src *Gauge) *Gauge

func CopyGaugePtrSlice added in v1.45.0

func CopyGaugePtrSlice(dest, src []*Gauge) []*Gauge

func CopyGaugeSlice added in v1.45.0

func CopyGaugeSlice(dest, src []Gauge) []Gauge

func GenTestGauge added in v1.45.0

func GenTestGauge() *Gauge

func GenTestGaugePtrSlice added in v1.45.0

func GenTestGaugePtrSlice() []*Gauge

func GenTestGaugeSlice added in v1.45.0

func GenTestGaugeSlice() []Gauge

func NewGauge

func NewGauge() *Gauge

func (*Gauge) MarshalJSON added in v1.45.0

func (orig *Gauge) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*Gauge) MarshalProto added in v1.45.0

func (orig *Gauge) MarshalProto(buf []byte) int

func (*Gauge) Reset added in v1.45.0

func (orig *Gauge) Reset()

func (*Gauge) SizeProto added in v1.45.0

func (orig *Gauge) SizeProto() int

func (*Gauge) UnmarshalJSON added in v1.45.0

func (orig *Gauge) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*Gauge) UnmarshalProto added in v1.45.0

func (orig *Gauge) UnmarshalProto(buf []byte) error

type Histogram

type Histogram struct {
	DataPoints             []*HistogramDataPoint
	AggregationTemporality AggregationTemporality
}

Histogram represents the type of a metric that is calculated by aggregating as a Histogram of all reported measurements over a time interval.

func CopyHistogram added in v1.45.0

func CopyHistogram(dest, src *Histogram) *Histogram

func CopyHistogramPtrSlice added in v1.45.0

func CopyHistogramPtrSlice(dest, src []*Histogram) []*Histogram

func CopyHistogramSlice added in v1.45.0

func CopyHistogramSlice(dest, src []Histogram) []Histogram

func GenTestHistogram added in v1.45.0

func GenTestHistogram() *Histogram

func GenTestHistogramPtrSlice added in v1.45.0

func GenTestHistogramPtrSlice() []*Histogram

func GenTestHistogramSlice added in v1.45.0

func GenTestHistogramSlice() []Histogram

func NewHistogram

func NewHistogram() *Histogram

func (*Histogram) MarshalJSON added in v1.45.0

func (orig *Histogram) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*Histogram) MarshalProto added in v1.45.0

func (orig *Histogram) MarshalProto(buf []byte) int

func (*Histogram) Reset added in v1.45.0

func (orig *Histogram) Reset()

func (*Histogram) SizeProto added in v1.45.0

func (orig *Histogram) SizeProto() int

func (*Histogram) UnmarshalJSON added in v1.45.0

func (orig *Histogram) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*Histogram) UnmarshalProto added in v1.45.0

func (orig *Histogram) UnmarshalProto(buf []byte) error

type HistogramDataPoint

type HistogramDataPoint struct {
	Attributes        []KeyValue
	BucketCounts      []uint64
	ExplicitBounds    []float64
	Exemplars         []Exemplar
	StartTimeUnixNano uint64
	TimeUnixNano      uint64
	Count             uint64
	Sum               float64
	Min               float64
	Max               float64

	Flags uint32
	// contains filtered or unexported fields
}

HistogramDataPoint is a single data point in a timeseries that describes the time-varying values of a Histogram of values.

func CopyHistogramDataPoint added in v1.45.0

func CopyHistogramDataPoint(dest, src *HistogramDataPoint) *HistogramDataPoint

func CopyHistogramDataPointPtrSlice added in v1.45.0

func CopyHistogramDataPointPtrSlice(dest, src []*HistogramDataPoint) []*HistogramDataPoint

func CopyHistogramDataPointSlice added in v1.45.0

func CopyHistogramDataPointSlice(dest, src []HistogramDataPoint) []HistogramDataPoint

func GenTestHistogramDataPoint added in v1.45.0

func GenTestHistogramDataPoint() *HistogramDataPoint

func GenTestHistogramDataPointPtrSlice added in v1.45.0

func GenTestHistogramDataPointPtrSlice() []*HistogramDataPoint

func GenTestHistogramDataPointSlice added in v1.45.0

func GenTestHistogramDataPointSlice() []HistogramDataPoint

func NewHistogramDataPoint

func NewHistogramDataPoint() *HistogramDataPoint

func (*HistogramDataPoint) HasMax added in v0.52.0

func (m *HistogramDataPoint) HasMax() bool

func (*HistogramDataPoint) HasMin added in v0.52.0

func (m *HistogramDataPoint) HasMin() bool

func (*HistogramDataPoint) HasSum

func (m *HistogramDataPoint) HasSum() bool

func (*HistogramDataPoint) MarshalJSON added in v1.45.0

func (orig *HistogramDataPoint) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*HistogramDataPoint) MarshalProto added in v1.45.0

func (orig *HistogramDataPoint) MarshalProto(buf []byte) int

func (*HistogramDataPoint) RemoveMax added in v1.49.0

func (m *HistogramDataPoint) RemoveMax()

func (*HistogramDataPoint) RemoveMin added in v1.49.0

func (m *HistogramDataPoint) RemoveMin()

func (*HistogramDataPoint) RemoveSum added in v1.49.0

func (m *HistogramDataPoint) RemoveSum()

func (*HistogramDataPoint) Reset added in v1.45.0

func (orig *HistogramDataPoint) Reset()

func (*HistogramDataPoint) SetMax added in v0.52.0

func (m *HistogramDataPoint) SetMax(value float64)

func (*HistogramDataPoint) SetMin added in v0.52.0

func (m *HistogramDataPoint) SetMin(value float64)

func (*HistogramDataPoint) SetSum

func (m *HistogramDataPoint) SetSum(value float64)

func (*HistogramDataPoint) SizeProto added in v1.45.0

func (orig *HistogramDataPoint) SizeProto() int

func (*HistogramDataPoint) UnmarshalJSON added in v1.45.0

func (orig *HistogramDataPoint) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*HistogramDataPoint) UnmarshalProto added in v1.45.0

func (orig *HistogramDataPoint) UnmarshalProto(buf []byte) error

type IPAddr added in v1.45.0

type IPAddr struct {
	Zone string
	IP   []byte
}

func CopyIPAddr added in v1.45.0

func CopyIPAddr(dest, src *IPAddr) *IPAddr

func CopyIPAddrPtrSlice added in v1.45.0

func CopyIPAddrPtrSlice(dest, src []*IPAddr) []*IPAddr

func CopyIPAddrSlice added in v1.45.0

func CopyIPAddrSlice(dest, src []IPAddr) []IPAddr

func GenTestIPAddr added in v1.45.0

func GenTestIPAddr() *IPAddr

func GenTestIPAddrPtrSlice added in v1.45.0

func GenTestIPAddrPtrSlice() []*IPAddr

func GenTestIPAddrSlice added in v1.45.0

func GenTestIPAddrSlice() []IPAddr

func NewIPAddr added in v1.45.0

func NewIPAddr() *IPAddr

func (*IPAddr) MarshalJSON added in v1.45.0

func (orig *IPAddr) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*IPAddr) MarshalProto added in v1.45.0

func (orig *IPAddr) MarshalProto(buf []byte) int

func (*IPAddr) Reset added in v1.45.0

func (orig *IPAddr) Reset()

func (*IPAddr) SizeProto added in v1.45.0

func (orig *IPAddr) SizeProto() int

func (*IPAddr) UnmarshalJSON added in v1.45.0

func (orig *IPAddr) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*IPAddr) UnmarshalProto added in v1.45.0

func (orig *IPAddr) UnmarshalProto(buf []byte) error

type InstrumentationScope

type InstrumentationScope struct {
	Name                   string
	Version                string
	Attributes             []KeyValue
	DroppedAttributesCount uint32
}

InstrumentationScope is a message representing the instrumentation scope information.

func CopyInstrumentationScope added in v1.45.0

func CopyInstrumentationScope(dest, src *InstrumentationScope) *InstrumentationScope

func CopyInstrumentationScopePtrSlice added in v1.45.0

func CopyInstrumentationScopePtrSlice(dest, src []*InstrumentationScope) []*InstrumentationScope

func CopyInstrumentationScopeSlice added in v1.45.0

func CopyInstrumentationScopeSlice(dest, src []InstrumentationScope) []InstrumentationScope

func GenTestInstrumentationScope added in v1.45.0

func GenTestInstrumentationScope() *InstrumentationScope

func GenTestInstrumentationScopePtrSlice added in v1.45.0

func GenTestInstrumentationScopePtrSlice() []*InstrumentationScope

func GenTestInstrumentationScopeSlice added in v1.45.0

func GenTestInstrumentationScopeSlice() []InstrumentationScope

func GetInstrumentationScopeOrig added in v1.45.0

func GetInstrumentationScopeOrig(ms InstrumentationScopeWrapper) *InstrumentationScope

func NewInstrumentationScope

func NewInstrumentationScope() *InstrumentationScope

func (*InstrumentationScope) MarshalJSON added in v1.45.0

func (orig *InstrumentationScope) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*InstrumentationScope) MarshalProto added in v1.45.0

func (orig *InstrumentationScope) MarshalProto(buf []byte) int

func (*InstrumentationScope) Reset added in v1.45.0

func (orig *InstrumentationScope) Reset()

func (*InstrumentationScope) SizeProto added in v1.45.0

func (orig *InstrumentationScope) SizeProto() int

func (*InstrumentationScope) UnmarshalJSON added in v1.45.0

func (orig *InstrumentationScope) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*InstrumentationScope) UnmarshalProto added in v1.45.0

func (orig *InstrumentationScope) UnmarshalProto(buf []byte) error

type InstrumentationScopeWrapper added in v1.45.0

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

func GenTestInstrumentationScopeWrapper added in v1.45.0

func GenTestInstrumentationScopeWrapper() InstrumentationScopeWrapper

func NewInstrumentationScopeWrapper added in v1.45.0

func NewInstrumentationScopeWrapper(orig *InstrumentationScope, state *State) InstrumentationScopeWrapper

type Int32SliceWrapper added in v1.45.0

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

func GenTestInt32SliceWrapper added in v1.45.0

func GenTestInt32SliceWrapper() Int32SliceWrapper

func NewInt32SliceWrapper added in v1.45.0

func NewInt32SliceWrapper(orig *[]int32, state *State) Int32SliceWrapper

type Int64SliceWrapper added in v1.45.0

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

func GenTestInt64SliceWrapper added in v1.45.0

func GenTestInt64SliceWrapper() Int64SliceWrapper

func NewInt64SliceWrapper added in v1.45.0

func NewInt64SliceWrapper(orig *[]int64, state *State) Int64SliceWrapper

type KeyValue added in v1.45.0

type KeyValue struct {
	Value       AnyValue
	Key         string
	KeyStrindex int32
}

func CopyKeyValue added in v1.45.0

func CopyKeyValue(dest, src *KeyValue) *KeyValue

func CopyKeyValuePtrSlice added in v1.45.0

func CopyKeyValuePtrSlice(dest, src []*KeyValue) []*KeyValue

func CopyKeyValueSlice added in v1.45.0

func CopyKeyValueSlice(dest, src []KeyValue) []KeyValue

func GenTestKeyValue added in v1.45.0

func GenTestKeyValue() *KeyValue

func GenTestKeyValuePtrSlice added in v1.45.0

func GenTestKeyValuePtrSlice() []*KeyValue

func GenTestKeyValueSlice added in v1.45.0

func GenTestKeyValueSlice() []KeyValue

func NewKeyValue added in v1.45.0

func NewKeyValue() *KeyValue

func (*KeyValue) MarshalJSON added in v1.45.0

func (orig *KeyValue) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*KeyValue) MarshalProto added in v1.45.0

func (orig *KeyValue) MarshalProto(buf []byte) int

func (*KeyValue) Reset added in v1.45.0

func (orig *KeyValue) Reset()

func (*KeyValue) SizeProto added in v1.45.0

func (orig *KeyValue) SizeProto() int

func (*KeyValue) UnmarshalJSON added in v1.45.0

func (orig *KeyValue) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*KeyValue) UnmarshalProto added in v1.45.0

func (orig *KeyValue) UnmarshalProto(buf []byte) error

type KeyValueAndUnit added in v1.45.0

type KeyValueAndUnit struct {
	Value        AnyValue
	KeyStrindex  int32
	UnitStrindex int32
}

KeyValueAndUnit represents a custom 'dictionary native' style of encoding attributes which is more convenient for profiles than opentelemetry.proto.common.v1.KeyValue.

func CopyKeyValueAndUnit added in v1.45.0

func CopyKeyValueAndUnit(dest, src *KeyValueAndUnit) *KeyValueAndUnit

func CopyKeyValueAndUnitPtrSlice added in v1.45.0

func CopyKeyValueAndUnitPtrSlice(dest, src []*KeyValueAndUnit) []*KeyValueAndUnit

func CopyKeyValueAndUnitSlice added in v1.45.0

func CopyKeyValueAndUnitSlice(dest, src []KeyValueAndUnit) []KeyValueAndUnit

func GenTestKeyValueAndUnit added in v1.45.0

func GenTestKeyValueAndUnit() *KeyValueAndUnit

func GenTestKeyValueAndUnitPtrSlice added in v1.45.0

func GenTestKeyValueAndUnitPtrSlice() []*KeyValueAndUnit

func GenTestKeyValueAndUnitSlice added in v1.45.0

func GenTestKeyValueAndUnitSlice() []KeyValueAndUnit

func NewKeyValueAndUnit added in v1.45.0

func NewKeyValueAndUnit() *KeyValueAndUnit

func (*KeyValueAndUnit) MarshalJSON added in v1.45.0

func (orig *KeyValueAndUnit) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*KeyValueAndUnit) MarshalProto added in v1.45.0

func (orig *KeyValueAndUnit) MarshalProto(buf []byte) int

func (*KeyValueAndUnit) Reset added in v1.45.0

func (orig *KeyValueAndUnit) Reset()

func (*KeyValueAndUnit) SizeProto added in v1.45.0

func (orig *KeyValueAndUnit) SizeProto() int

func (*KeyValueAndUnit) UnmarshalJSON added in v1.45.0

func (orig *KeyValueAndUnit) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*KeyValueAndUnit) UnmarshalProto added in v1.45.0

func (orig *KeyValueAndUnit) UnmarshalProto(buf []byte) error

type KeyValueList added in v1.45.0

type KeyValueList struct {
	Values []KeyValue
}

KeyValueList is a list of KeyValue messages. We need KeyValueList as a message since oneof in AnyValue does not allow repeated fields.

func CopyKeyValueList added in v1.45.0

func CopyKeyValueList(dest, src *KeyValueList) *KeyValueList

func CopyKeyValueListPtrSlice added in v1.45.0

func CopyKeyValueListPtrSlice(dest, src []*KeyValueList) []*KeyValueList

func CopyKeyValueListSlice added in v1.45.0

func CopyKeyValueListSlice(dest, src []KeyValueList) []KeyValueList

func GenTestKeyValueList added in v1.45.0

func GenTestKeyValueList() *KeyValueList

func GenTestKeyValueListPtrSlice added in v1.45.0

func GenTestKeyValueListPtrSlice() []*KeyValueList

func GenTestKeyValueListSlice added in v1.45.0

func GenTestKeyValueListSlice() []KeyValueList

func NewKeyValueList added in v1.45.0

func NewKeyValueList() *KeyValueList

func (*KeyValueList) MarshalJSON added in v1.45.0

func (orig *KeyValueList) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*KeyValueList) MarshalProto added in v1.45.0

func (orig *KeyValueList) MarshalProto(buf []byte) int

func (*KeyValueList) Reset added in v1.45.0

func (orig *KeyValueList) Reset()

func (*KeyValueList) SizeProto added in v1.45.0

func (orig *KeyValueList) SizeProto() int

func (*KeyValueList) UnmarshalJSON added in v1.45.0

func (orig *KeyValueList) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*KeyValueList) UnmarshalProto added in v1.45.0

func (orig *KeyValueList) UnmarshalProto(buf []byte) error

type Line added in v1.45.0

type Line struct {
	FunctionIndex int32
	Line          int64
	Column        int64
}

Line details a specific line in a source code, linked to a function.

func CopyLine added in v1.45.0

func CopyLine(dest, src *Line) *Line

func CopyLinePtrSlice added in v1.45.0

func CopyLinePtrSlice(dest, src []*Line) []*Line

func CopyLineSlice added in v1.45.0

func CopyLineSlice(dest, src []Line) []Line

func GenTestLine added in v1.45.0

func GenTestLine() *Line

func GenTestLinePtrSlice added in v1.45.0

func GenTestLinePtrSlice() []*Line

func GenTestLineSlice added in v1.45.0

func GenTestLineSlice() []Line

func NewLine added in v1.45.0

func NewLine() *Line

func (*Line) MarshalJSON added in v1.45.0

func (orig *Line) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*Line) MarshalProto added in v1.45.0

func (orig *Line) MarshalProto(buf []byte) int

func (*Line) Reset added in v1.45.0

func (orig *Line) Reset()

func (*Line) SizeProto added in v1.45.0

func (orig *Line) SizeProto() int

func (*Line) UnmarshalJSON added in v1.45.0

func (orig *Line) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*Line) UnmarshalProto added in v1.45.0

func (orig *Line) UnmarshalProto(buf []byte) error
type Link struct {
	TraceId TraceID
	SpanId  SpanID
}

Link represents a pointer from a profile Sample to a trace Span.

func CopyLink(dest, src *Link) *Link

func CopyLinkPtrSlice added in v1.45.0

func CopyLinkPtrSlice(dest, src []*Link) []*Link

func CopyLinkSlice added in v1.45.0

func CopyLinkSlice(dest, src []Link) []Link
func GenTestLink() *Link

func GenTestLinkPtrSlice added in v1.45.0

func GenTestLinkPtrSlice() []*Link

func GenTestLinkSlice added in v1.45.0

func GenTestLinkSlice() []Link
func NewLink() *Link

func (*Link) MarshalJSON added in v1.45.0

func (orig *Link) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*Link) MarshalProto added in v1.45.0

func (orig *Link) MarshalProto(buf []byte) int

func (*Link) Reset added in v1.45.0

func (orig *Link) Reset()

func (*Link) SizeProto added in v1.45.0

func (orig *Link) SizeProto() int

func (*Link) UnmarshalJSON added in v1.45.0

func (orig *Link) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*Link) UnmarshalProto added in v1.45.0

func (orig *Link) UnmarshalProto(buf []byte) error

type Location added in v1.45.0

type Location struct {
	Lines            []*Line
	AttributeIndices []int32
	Address          uint64
	MappingIndex     int32
}

Location describes function and line table debug information.

func CopyLocation added in v1.45.0

func CopyLocation(dest, src *Location) *Location

func CopyLocationPtrSlice added in v1.45.0

func CopyLocationPtrSlice(dest, src []*Location) []*Location

func CopyLocationSlice added in v1.45.0

func CopyLocationSlice(dest, src []Location) []Location

func GenTestLocation added in v1.45.0

func GenTestLocation() *Location

func GenTestLocationPtrSlice added in v1.45.0

func GenTestLocationPtrSlice() []*Location

func GenTestLocationSlice added in v1.45.0

func GenTestLocationSlice() []Location

func NewLocation added in v1.45.0

func NewLocation() *Location

func (*Location) MarshalJSON added in v1.45.0

func (orig *Location) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*Location) MarshalProto added in v1.45.0

func (orig *Location) MarshalProto(buf []byte) int

func (*Location) Reset added in v1.45.0

func (orig *Location) Reset()

func (*Location) SizeProto added in v1.45.0

func (orig *Location) SizeProto() int

func (*Location) UnmarshalJSON added in v1.45.0

func (orig *Location) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*Location) UnmarshalProto added in v1.45.0

func (orig *Location) UnmarshalProto(buf []byte) error

type LogRecord

type LogRecord struct {
	Body                   AnyValue
	SeverityText           string
	EventName              string
	Attributes             []KeyValue
	TimeUnixNano           uint64
	ObservedTimeUnixNano   uint64
	SeverityNumber         SeverityNumber
	DroppedAttributesCount uint32
	Flags                  uint32
	TraceId                TraceID
	SpanId                 SpanID
}

func CopyLogRecord added in v1.45.0

func CopyLogRecord(dest, src *LogRecord) *LogRecord

func CopyLogRecordPtrSlice added in v1.45.0

func CopyLogRecordPtrSlice(dest, src []*LogRecord) []*LogRecord

func CopyLogRecordSlice added in v1.45.0

func CopyLogRecordSlice(dest, src []LogRecord) []LogRecord

func GenTestLogRecord added in v1.45.0

func GenTestLogRecord() *LogRecord

func GenTestLogRecordPtrSlice added in v1.45.0

func GenTestLogRecordPtrSlice() []*LogRecord

func GenTestLogRecordSlice added in v1.45.0

func GenTestLogRecordSlice() []LogRecord

func NewLogRecord

func NewLogRecord() *LogRecord

func (*LogRecord) MarshalJSON added in v1.45.0

func (orig *LogRecord) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*LogRecord) MarshalProto added in v1.45.0

func (orig *LogRecord) MarshalProto(buf []byte) int

func (*LogRecord) Reset added in v1.45.0

func (orig *LogRecord) Reset()

func (*LogRecord) SizeProto added in v1.45.0

func (orig *LogRecord) SizeProto() int

func (*LogRecord) UnmarshalJSON added in v1.45.0

func (orig *LogRecord) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*LogRecord) UnmarshalProto added in v1.45.0

func (orig *LogRecord) UnmarshalProto(buf []byte) error

type LogsData added in v1.45.0

type LogsData struct {
	ResourceLogs []*ResourceLogs
}

LogsData represents the logs data that can be stored in a persistent storage, OR can be embedded by other protocols that transfer OTLP logs data but do not implement the OTLP protocol.

func CopyLogsData added in v1.45.0

func CopyLogsData(dest, src *LogsData) *LogsData

func CopyLogsDataPtrSlice added in v1.45.0

func CopyLogsDataPtrSlice(dest, src []*LogsData) []*LogsData

func CopyLogsDataSlice added in v1.45.0

func CopyLogsDataSlice(dest, src []LogsData) []LogsData

func GenTestLogsData added in v1.45.0

func GenTestLogsData() *LogsData

func GenTestLogsDataPtrSlice added in v1.45.0

func GenTestLogsDataPtrSlice() []*LogsData

func GenTestLogsDataSlice added in v1.45.0

func GenTestLogsDataSlice() []LogsData

func LogsToProto added in v0.50.0

func LogsToProto(l LogsWrapper) LogsData

LogsToProto internal helper to convert Logs to protobuf representation.

func NewLogsData added in v1.45.0

func NewLogsData() *LogsData

func (*LogsData) MarshalJSON added in v1.45.0

func (orig *LogsData) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*LogsData) MarshalProto added in v1.45.0

func (orig *LogsData) MarshalProto(buf []byte) int

func (*LogsData) Reset added in v1.45.0

func (orig *LogsData) Reset()

func (*LogsData) SizeProto added in v1.45.0

func (orig *LogsData) SizeProto() int

func (*LogsData) UnmarshalJSON added in v1.45.0

func (orig *LogsData) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*LogsData) UnmarshalProto added in v1.45.0

func (orig *LogsData) UnmarshalProto(buf []byte) error

type LogsRequest added in v1.45.0

type LogsRequest struct {
	RequestContext *RequestContext
	LogsData       LogsData
	FormatVersion  uint32
}

func CopyLogsRequest added in v1.45.0

func CopyLogsRequest(dest, src *LogsRequest) *LogsRequest

func CopyLogsRequestPtrSlice added in v1.45.0

func CopyLogsRequestPtrSlice(dest, src []*LogsRequest) []*LogsRequest

func CopyLogsRequestSlice added in v1.45.0

func CopyLogsRequestSlice(dest, src []LogsRequest) []LogsRequest

func GenTestLogsRequest added in v1.45.0

func GenTestLogsRequest() *LogsRequest

func GenTestLogsRequestPtrSlice added in v1.45.0

func GenTestLogsRequestPtrSlice() []*LogsRequest

func GenTestLogsRequestSlice added in v1.45.0

func GenTestLogsRequestSlice() []LogsRequest

func NewLogsRequest added in v1.45.0

func NewLogsRequest() *LogsRequest

func (*LogsRequest) MarshalJSON added in v1.45.0

func (orig *LogsRequest) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*LogsRequest) MarshalProto added in v1.45.0

func (orig *LogsRequest) MarshalProto(buf []byte) int

func (*LogsRequest) Reset added in v1.45.0

func (orig *LogsRequest) Reset()

func (*LogsRequest) SizeProto added in v1.45.0

func (orig *LogsRequest) SizeProto() int

func (*LogsRequest) UnmarshalJSON added in v1.45.0

func (orig *LogsRequest) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*LogsRequest) UnmarshalProto added in v1.45.0

func (orig *LogsRequest) UnmarshalProto(buf []byte) error

type LogsWrapper added in v1.45.0

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

func GenTestLogsWrapper added in v1.45.0

func GenTestLogsWrapper() LogsWrapper

func LogsFromProto added in v0.50.0

func LogsFromProto(orig LogsData) LogsWrapper

LogsFromProto internal helper to convert protobuf representation to Logs. This function set exclusive state assuming that it's called only once per Logs.

func NewLogsWrapper added in v1.45.0

func NewLogsWrapper(orig *ExportLogsServiceRequest, state *State) LogsWrapper

type MapWrapper added in v1.45.0

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

func GenTestMapWrapper added in v1.45.0

func GenTestMapWrapper() MapWrapper

func NewMapWrapper added in v1.45.0

func NewMapWrapper(orig *[]KeyValue, state *State) MapWrapper

type Mapping added in v1.45.0

type Mapping struct {
	AttributeIndices []int32
	MemoryStart      uint64
	MemoryLimit      uint64
	FileOffset       uint64
	FilenameStrindex int32
}

Mapping describes the mapping of a binary in memory, including its address range, file offset, and metadata like build ID

func CopyMapping added in v1.45.0

func CopyMapping(dest, src *Mapping) *Mapping

func CopyMappingPtrSlice added in v1.45.0

func CopyMappingPtrSlice(dest, src []*Mapping) []*Mapping

func CopyMappingSlice added in v1.45.0

func CopyMappingSlice(dest, src []Mapping) []Mapping

func GenTestMapping added in v1.45.0

func GenTestMapping() *Mapping

func GenTestMappingPtrSlice added in v1.45.0

func GenTestMappingPtrSlice() []*Mapping

func GenTestMappingSlice added in v1.45.0

func GenTestMappingSlice() []Mapping

func NewMapping added in v1.45.0

func NewMapping() *Mapping

func (*Mapping) MarshalJSON added in v1.45.0

func (orig *Mapping) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*Mapping) MarshalProto added in v1.45.0

func (orig *Mapping) MarshalProto(buf []byte) int

func (*Mapping) Reset added in v1.45.0

func (orig *Mapping) Reset()

func (*Mapping) SizeProto added in v1.45.0

func (orig *Mapping) SizeProto() int

func (*Mapping) UnmarshalJSON added in v1.45.0

func (orig *Mapping) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*Mapping) UnmarshalProto added in v1.45.0

func (orig *Mapping) UnmarshalProto(buf []byte) error

type Metric

type Metric struct {
	Name        string
	Description string
	Unit        string
	Data        any
	Metadata    []KeyValue
}

Metric represents one metric as a collection of datapoints. See Metric definition in OTLP: https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/metrics/v1/metrics.proto

func CopyMetric added in v1.45.0

func CopyMetric(dest, src *Metric) *Metric

func CopyMetricPtrSlice added in v1.45.0

func CopyMetricPtrSlice(dest, src []*Metric) []*Metric

func CopyMetricSlice added in v1.45.0

func CopyMetricSlice(dest, src []Metric) []Metric

func GenTestMetric added in v1.45.0

func GenTestMetric() *Metric

func GenTestMetricPtrSlice added in v1.45.0

func GenTestMetricPtrSlice() []*Metric

func GenTestMetricSlice added in v1.45.0

func GenTestMetricSlice() []Metric

func NewMetric

func NewMetric() *Metric

func (*Metric) GetData added in v1.45.0

func (m *Metric) GetData() any

func (*Metric) GetExponentialHistogram added in v1.45.0

func (m *Metric) GetExponentialHistogram() *ExponentialHistogram

func (*Metric) GetGauge added in v1.45.0

func (m *Metric) GetGauge() *Gauge

func (*Metric) GetHistogram added in v1.45.0

func (m *Metric) GetHistogram() *Histogram

func (*Metric) GetSum added in v1.45.0

func (m *Metric) GetSum() *Sum

func (*Metric) GetSummary added in v1.45.0

func (m *Metric) GetSummary() *Summary

func (*Metric) MarshalJSON added in v1.45.0

func (orig *Metric) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*Metric) MarshalProto added in v1.45.0

func (orig *Metric) MarshalProto(buf []byte) int

func (*Metric) Reset added in v1.45.0

func (orig *Metric) Reset()

func (*Metric) SizeProto added in v1.45.0

func (orig *Metric) SizeProto() int

func (*Metric) UnmarshalJSON added in v1.45.0

func (orig *Metric) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*Metric) UnmarshalProto added in v1.45.0

func (orig *Metric) UnmarshalProto(buf []byte) error

type Metric_ExponentialHistogram added in v1.45.0

type Metric_ExponentialHistogram struct {
	ExponentialHistogram *ExponentialHistogram
}

type Metric_Gauge added in v1.45.0

type Metric_Gauge struct {
	Gauge *Gauge
}

type Metric_Histogram added in v1.45.0

type Metric_Histogram struct {
	Histogram *Histogram
}

type Metric_Sum added in v1.45.0

type Metric_Sum struct {
	Sum *Sum
}

type Metric_Summary added in v1.45.0

type Metric_Summary struct {
	Summary *Summary
}

type MetricsData added in v1.45.0

type MetricsData struct {
	ResourceMetrics []*ResourceMetrics
}

MetricsData represents the metrics data that can be stored in a persistent storage, OR can be embedded by other protocols that transfer OTLP metrics data but do not implement the OTLP protocol..

func CopyMetricsData added in v1.45.0

func CopyMetricsData(dest, src *MetricsData) *MetricsData

func CopyMetricsDataPtrSlice added in v1.45.0

func CopyMetricsDataPtrSlice(dest, src []*MetricsData) []*MetricsData

func CopyMetricsDataSlice added in v1.45.0

func CopyMetricsDataSlice(dest, src []MetricsData) []MetricsData

func GenTestMetricsData added in v1.45.0

func GenTestMetricsData() *MetricsData

func GenTestMetricsDataPtrSlice added in v1.45.0

func GenTestMetricsDataPtrSlice() []*MetricsData

func GenTestMetricsDataSlice added in v1.45.0

func GenTestMetricsDataSlice() []MetricsData

func MetricsToProto added in v0.50.0

func MetricsToProto(l MetricsWrapper) MetricsData

MetricsToProto internal helper to convert Metrics to protobuf representation.

func NewMetricsData added in v1.45.0

func NewMetricsData() *MetricsData

func (*MetricsData) MarshalJSON added in v1.45.0

func (orig *MetricsData) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*MetricsData) MarshalProto added in v1.45.0

func (orig *MetricsData) MarshalProto(buf []byte) int

func (*MetricsData) Reset added in v1.45.0

func (orig *MetricsData) Reset()

func (*MetricsData) SizeProto added in v1.45.0

func (orig *MetricsData) SizeProto() int

func (*MetricsData) UnmarshalJSON added in v1.45.0

func (orig *MetricsData) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*MetricsData) UnmarshalProto added in v1.45.0

func (orig *MetricsData) UnmarshalProto(buf []byte) error

type MetricsRequest added in v1.45.0

type MetricsRequest struct {
	RequestContext *RequestContext
	MetricsData    MetricsData
	FormatVersion  uint32
}

func CopyMetricsRequest added in v1.45.0

func CopyMetricsRequest(dest, src *MetricsRequest) *MetricsRequest

func CopyMetricsRequestPtrSlice added in v1.45.0

func CopyMetricsRequestPtrSlice(dest, src []*MetricsRequest) []*MetricsRequest

func CopyMetricsRequestSlice added in v1.45.0

func CopyMetricsRequestSlice(dest, src []MetricsRequest) []MetricsRequest

func GenTestMetricsRequest added in v1.45.0

func GenTestMetricsRequest() *MetricsRequest

func GenTestMetricsRequestPtrSlice added in v1.45.0

func GenTestMetricsRequestPtrSlice() []*MetricsRequest

func GenTestMetricsRequestSlice added in v1.45.0

func GenTestMetricsRequestSlice() []MetricsRequest

func NewMetricsRequest added in v1.45.0

func NewMetricsRequest() *MetricsRequest

func (*MetricsRequest) MarshalJSON added in v1.45.0

func (orig *MetricsRequest) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*MetricsRequest) MarshalProto added in v1.45.0

func (orig *MetricsRequest) MarshalProto(buf []byte) int

func (*MetricsRequest) Reset added in v1.45.0

func (orig *MetricsRequest) Reset()

func (*MetricsRequest) SizeProto added in v1.45.0

func (orig *MetricsRequest) SizeProto() int

func (*MetricsRequest) UnmarshalJSON added in v1.45.0

func (orig *MetricsRequest) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*MetricsRequest) UnmarshalProto added in v1.45.0

func (orig *MetricsRequest) UnmarshalProto(buf []byte) error

type MetricsWrapper added in v1.45.0

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

func GenTestMetricsWrapper added in v1.45.0

func GenTestMetricsWrapper() MetricsWrapper

func MetricsFromProto added in v0.50.0

func MetricsFromProto(orig MetricsData) MetricsWrapper

MetricsFromProto internal helper to convert protobuf representation to Metrics. This function set exclusive state assuming that it's called only once per Metrics.

func NewMetricsWrapper added in v1.45.0

func NewMetricsWrapper(orig *ExportMetricsServiceRequest, state *State) MetricsWrapper

type NumberDataPoint

type NumberDataPoint struct {
	Value             any
	Attributes        []KeyValue
	Exemplars         []Exemplar
	StartTimeUnixNano uint64
	TimeUnixNano      uint64
	Flags             uint32
}

NumberDataPoint is a single data point in a timeseries that describes the time-varying value of a number metric.

func CopyNumberDataPoint added in v1.45.0

func CopyNumberDataPoint(dest, src *NumberDataPoint) *NumberDataPoint

func CopyNumberDataPointPtrSlice added in v1.45.0

func CopyNumberDataPointPtrSlice(dest, src []*NumberDataPoint) []*NumberDataPoint

func CopyNumberDataPointSlice added in v1.45.0

func CopyNumberDataPointSlice(dest, src []NumberDataPoint) []NumberDataPoint

func GenTestNumberDataPoint added in v1.45.0

func GenTestNumberDataPoint() *NumberDataPoint

func GenTestNumberDataPointPtrSlice added in v1.45.0

func GenTestNumberDataPointPtrSlice() []*NumberDataPoint

func GenTestNumberDataPointSlice added in v1.45.0

func GenTestNumberDataPointSlice() []NumberDataPoint

func NewNumberDataPoint

func NewNumberDataPoint() *NumberDataPoint

func (*NumberDataPoint) GetAsDouble added in v1.45.0

func (m *NumberDataPoint) GetAsDouble() float64

func (*NumberDataPoint) GetAsInt added in v1.45.0

func (m *NumberDataPoint) GetAsInt() int64

func (*NumberDataPoint) GetValue added in v1.45.0

func (m *NumberDataPoint) GetValue() any

func (*NumberDataPoint) MarshalJSON added in v1.45.0

func (orig *NumberDataPoint) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*NumberDataPoint) MarshalProto added in v1.45.0

func (orig *NumberDataPoint) MarshalProto(buf []byte) int

func (*NumberDataPoint) Reset added in v1.45.0

func (orig *NumberDataPoint) Reset()

func (*NumberDataPoint) SizeProto added in v1.45.0

func (orig *NumberDataPoint) SizeProto() int

func (*NumberDataPoint) UnmarshalJSON added in v1.45.0

func (orig *NumberDataPoint) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*NumberDataPoint) UnmarshalProto added in v1.45.0

func (orig *NumberDataPoint) UnmarshalProto(buf []byte) error

type NumberDataPoint_AsDouble added in v1.45.0

type NumberDataPoint_AsDouble struct {
	AsDouble float64
}

type NumberDataPoint_AsInt added in v1.45.0

type NumberDataPoint_AsInt struct {
	AsInt int64
}

type Profile added in v1.45.0

type Profile struct {
	OriginalPayloadFormat  string
	Samples                []*Sample
	OriginalPayload        []byte
	AttributeIndices       []int32
	TimeUnixNano           uint64
	DurationNano           uint64
	Period                 int64
	SampleType             ValueType
	PeriodType             ValueType
	DroppedAttributesCount uint32
	ProfileId              ProfileID
}

func CopyProfile added in v1.45.0

func CopyProfile(dest, src *Profile) *Profile

func CopyProfilePtrSlice added in v1.45.0

func CopyProfilePtrSlice(dest, src []*Profile) []*Profile

func CopyProfileSlice added in v1.45.0

func CopyProfileSlice(dest, src []Profile) []Profile

func GenTestProfile added in v1.45.0

func GenTestProfile() *Profile

func GenTestProfilePtrSlice added in v1.45.0

func GenTestProfilePtrSlice() []*Profile

func GenTestProfileSlice added in v1.45.0

func GenTestProfileSlice() []Profile

func NewProfile added in v1.45.0

func NewProfile() *Profile

func (*Profile) MarshalJSON added in v1.45.0

func (orig *Profile) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*Profile) MarshalProto added in v1.45.0

func (orig *Profile) MarshalProto(buf []byte) int

func (*Profile) Reset added in v1.45.0

func (orig *Profile) Reset()

func (*Profile) SizeProto added in v1.45.0

func (orig *Profile) SizeProto() int

func (*Profile) UnmarshalJSON added in v1.45.0

func (orig *Profile) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*Profile) UnmarshalProto added in v1.45.0

func (orig *Profile) UnmarshalProto(buf []byte) error

type ProfileID added in v1.45.0

type ProfileID [profileIDSize]byte

ProfileID is a custom data type that is used for all profile_id fields in OTLP Protobuf messages.

func GenTestProfileID added in v1.45.0

func GenTestProfileID() *ProfileID

func (ProfileID) IsEmpty added in v1.45.0

func (pid ProfileID) IsEmpty() bool

IsEmpty returns true if id contains at leas one non-zero byte.

func (ProfileID) MarshalJSON added in v1.45.0

func (pid ProfileID) MarshalJSON(dest *json.Stream)

MarshalJSON converts ProfileID into a hex string.

func (ProfileID) MarshalProto added in v1.45.0

func (pid ProfileID) MarshalProto(buf []byte) int

MarshalProto converts profile ID into a binary representation. Called by Protobuf serialization.

func (ProfileID) SizeProto added in v1.45.0

func (pid ProfileID) SizeProto() int

SizeProto returns the size of the data to serialize in proto format.

func (*ProfileID) UnmarshalJSON added in v1.45.0

func (pid *ProfileID) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON decodes ProfileID from hex string.

func (*ProfileID) UnmarshalProto added in v1.45.0

func (pid *ProfileID) UnmarshalProto(buf []byte) error

UnmarshalProto inflates this profile ID from binary representation. Called by Protobuf serialization.

type ProfilesData added in v1.45.0

type ProfilesData struct {
	ResourceProfiles []*ResourceProfiles
	Dictionary       ProfilesDictionary
}

ProfilesData represents the profiles data that can be stored in persistent storage, OR can be embedded by other protocols that transfer OTLP profiles data but do not implement the OTLP protocol.

func CopyProfilesData added in v1.45.0

func CopyProfilesData(dest, src *ProfilesData) *ProfilesData

func CopyProfilesDataPtrSlice added in v1.45.0

func CopyProfilesDataPtrSlice(dest, src []*ProfilesData) []*ProfilesData

func CopyProfilesDataSlice added in v1.45.0

func CopyProfilesDataSlice(dest, src []ProfilesData) []ProfilesData

func GenTestProfilesData added in v1.45.0

func GenTestProfilesData() *ProfilesData

func GenTestProfilesDataPtrSlice added in v1.45.0

func GenTestProfilesDataPtrSlice() []*ProfilesData

func GenTestProfilesDataSlice added in v1.45.0

func GenTestProfilesDataSlice() []ProfilesData

func GetProfilesDataOrig added in v1.45.0

func GetProfilesDataOrig(ms ProfilesDataWrapper) *ProfilesData

func NewProfilesData added in v1.45.0

func NewProfilesData() *ProfilesData

func ProfilesToProto added in v1.11.0

func ProfilesToProto(l ProfilesWrapper) ProfilesData

ProfilesToProto internal helper to convert Profiles to protobuf representation.

func (*ProfilesData) MarshalJSON added in v1.45.0

func (orig *ProfilesData) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*ProfilesData) MarshalProto added in v1.45.0

func (orig *ProfilesData) MarshalProto(buf []byte) int

func (*ProfilesData) Reset added in v1.45.0

func (orig *ProfilesData) Reset()

func (*ProfilesData) SizeProto added in v1.45.0

func (orig *ProfilesData) SizeProto() int

func (*ProfilesData) UnmarshalJSON added in v1.45.0

func (orig *ProfilesData) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*ProfilesData) UnmarshalProto added in v1.45.0

func (orig *ProfilesData) UnmarshalProto(buf []byte) error

type ProfilesDataWrapper added in v1.45.0

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

func GenTestProfilesDataWrapper added in v1.45.0

func GenTestProfilesDataWrapper() ProfilesDataWrapper

func NewProfilesDataWrapper added in v1.45.0

func NewProfilesDataWrapper(orig *ProfilesData, state *State) ProfilesDataWrapper

type ProfilesDictionary added in v1.45.0

type ProfilesDictionary struct {
	MappingTable   []*Mapping
	LocationTable  []*Location
	FunctionTable  []*Function
	LinkTable      []*Link
	StringTable    []string
	AttributeTable []*KeyValueAndUnit
	StackTable     []*Stack
}

ProfilesDictionary is the reference table containing all data shared by profiles across the message being sent.

func CopyProfilesDictionary added in v1.45.0

func CopyProfilesDictionary(dest, src *ProfilesDictionary) *ProfilesDictionary

func CopyProfilesDictionaryPtrSlice added in v1.45.0

func CopyProfilesDictionaryPtrSlice(dest, src []*ProfilesDictionary) []*ProfilesDictionary

func CopyProfilesDictionarySlice added in v1.45.0

func CopyProfilesDictionarySlice(dest, src []ProfilesDictionary) []ProfilesDictionary

func GenTestProfilesDictionary added in v1.45.0

func GenTestProfilesDictionary() *ProfilesDictionary

func GenTestProfilesDictionaryPtrSlice added in v1.45.0

func GenTestProfilesDictionaryPtrSlice() []*ProfilesDictionary

func GenTestProfilesDictionarySlice added in v1.45.0

func GenTestProfilesDictionarySlice() []ProfilesDictionary

func NewProfilesDictionary added in v1.45.0

func NewProfilesDictionary() *ProfilesDictionary

func (*ProfilesDictionary) MarshalJSON added in v1.45.0

func (orig *ProfilesDictionary) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*ProfilesDictionary) MarshalProto added in v1.45.0

func (orig *ProfilesDictionary) MarshalProto(buf []byte) int

func (*ProfilesDictionary) Reset added in v1.45.0

func (orig *ProfilesDictionary) Reset()

func (*ProfilesDictionary) SizeProto added in v1.45.0

func (orig *ProfilesDictionary) SizeProto() int

func (*ProfilesDictionary) UnmarshalJSON added in v1.45.0

func (orig *ProfilesDictionary) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*ProfilesDictionary) UnmarshalProto added in v1.45.0

func (orig *ProfilesDictionary) UnmarshalProto(buf []byte) error

type ProfilesRequest added in v1.45.0

type ProfilesRequest struct {
	RequestContext *RequestContext
	ProfilesData   ProfilesData
	FormatVersion  uint32
}

func CopyProfilesRequest added in v1.45.0

func CopyProfilesRequest(dest, src *ProfilesRequest) *ProfilesRequest

func CopyProfilesRequestPtrSlice added in v1.45.0

func CopyProfilesRequestPtrSlice(dest, src []*ProfilesRequest) []*ProfilesRequest

func CopyProfilesRequestSlice added in v1.45.0

func CopyProfilesRequestSlice(dest, src []ProfilesRequest) []ProfilesRequest

func GenTestProfilesRequest added in v1.45.0

func GenTestProfilesRequest() *ProfilesRequest

func GenTestProfilesRequestPtrSlice added in v1.45.0

func GenTestProfilesRequestPtrSlice() []*ProfilesRequest

func GenTestProfilesRequestSlice added in v1.45.0

func GenTestProfilesRequestSlice() []ProfilesRequest

func NewProfilesRequest added in v1.45.0

func NewProfilesRequest() *ProfilesRequest

func (*ProfilesRequest) MarshalJSON added in v1.45.0

func (orig *ProfilesRequest) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*ProfilesRequest) MarshalProto added in v1.45.0

func (orig *ProfilesRequest) MarshalProto(buf []byte) int

func (*ProfilesRequest) Reset added in v1.45.0

func (orig *ProfilesRequest) Reset()

func (*ProfilesRequest) SizeProto added in v1.45.0

func (orig *ProfilesRequest) SizeProto() int

func (*ProfilesRequest) UnmarshalJSON added in v1.45.0

func (orig *ProfilesRequest) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*ProfilesRequest) UnmarshalProto added in v1.45.0

func (orig *ProfilesRequest) UnmarshalProto(buf []byte) error

type ProfilesWrapper added in v1.45.0

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

func GenTestProfilesWrapper added in v1.45.0

func GenTestProfilesWrapper() ProfilesWrapper

func NewProfilesWrapper added in v1.45.0

func NewProfilesWrapper(orig *ExportProfilesServiceRequest, state *State) ProfilesWrapper

func ProfilesFromProto added in v1.11.0

func ProfilesFromProto(orig ProfilesData) ProfilesWrapper

ProfilesFromProto internal helper to convert protobuf representation to Profiles. This function set exclusive state assuming that it's called only once per Profiles.

type RequestContext added in v1.45.0

type RequestContext struct {
	ClientAddress  any
	SpanContext    *SpanContext
	ClientMetadata []KeyValue
}

func CopyRequestContext added in v1.45.0

func CopyRequestContext(dest, src *RequestContext) *RequestContext

func CopyRequestContextPtrSlice added in v1.45.0

func CopyRequestContextPtrSlice(dest, src []*RequestContext) []*RequestContext

func CopyRequestContextSlice added in v1.45.0

func CopyRequestContextSlice(dest, src []RequestContext) []RequestContext

func GenTestRequestContext added in v1.45.0

func GenTestRequestContext() *RequestContext

func GenTestRequestContextPtrSlice added in v1.45.0

func GenTestRequestContextPtrSlice() []*RequestContext

func GenTestRequestContextSlice added in v1.45.0

func GenTestRequestContextSlice() []RequestContext

func NewRequestContext added in v1.45.0

func NewRequestContext() *RequestContext

func (*RequestContext) GetClientAddress added in v1.45.0

func (m *RequestContext) GetClientAddress() any

func (*RequestContext) GetIP added in v1.45.0

func (m *RequestContext) GetIP() *IPAddr

func (*RequestContext) GetTCP added in v1.45.0

func (m *RequestContext) GetTCP() *TCPAddr

func (*RequestContext) GetUDP added in v1.45.0

func (m *RequestContext) GetUDP() *UDPAddr

func (*RequestContext) GetUnix added in v1.45.0

func (m *RequestContext) GetUnix() *UnixAddr

func (*RequestContext) MarshalJSON added in v1.45.0

func (orig *RequestContext) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*RequestContext) MarshalProto added in v1.45.0

func (orig *RequestContext) MarshalProto(buf []byte) int

func (*RequestContext) Reset added in v1.45.0

func (orig *RequestContext) Reset()

func (*RequestContext) SizeProto added in v1.45.0

func (orig *RequestContext) SizeProto() int

func (*RequestContext) UnmarshalJSON added in v1.45.0

func (orig *RequestContext) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*RequestContext) UnmarshalProto added in v1.45.0

func (orig *RequestContext) UnmarshalProto(buf []byte) error

type RequestContext_IP added in v1.45.0

type RequestContext_IP struct {
	IP *IPAddr
}

type RequestContext_TCP added in v1.45.0

type RequestContext_TCP struct {
	TCP *TCPAddr
}

type RequestContext_UDP added in v1.45.0

type RequestContext_UDP struct {
	UDP *UDPAddr
}

type RequestContext_Unix added in v1.45.0

type RequestContext_Unix struct {
	Unix *UnixAddr
}

type Resource

type Resource struct {
	Attributes             []KeyValue
	EntityRefs             []*EntityRef
	DroppedAttributesCount uint32
}

Resource is a message representing the resource information.

func CopyResource added in v1.45.0

func CopyResource(dest, src *Resource) *Resource

func CopyResourcePtrSlice added in v1.45.0

func CopyResourcePtrSlice(dest, src []*Resource) []*Resource

func CopyResourceSlice added in v1.45.0

func CopyResourceSlice(dest, src []Resource) []Resource

func GenTestResource added in v1.45.0

func GenTestResource() *Resource

func GenTestResourcePtrSlice added in v1.45.0

func GenTestResourcePtrSlice() []*Resource

func GenTestResourceSlice added in v1.45.0

func GenTestResourceSlice() []Resource

func GetResourceOrig added in v1.45.0

func GetResourceOrig(ms ResourceWrapper) *Resource

func NewResource

func NewResource() *Resource

func (*Resource) MarshalJSON added in v1.45.0

func (orig *Resource) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*Resource) MarshalProto added in v1.45.0

func (orig *Resource) MarshalProto(buf []byte) int

func (*Resource) Reset added in v1.45.0

func (orig *Resource) Reset()

func (*Resource) SizeProto added in v1.45.0

func (orig *Resource) SizeProto() int

func (*Resource) UnmarshalJSON added in v1.45.0

func (orig *Resource) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*Resource) UnmarshalProto added in v1.45.0

func (orig *Resource) UnmarshalProto(buf []byte) error

type ResourceLogs

type ResourceLogs struct {
	Resource            Resource
	ScopeLogs           []*ScopeLogs
	SchemaUrl           string
	DeprecatedScopeLogs []*ScopeLogs
}

ResourceLogs is a collection of logs from a Resource.

func CopyResourceLogs added in v1.45.0

func CopyResourceLogs(dest, src *ResourceLogs) *ResourceLogs

func CopyResourceLogsPtrSlice added in v1.45.0

func CopyResourceLogsPtrSlice(dest, src []*ResourceLogs) []*ResourceLogs

func CopyResourceLogsSlice added in v1.45.0

func CopyResourceLogsSlice(dest, src []ResourceLogs) []ResourceLogs

func GenTestResourceLogs added in v1.45.0

func GenTestResourceLogs() *ResourceLogs

func GenTestResourceLogsPtrSlice added in v1.45.0

func GenTestResourceLogsPtrSlice() []*ResourceLogs

func GenTestResourceLogsSlice added in v1.45.0

func GenTestResourceLogsSlice() []ResourceLogs

func NewResourceLogs

func NewResourceLogs() *ResourceLogs

func (*ResourceLogs) MarshalJSON added in v1.45.0

func (orig *ResourceLogs) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*ResourceLogs) MarshalProto added in v1.45.0

func (orig *ResourceLogs) MarshalProto(buf []byte) int

func (*ResourceLogs) Reset added in v1.45.0

func (orig *ResourceLogs) Reset()

func (*ResourceLogs) SizeProto added in v1.45.0

func (orig *ResourceLogs) SizeProto() int

func (*ResourceLogs) UnmarshalJSON added in v1.45.0

func (orig *ResourceLogs) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*ResourceLogs) UnmarshalProto added in v1.45.0

func (orig *ResourceLogs) UnmarshalProto(buf []byte) error

type ResourceMetrics

type ResourceMetrics struct {
	Resource               Resource
	ScopeMetrics           []*ScopeMetrics
	SchemaUrl              string
	DeprecatedScopeMetrics []*ScopeMetrics
}

ResourceMetrics is a collection of metrics from a Resource.

func CopyResourceMetrics added in v1.45.0

func CopyResourceMetrics(dest, src *ResourceMetrics) *ResourceMetrics

func CopyResourceMetricsPtrSlice added in v1.45.0

func CopyResourceMetricsPtrSlice(dest, src []*ResourceMetrics) []*ResourceMetrics

func CopyResourceMetricsSlice added in v1.45.0

func CopyResourceMetricsSlice(dest, src []ResourceMetrics) []ResourceMetrics

func GenTestResourceMetrics added in v1.45.0

func GenTestResourceMetrics() *ResourceMetrics

func GenTestResourceMetricsPtrSlice added in v1.45.0

func GenTestResourceMetricsPtrSlice() []*ResourceMetrics

func GenTestResourceMetricsSlice added in v1.45.0

func GenTestResourceMetricsSlice() []ResourceMetrics

func NewResourceMetrics

func NewResourceMetrics() *ResourceMetrics

func (*ResourceMetrics) MarshalJSON added in v1.45.0

func (orig *ResourceMetrics) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*ResourceMetrics) MarshalProto added in v1.45.0

func (orig *ResourceMetrics) MarshalProto(buf []byte) int

func (*ResourceMetrics) Reset added in v1.45.0

func (orig *ResourceMetrics) Reset()

func (*ResourceMetrics) SizeProto added in v1.45.0

func (orig *ResourceMetrics) SizeProto() int

func (*ResourceMetrics) UnmarshalJSON added in v1.45.0

func (orig *ResourceMetrics) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*ResourceMetrics) UnmarshalProto added in v1.45.0

func (orig *ResourceMetrics) UnmarshalProto(buf []byte) error

type ResourceProfiles added in v1.45.0

type ResourceProfiles struct {
	SchemaUrl     string
	Resource      Resource
	ScopeProfiles []*ScopeProfiles
}

ResourceProfiles is a collection of profiles from a Resource.

func CopyResourceProfiles added in v1.45.0

func CopyResourceProfiles(dest, src *ResourceProfiles) *ResourceProfiles

func CopyResourceProfilesPtrSlice added in v1.45.0

func CopyResourceProfilesPtrSlice(dest, src []*ResourceProfiles) []*ResourceProfiles

func CopyResourceProfilesSlice added in v1.45.0

func CopyResourceProfilesSlice(dest, src []ResourceProfiles) []ResourceProfiles

func GenTestResourceProfiles added in v1.45.0

func GenTestResourceProfiles() *ResourceProfiles

func GenTestResourceProfilesPtrSlice added in v1.45.0

func GenTestResourceProfilesPtrSlice() []*ResourceProfiles

func GenTestResourceProfilesSlice added in v1.45.0

func GenTestResourceProfilesSlice() []ResourceProfiles

func NewResourceProfiles added in v1.45.0

func NewResourceProfiles() *ResourceProfiles

func (*ResourceProfiles) MarshalJSON added in v1.45.0

func (orig *ResourceProfiles) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*ResourceProfiles) MarshalProto added in v1.45.0

func (orig *ResourceProfiles) MarshalProto(buf []byte) int

func (*ResourceProfiles) Reset added in v1.45.0

func (orig *ResourceProfiles) Reset()

func (*ResourceProfiles) SizeProto added in v1.45.0

func (orig *ResourceProfiles) SizeProto() int

func (*ResourceProfiles) UnmarshalJSON added in v1.45.0

func (orig *ResourceProfiles) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*ResourceProfiles) UnmarshalProto added in v1.45.0

func (orig *ResourceProfiles) UnmarshalProto(buf []byte) error

type ResourceSpans

type ResourceSpans struct {
	Resource             Resource
	ScopeSpans           []*ScopeSpans
	SchemaUrl            string
	DeprecatedScopeSpans []*ScopeSpans
}

ResourceSpans is a collection of spans from a Resource.

func CopyResourceSpans added in v1.45.0

func CopyResourceSpans(dest, src *ResourceSpans) *ResourceSpans

func CopyResourceSpansPtrSlice added in v1.45.0

func CopyResourceSpansPtrSlice(dest, src []*ResourceSpans) []*ResourceSpans

func CopyResourceSpansSlice added in v1.45.0

func CopyResourceSpansSlice(dest, src []ResourceSpans) []ResourceSpans

func GenTestResourceSpans added in v1.45.0

func GenTestResourceSpans() *ResourceSpans

func GenTestResourceSpansPtrSlice added in v1.45.0

func GenTestResourceSpansPtrSlice() []*ResourceSpans

func GenTestResourceSpansSlice added in v1.45.0

func GenTestResourceSpansSlice() []ResourceSpans

func NewResourceSpans

func NewResourceSpans() *ResourceSpans

func (*ResourceSpans) MarshalJSON added in v1.45.0

func (orig *ResourceSpans) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*ResourceSpans) MarshalProto added in v1.45.0

func (orig *ResourceSpans) MarshalProto(buf []byte) int

func (*ResourceSpans) Reset added in v1.45.0

func (orig *ResourceSpans) Reset()

func (*ResourceSpans) SizeProto added in v1.45.0

func (orig *ResourceSpans) SizeProto() int

func (*ResourceSpans) UnmarshalJSON added in v1.45.0

func (orig *ResourceSpans) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*ResourceSpans) UnmarshalProto added in v1.45.0

func (orig *ResourceSpans) UnmarshalProto(buf []byte) error

type ResourceWrapper added in v1.45.0

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

func GenTestResourceWrapper added in v1.45.0

func GenTestResourceWrapper() ResourceWrapper

func NewResourceWrapper added in v1.45.0

func NewResourceWrapper(orig *Resource, state *State) ResourceWrapper

type Sample added in v1.45.0

type Sample struct {
	AttributeIndices   []int32
	Values             []int64
	TimestampsUnixNano []uint64
	StackIndex         int32
	LinkIndex          int32
}

Sample represents each record value encountered within a profiled program.

func CopySample added in v1.45.0

func CopySample(dest, src *Sample) *Sample

func CopySamplePtrSlice added in v1.45.0

func CopySamplePtrSlice(dest, src []*Sample) []*Sample

func CopySampleSlice added in v1.45.0

func CopySampleSlice(dest, src []Sample) []Sample

func GenTestSample added in v1.45.0

func GenTestSample() *Sample

func GenTestSamplePtrSlice added in v1.45.0

func GenTestSamplePtrSlice() []*Sample

func GenTestSampleSlice added in v1.45.0

func GenTestSampleSlice() []Sample

func NewSample added in v1.45.0

func NewSample() *Sample

func (*Sample) MarshalJSON added in v1.45.0

func (orig *Sample) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*Sample) MarshalProto added in v1.45.0

func (orig *Sample) MarshalProto(buf []byte) int

func (*Sample) Reset added in v1.45.0

func (orig *Sample) Reset()

func (*Sample) SizeProto added in v1.45.0

func (orig *Sample) SizeProto() int

func (*Sample) UnmarshalJSON added in v1.45.0

func (orig *Sample) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*Sample) UnmarshalProto added in v1.45.0

func (orig *Sample) UnmarshalProto(buf []byte) error

type ScopeLogs

type ScopeLogs struct {
	SchemaUrl  string
	LogRecords []*LogRecord
	Scope      InstrumentationScope
}

ScopeLogs is a collection of logs from a LibraryInstrumentation.

func CopyScopeLogs added in v1.45.0

func CopyScopeLogs(dest, src *ScopeLogs) *ScopeLogs

func CopyScopeLogsPtrSlice added in v1.45.0

func CopyScopeLogsPtrSlice(dest, src []*ScopeLogs) []*ScopeLogs

func CopyScopeLogsSlice added in v1.45.0

func CopyScopeLogsSlice(dest, src []ScopeLogs) []ScopeLogs

func GenTestScopeLogs added in v1.45.0

func GenTestScopeLogs() *ScopeLogs

func GenTestScopeLogsPtrSlice added in v1.45.0

func GenTestScopeLogsPtrSlice() []*ScopeLogs

func GenTestScopeLogsSlice added in v1.45.0

func GenTestScopeLogsSlice() []ScopeLogs

func NewScopeLogs

func NewScopeLogs() *ScopeLogs

func (*ScopeLogs) MarshalJSON added in v1.45.0

func (orig *ScopeLogs) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*ScopeLogs) MarshalProto added in v1.45.0

func (orig *ScopeLogs) MarshalProto(buf []byte) int

func (*ScopeLogs) Reset added in v1.45.0

func (orig *ScopeLogs) Reset()

func (*ScopeLogs) SizeProto added in v1.45.0

func (orig *ScopeLogs) SizeProto() int

func (*ScopeLogs) UnmarshalJSON added in v1.45.0

func (orig *ScopeLogs) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*ScopeLogs) UnmarshalProto added in v1.45.0

func (orig *ScopeLogs) UnmarshalProto(buf []byte) error

type ScopeMetrics

type ScopeMetrics struct {
	SchemaUrl string
	Metrics   []*Metric
	Scope     InstrumentationScope
}

ScopeMetrics is a collection of metrics from a LibraryInstrumentation.

func CopyScopeMetrics added in v1.45.0

func CopyScopeMetrics(dest, src *ScopeMetrics) *ScopeMetrics

func CopyScopeMetricsPtrSlice added in v1.45.0

func CopyScopeMetricsPtrSlice(dest, src []*ScopeMetrics) []*ScopeMetrics

func CopyScopeMetricsSlice added in v1.45.0

func CopyScopeMetricsSlice(dest, src []ScopeMetrics) []ScopeMetrics

func GenTestScopeMetrics added in v1.45.0

func GenTestScopeMetrics() *ScopeMetrics

func GenTestScopeMetricsPtrSlice added in v1.45.0

func GenTestScopeMetricsPtrSlice() []*ScopeMetrics

func GenTestScopeMetricsSlice added in v1.45.0

func GenTestScopeMetricsSlice() []ScopeMetrics

func NewScopeMetrics

func NewScopeMetrics() *ScopeMetrics

func (*ScopeMetrics) MarshalJSON added in v1.45.0

func (orig *ScopeMetrics) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*ScopeMetrics) MarshalProto added in v1.45.0

func (orig *ScopeMetrics) MarshalProto(buf []byte) int

func (*ScopeMetrics) Reset added in v1.45.0

func (orig *ScopeMetrics) Reset()

func (*ScopeMetrics) SizeProto added in v1.45.0

func (orig *ScopeMetrics) SizeProto() int

func (*ScopeMetrics) UnmarshalJSON added in v1.45.0

func (orig *ScopeMetrics) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*ScopeMetrics) UnmarshalProto added in v1.45.0

func (orig *ScopeMetrics) UnmarshalProto(buf []byte) error

type ScopeProfiles added in v1.45.0

type ScopeProfiles struct {
	SchemaUrl string
	Profiles  []*Profile
	Scope     InstrumentationScope
}

ScopeProfiles is a collection of profiles from a LibraryInstrumentation.

func CopyScopeProfiles added in v1.45.0

func CopyScopeProfiles(dest, src *ScopeProfiles) *ScopeProfiles

func CopyScopeProfilesPtrSlice added in v1.45.0

func CopyScopeProfilesPtrSlice(dest, src []*ScopeProfiles) []*ScopeProfiles

func CopyScopeProfilesSlice added in v1.45.0

func CopyScopeProfilesSlice(dest, src []ScopeProfiles) []ScopeProfiles

func GenTestScopeProfiles added in v1.45.0

func GenTestScopeProfiles() *ScopeProfiles

func GenTestScopeProfilesPtrSlice added in v1.45.0

func GenTestScopeProfilesPtrSlice() []*ScopeProfiles

func GenTestScopeProfilesSlice added in v1.45.0

func GenTestScopeProfilesSlice() []ScopeProfiles

func NewScopeProfiles added in v1.45.0

func NewScopeProfiles() *ScopeProfiles

func (*ScopeProfiles) MarshalJSON added in v1.45.0

func (orig *ScopeProfiles) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*ScopeProfiles) MarshalProto added in v1.45.0

func (orig *ScopeProfiles) MarshalProto(buf []byte) int

func (*ScopeProfiles) Reset added in v1.45.0

func (orig *ScopeProfiles) Reset()

func (*ScopeProfiles) SizeProto added in v1.45.0

func (orig *ScopeProfiles) SizeProto() int

func (*ScopeProfiles) UnmarshalJSON added in v1.45.0

func (orig *ScopeProfiles) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*ScopeProfiles) UnmarshalProto added in v1.45.0

func (orig *ScopeProfiles) UnmarshalProto(buf []byte) error

type ScopeSpans

type ScopeSpans struct {
	SchemaUrl string
	Spans     []*Span
	Scope     InstrumentationScope
}

ScopeSpans is a collection of spans from a LibraryInstrumentation.

func CopyScopeSpans added in v1.45.0

func CopyScopeSpans(dest, src *ScopeSpans) *ScopeSpans

func CopyScopeSpansPtrSlice added in v1.45.0

func CopyScopeSpansPtrSlice(dest, src []*ScopeSpans) []*ScopeSpans

func CopyScopeSpansSlice added in v1.45.0

func CopyScopeSpansSlice(dest, src []ScopeSpans) []ScopeSpans

func GenTestScopeSpans added in v1.45.0

func GenTestScopeSpans() *ScopeSpans

func GenTestScopeSpansPtrSlice added in v1.45.0

func GenTestScopeSpansPtrSlice() []*ScopeSpans

func GenTestScopeSpansSlice added in v1.45.0

func GenTestScopeSpansSlice() []ScopeSpans

func NewScopeSpans

func NewScopeSpans() *ScopeSpans

func (*ScopeSpans) MarshalJSON added in v1.45.0

func (orig *ScopeSpans) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*ScopeSpans) MarshalProto added in v1.45.0

func (orig *ScopeSpans) MarshalProto(buf []byte) int

func (*ScopeSpans) Reset added in v1.45.0

func (orig *ScopeSpans) Reset()

func (*ScopeSpans) SizeProto added in v1.45.0

func (orig *ScopeSpans) SizeProto() int

func (*ScopeSpans) UnmarshalJSON added in v1.45.0

func (orig *ScopeSpans) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*ScopeSpans) UnmarshalProto added in v1.45.0

func (orig *ScopeSpans) UnmarshalProto(buf []byte) error

type SeverityNumber

type SeverityNumber int32

SeverityNumber represent possible values for LogRecord.SeverityNumber

type SliceWrapper added in v1.45.0

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

func GenTestSliceWrapper added in v1.45.0

func GenTestSliceWrapper() SliceWrapper

func NewSliceWrapper added in v1.45.0

func NewSliceWrapper(orig *[]AnyValue, state *State) SliceWrapper

type Span

type Span struct {
	TraceState             string
	Name                   string
	Attributes             []KeyValue
	Events                 []*SpanEvent
	Links                  []*SpanLink
	Status                 Status
	StartTimeUnixNano      uint64
	EndTimeUnixNano        uint64
	Flags                  uint32
	Kind                   SpanKind
	DroppedAttributesCount uint32
	DroppedEventsCount     uint32
	DroppedLinksCount      uint32
	TraceId                TraceID
	SpanId                 SpanID
	ParentSpanId           SpanID
}

Span represents a single operation within a trace. See Span definition in OTLP: https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/trace/v1/trace.proto

func CopySpan added in v1.45.0

func CopySpan(dest, src *Span) *Span

func CopySpanPtrSlice added in v1.45.0

func CopySpanPtrSlice(dest, src []*Span) []*Span

func CopySpanSlice added in v1.45.0

func CopySpanSlice(dest, src []Span) []Span

func GenTestSpan added in v1.45.0

func GenTestSpan() *Span

func GenTestSpanPtrSlice added in v1.45.0

func GenTestSpanPtrSlice() []*Span

func GenTestSpanSlice added in v1.45.0

func GenTestSpanSlice() []Span

func NewSpan

func NewSpan() *Span

func (*Span) MarshalJSON added in v1.45.0

func (orig *Span) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*Span) MarshalProto added in v1.45.0

func (orig *Span) MarshalProto(buf []byte) int

func (*Span) Reset added in v1.45.0

func (orig *Span) Reset()

func (*Span) SizeProto added in v1.45.0

func (orig *Span) SizeProto() int

func (*Span) UnmarshalJSON added in v1.45.0

func (orig *Span) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*Span) UnmarshalProto added in v1.45.0

func (orig *Span) UnmarshalProto(buf []byte) error

type SpanContext added in v1.45.0

type SpanContext struct {
	TraceState string
	TraceFlags uint32
	TraceID    TraceID
	SpanID     SpanID
	Remote     bool
}

func CopySpanContext added in v1.45.0

func CopySpanContext(dest, src *SpanContext) *SpanContext

func CopySpanContextPtrSlice added in v1.45.0

func CopySpanContextPtrSlice(dest, src []*SpanContext) []*SpanContext

func CopySpanContextSlice added in v1.45.0

func CopySpanContextSlice(dest, src []SpanContext) []SpanContext

func GenTestSpanContext added in v1.45.0

func GenTestSpanContext() *SpanContext

func GenTestSpanContextPtrSlice added in v1.45.0

func GenTestSpanContextPtrSlice() []*SpanContext

func GenTestSpanContextSlice added in v1.45.0

func GenTestSpanContextSlice() []SpanContext

func NewSpanContext added in v1.45.0

func NewSpanContext() *SpanContext

func (*SpanContext) MarshalJSON added in v1.45.0

func (orig *SpanContext) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*SpanContext) MarshalProto added in v1.45.0

func (orig *SpanContext) MarshalProto(buf []byte) int

func (*SpanContext) Reset added in v1.45.0

func (orig *SpanContext) Reset()

func (*SpanContext) SizeProto added in v1.45.0

func (orig *SpanContext) SizeProto() int

func (*SpanContext) UnmarshalJSON added in v1.45.0

func (orig *SpanContext) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*SpanContext) UnmarshalProto added in v1.45.0

func (orig *SpanContext) UnmarshalProto(buf []byte) error

type SpanEvent

type SpanEvent struct {
	Name                   string
	Attributes             []KeyValue
	TimeUnixNano           uint64
	DroppedAttributesCount uint32
}

SpanEvent is a time-stamped annotation of the span, consisting of user-supplied text description and key-value pairs. See OTLP for event definition.

func CopySpanEvent added in v1.45.0

func CopySpanEvent(dest, src *SpanEvent) *SpanEvent

func CopySpanEventPtrSlice added in v1.45.0

func CopySpanEventPtrSlice(dest, src []*SpanEvent) []*SpanEvent

func CopySpanEventSlice added in v1.45.0

func CopySpanEventSlice(dest, src []SpanEvent) []SpanEvent

func GenTestSpanEvent added in v1.45.0

func GenTestSpanEvent() *SpanEvent

func GenTestSpanEventPtrSlice added in v1.45.0

func GenTestSpanEventPtrSlice() []*SpanEvent

func GenTestSpanEventSlice added in v1.45.0

func GenTestSpanEventSlice() []SpanEvent

func NewSpanEvent

func NewSpanEvent() *SpanEvent

func (*SpanEvent) MarshalJSON added in v1.45.0

func (orig *SpanEvent) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*SpanEvent) MarshalProto added in v1.45.0

func (orig *SpanEvent) MarshalProto(buf []byte) int

func (*SpanEvent) Reset added in v1.45.0

func (orig *SpanEvent) Reset()

func (*SpanEvent) SizeProto added in v1.45.0

func (orig *SpanEvent) SizeProto() int

func (*SpanEvent) UnmarshalJSON added in v1.45.0

func (orig *SpanEvent) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*SpanEvent) UnmarshalProto added in v1.45.0

func (orig *SpanEvent) UnmarshalProto(buf []byte) error

type SpanID

type SpanID [spanIDSize]byte

SpanID is a custom data type that is used for all span_id fields in OTLP Protobuf messages.

func GenTestSpanID added in v1.45.0

func GenTestSpanID() *SpanID

func (SpanID) IsEmpty

func (sid SpanID) IsEmpty() bool

IsEmpty returns true if id contains at least one non-zero byte.

func (SpanID) MarshalJSON added in v1.45.0

func (sid SpanID) MarshalJSON(dest *json.Stream)

MarshalJSON converts SpanID into a hex string.

func (SpanID) MarshalProto added in v1.45.0

func (sid SpanID) MarshalProto(buf []byte) int

MarshalProto converts span ID into a binary representation. Called by Protobuf serialization.

func (SpanID) SizeProto added in v1.45.0

func (sid SpanID) SizeProto() int

SizeProto returns the size of the data to serialize in proto format.

func (*SpanID) UnmarshalJSON added in v1.45.0

func (sid *SpanID) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON decodes SpanID from hex string.

func (*SpanID) UnmarshalProto added in v1.45.0

func (sid *SpanID) UnmarshalProto(data []byte) error

UnmarshalProto inflates this span ID from binary representation. Called by Protobuf serialization.

type SpanKind

type SpanKind int32

SpanKind is the type of span. Can be used to specify additional relationships between spans in addition to a parent/child relationship.

type SpanLink struct {
	TraceState             string
	Attributes             []KeyValue
	DroppedAttributesCount uint32
	Flags                  uint32
	TraceId                TraceID
	SpanId                 SpanID
}

SpanLink is a pointer from the current span to another span in the same trace or in a different trace. See Link definition in OTLP: https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/trace/v1/trace.proto

func CopySpanLink(dest, src *SpanLink) *SpanLink

func CopySpanLinkPtrSlice added in v1.45.0

func CopySpanLinkPtrSlice(dest, src []*SpanLink) []*SpanLink

func CopySpanLinkSlice added in v1.45.0

func CopySpanLinkSlice(dest, src []SpanLink) []SpanLink
func GenTestSpanLink() *SpanLink

func GenTestSpanLinkPtrSlice added in v1.45.0

func GenTestSpanLinkPtrSlice() []*SpanLink

func GenTestSpanLinkSlice added in v1.45.0

func GenTestSpanLinkSlice() []SpanLink
func NewSpanLink() *SpanLink

func (*SpanLink) MarshalJSON added in v1.45.0

func (orig *SpanLink) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*SpanLink) MarshalProto added in v1.45.0

func (orig *SpanLink) MarshalProto(buf []byte) int

func (*SpanLink) Reset added in v1.45.0

func (orig *SpanLink) Reset()

func (*SpanLink) SizeProto added in v1.45.0

func (orig *SpanLink) SizeProto() int

func (*SpanLink) UnmarshalJSON added in v1.45.0

func (orig *SpanLink) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*SpanLink) UnmarshalProto added in v1.45.0

func (orig *SpanLink) UnmarshalProto(buf []byte) error

type Stack added in v1.45.0

type Stack struct {
	LocationIndices []int32
}

func CopyStack added in v1.45.0

func CopyStack(dest, src *Stack) *Stack

func CopyStackPtrSlice added in v1.45.0

func CopyStackPtrSlice(dest, src []*Stack) []*Stack

func CopyStackSlice added in v1.45.0

func CopyStackSlice(dest, src []Stack) []Stack

func GenTestStack added in v1.45.0

func GenTestStack() *Stack

func GenTestStackPtrSlice added in v1.45.0

func GenTestStackPtrSlice() []*Stack

func GenTestStackSlice added in v1.45.0

func GenTestStackSlice() []Stack

func NewStack added in v1.45.0

func NewStack() *Stack

func (*Stack) MarshalJSON added in v1.45.0

func (orig *Stack) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*Stack) MarshalProto added in v1.45.0

func (orig *Stack) MarshalProto(buf []byte) int

func (*Stack) Reset added in v1.45.0

func (orig *Stack) Reset()

func (*Stack) SizeProto added in v1.45.0

func (orig *Stack) SizeProto() int

func (*Stack) UnmarshalJSON added in v1.45.0

func (orig *Stack) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*Stack) UnmarshalProto added in v1.45.0

func (orig *Stack) UnmarshalProto(buf []byte) error

type State added in v1.0.0

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

State defines an ownership state of pmetric.Metrics, plog.Logs, ptrace.Traces or pprofile.Profiles.

func GetByteSliceState added in v1.0.0

func GetByteSliceState(ms ByteSliceWrapper) *State

func GetEntityRefSliceState added in v1.36.0

func GetEntityRefSliceState(ms EntityRefSliceWrapper) *State

func GetEntityRefState added in v1.36.0

func GetEntityRefState(ms EntityRefWrapper) *State

func GetFloat64SliceState added in v1.0.0

func GetFloat64SliceState(ms Float64SliceWrapper) *State

func GetInstrumentationScopeState added in v1.0.0

func GetInstrumentationScopeState(ms InstrumentationScopeWrapper) *State

func GetInt32SliceState added in v1.21.0

func GetInt32SliceState(ms Int32SliceWrapper) *State

func GetInt64SliceState added in v1.9.0

func GetInt64SliceState(ms Int64SliceWrapper) *State

func GetLogsState added in v1.0.0

func GetLogsState(ms LogsWrapper) *State

func GetMapState added in v1.0.0

func GetMapState(ms MapWrapper) *State

func GetMetricsState added in v1.0.0

func GetMetricsState(ms MetricsWrapper) *State

func GetProfilesDataState added in v1.45.0

func GetProfilesDataState(ms ProfilesDataWrapper) *State

func GetProfilesState added in v1.11.0

func GetProfilesState(ms ProfilesWrapper) *State

func GetResourceState added in v1.0.0

func GetResourceState(ms ResourceWrapper) *State

func GetSliceState added in v1.0.0

func GetSliceState(ms SliceWrapper) *State

func GetStringSliceState added in v1.9.0

func GetStringSliceState(ms StringSliceWrapper) *State

func GetTraceStateState added in v1.0.0

func GetTraceStateState(ms TraceStateWrapper) *State

func GetTracesState added in v1.0.0

func GetTracesState(ms TracesWrapper) *State

func GetUInt64SliceState added in v1.0.0

func GetUInt64SliceState(ms UInt64SliceWrapper) *State

func GetValueState added in v1.0.0

func GetValueState(ms ValueWrapper) *State

func NewState added in v1.39.0

func NewState() *State

func (*State) AssertMutable added in v1.0.0

func (st *State) AssertMutable()

AssertMutable panics if the state is not StateMutable.

func (*State) IsReadOnly added in v1.39.0

func (st *State) IsReadOnly() bool

func (*State) MarkPipelineOwned added in v1.39.0

func (st *State) MarkPipelineOwned() bool

MarkPipelineOwned marks the data as owned by the pipeline, returns true if the data were previously not owned by the pipeline, otherwise false.

func (*State) MarkReadOnly added in v1.39.0

func (st *State) MarkReadOnly()

func (*State) Ref added in v1.39.0

func (st *State) Ref()

Ref add one to the count of active references.

func (*State) Unref added in v1.39.0

func (st *State) Unref() bool

Unref returns true if reference count got to 0 which means no more active references, otherwise it returns false.

type Status added in v0.62.0

type Status struct {
	Message string
	Code    StatusCode
}

Status is an optional final status for this span. Semantically, when Status was not set, that means the span ended without errors and to assume Status.Ok (code = 0).

func CopyStatus added in v1.45.0

func CopyStatus(dest, src *Status) *Status

func CopyStatusPtrSlice added in v1.45.0

func CopyStatusPtrSlice(dest, src []*Status) []*Status

func CopyStatusSlice added in v1.45.0

func CopyStatusSlice(dest, src []Status) []Status

func GenTestStatus added in v1.45.0

func GenTestStatus() *Status

func GenTestStatusPtrSlice added in v1.45.0

func GenTestStatusPtrSlice() []*Status

func GenTestStatusSlice added in v1.45.0

func GenTestStatusSlice() []Status

func NewStatus added in v0.62.0

func NewStatus() *Status

func (*Status) MarshalJSON added in v1.45.0

func (orig *Status) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*Status) MarshalProto added in v1.45.0

func (orig *Status) MarshalProto(buf []byte) int

func (*Status) Reset added in v1.45.0

func (orig *Status) Reset()

func (*Status) SizeProto added in v1.45.0

func (orig *Status) SizeProto() int

func (*Status) UnmarshalJSON added in v1.45.0

func (orig *Status) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*Status) UnmarshalProto added in v1.45.0

func (orig *Status) UnmarshalProto(buf []byte) error

type StatusCode

type StatusCode int32

StatusCode is the status of the span, for the semantics of codes see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#set-status

type StringSliceWrapper added in v1.45.0

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

func GenTestStringSliceWrapper added in v1.45.0

func GenTestStringSliceWrapper() StringSliceWrapper

func NewStringSliceWrapper added in v1.45.0

func NewStringSliceWrapper(orig *[]string, state *State) StringSliceWrapper

type Sum

type Sum struct {
	DataPoints             []*NumberDataPoint
	AggregationTemporality AggregationTemporality
	IsMonotonic            bool
}

Sum represents the type of a numeric metric that is calculated as a sum of all reported measurements over a time interval.

func CopySum added in v1.45.0

func CopySum(dest, src *Sum) *Sum

func CopySumPtrSlice added in v1.45.0

func CopySumPtrSlice(dest, src []*Sum) []*Sum

func CopySumSlice added in v1.45.0

func CopySumSlice(dest, src []Sum) []Sum

func GenTestSum added in v1.45.0

func GenTestSum() *Sum

func GenTestSumPtrSlice added in v1.45.0

func GenTestSumPtrSlice() []*Sum

func GenTestSumSlice added in v1.45.0

func GenTestSumSlice() []Sum

func NewSum

func NewSum() *Sum

func (*Sum) MarshalJSON added in v1.45.0

func (orig *Sum) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*Sum) MarshalProto added in v1.45.0

func (orig *Sum) MarshalProto(buf []byte) int

func (*Sum) Reset added in v1.45.0

func (orig *Sum) Reset()

func (*Sum) SizeProto added in v1.45.0

func (orig *Sum) SizeProto() int

func (*Sum) UnmarshalJSON added in v1.45.0

func (orig *Sum) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*Sum) UnmarshalProto added in v1.45.0

func (orig *Sum) UnmarshalProto(buf []byte) error

type Summary

type Summary struct {
	DataPoints []*SummaryDataPoint
}

Summary represents the type of a metric that is calculated by aggregating as a Summary of all reported double measurements over a time interval.

func CopySummary added in v1.45.0

func CopySummary(dest, src *Summary) *Summary

func CopySummaryPtrSlice added in v1.45.0

func CopySummaryPtrSlice(dest, src []*Summary) []*Summary

func CopySummarySlice added in v1.45.0

func CopySummarySlice(dest, src []Summary) []Summary

func GenTestSummary added in v1.45.0

func GenTestSummary() *Summary

func GenTestSummaryPtrSlice added in v1.45.0

func GenTestSummaryPtrSlice() []*Summary

func GenTestSummarySlice added in v1.45.0

func GenTestSummarySlice() []Summary

func NewSummary

func NewSummary() *Summary

func (*Summary) MarshalJSON added in v1.45.0

func (orig *Summary) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*Summary) MarshalProto added in v1.45.0

func (orig *Summary) MarshalProto(buf []byte) int

func (*Summary) Reset added in v1.45.0

func (orig *Summary) Reset()

func (*Summary) SizeProto added in v1.45.0

func (orig *Summary) SizeProto() int

func (*Summary) UnmarshalJSON added in v1.45.0

func (orig *Summary) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*Summary) UnmarshalProto added in v1.45.0

func (orig *Summary) UnmarshalProto(buf []byte) error

type SummaryDataPoint

type SummaryDataPoint struct {
	Attributes        []KeyValue
	QuantileValues    []*SummaryDataPointValueAtQuantile
	StartTimeUnixNano uint64
	TimeUnixNano      uint64
	Count             uint64
	Sum               float64
	Flags             uint32
}

SummaryDataPoint is a single data point in a timeseries that describes the time-varying values of a Summary of double values.

func CopySummaryDataPoint added in v1.45.0

func CopySummaryDataPoint(dest, src *SummaryDataPoint) *SummaryDataPoint

func CopySummaryDataPointPtrSlice added in v1.45.0

func CopySummaryDataPointPtrSlice(dest, src []*SummaryDataPoint) []*SummaryDataPoint

func CopySummaryDataPointSlice added in v1.45.0

func CopySummaryDataPointSlice(dest, src []SummaryDataPoint) []SummaryDataPoint

func GenTestSummaryDataPoint added in v1.45.0

func GenTestSummaryDataPoint() *SummaryDataPoint

func GenTestSummaryDataPointPtrSlice added in v1.45.0

func GenTestSummaryDataPointPtrSlice() []*SummaryDataPoint

func GenTestSummaryDataPointSlice added in v1.45.0

func GenTestSummaryDataPointSlice() []SummaryDataPoint

func NewSummaryDataPoint

func NewSummaryDataPoint() *SummaryDataPoint

func (*SummaryDataPoint) MarshalJSON added in v1.45.0

func (orig *SummaryDataPoint) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*SummaryDataPoint) MarshalProto added in v1.45.0

func (orig *SummaryDataPoint) MarshalProto(buf []byte) int

func (*SummaryDataPoint) Reset added in v1.45.0

func (orig *SummaryDataPoint) Reset()

func (*SummaryDataPoint) SizeProto added in v1.45.0

func (orig *SummaryDataPoint) SizeProto() int

func (*SummaryDataPoint) UnmarshalJSON added in v1.45.0

func (orig *SummaryDataPoint) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*SummaryDataPoint) UnmarshalProto added in v1.45.0

func (orig *SummaryDataPoint) UnmarshalProto(buf []byte) error

type SummaryDataPointValueAtQuantile added in v0.62.0

type SummaryDataPointValueAtQuantile struct {
	Quantile float64
	Value    float64
}

SummaryDataPointValueAtQuantile is a quantile value within a Summary data point.

func CopySummaryDataPointValueAtQuantile added in v1.45.0

func CopySummaryDataPointValueAtQuantile(dest, src *SummaryDataPointValueAtQuantile) *SummaryDataPointValueAtQuantile

func CopySummaryDataPointValueAtQuantilePtrSlice added in v1.45.0

func CopySummaryDataPointValueAtQuantilePtrSlice(dest, src []*SummaryDataPointValueAtQuantile) []*SummaryDataPointValueAtQuantile

func CopySummaryDataPointValueAtQuantileSlice added in v1.45.0

func CopySummaryDataPointValueAtQuantileSlice(dest, src []SummaryDataPointValueAtQuantile) []SummaryDataPointValueAtQuantile

func GenTestSummaryDataPointValueAtQuantile added in v1.45.0

func GenTestSummaryDataPointValueAtQuantile() *SummaryDataPointValueAtQuantile

func GenTestSummaryDataPointValueAtQuantilePtrSlice added in v1.45.0

func GenTestSummaryDataPointValueAtQuantilePtrSlice() []*SummaryDataPointValueAtQuantile

func GenTestSummaryDataPointValueAtQuantileSlice added in v1.45.0

func GenTestSummaryDataPointValueAtQuantileSlice() []SummaryDataPointValueAtQuantile

func NewSummaryDataPointValueAtQuantile added in v0.62.0

func NewSummaryDataPointValueAtQuantile() *SummaryDataPointValueAtQuantile

func (*SummaryDataPointValueAtQuantile) MarshalJSON added in v1.45.0

func (orig *SummaryDataPointValueAtQuantile) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*SummaryDataPointValueAtQuantile) MarshalProto added in v1.45.0

func (orig *SummaryDataPointValueAtQuantile) MarshalProto(buf []byte) int

func (*SummaryDataPointValueAtQuantile) Reset added in v1.45.0

func (orig *SummaryDataPointValueAtQuantile) Reset()

func (*SummaryDataPointValueAtQuantile) SizeProto added in v1.45.0

func (orig *SummaryDataPointValueAtQuantile) SizeProto() int

func (*SummaryDataPointValueAtQuantile) UnmarshalJSON added in v1.45.0

func (orig *SummaryDataPointValueAtQuantile) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*SummaryDataPointValueAtQuantile) UnmarshalProto added in v1.45.0

func (orig *SummaryDataPointValueAtQuantile) UnmarshalProto(buf []byte) error

type TCPAddr added in v1.45.0

type TCPAddr struct {
	Zone string
	IP   []byte
	Port int64
}

func CopyTCPAddr added in v1.45.0

func CopyTCPAddr(dest, src *TCPAddr) *TCPAddr

func CopyTCPAddrPtrSlice added in v1.45.0

func CopyTCPAddrPtrSlice(dest, src []*TCPAddr) []*TCPAddr

func CopyTCPAddrSlice added in v1.45.0

func CopyTCPAddrSlice(dest, src []TCPAddr) []TCPAddr

func GenTestTCPAddr added in v1.45.0

func GenTestTCPAddr() *TCPAddr

func GenTestTCPAddrPtrSlice added in v1.45.0

func GenTestTCPAddrPtrSlice() []*TCPAddr

func GenTestTCPAddrSlice added in v1.45.0

func GenTestTCPAddrSlice() []TCPAddr

func NewTCPAddr added in v1.45.0

func NewTCPAddr() *TCPAddr

func (*TCPAddr) MarshalJSON added in v1.45.0

func (orig *TCPAddr) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*TCPAddr) MarshalProto added in v1.45.0

func (orig *TCPAddr) MarshalProto(buf []byte) int

func (*TCPAddr) Reset added in v1.45.0

func (orig *TCPAddr) Reset()

func (*TCPAddr) SizeProto added in v1.45.0

func (orig *TCPAddr) SizeProto() int

func (*TCPAddr) UnmarshalJSON added in v1.45.0

func (orig *TCPAddr) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*TCPAddr) UnmarshalProto added in v1.45.0

func (orig *TCPAddr) UnmarshalProto(buf []byte) error

type TraceID

type TraceID [traceIDSize]byte

TraceID is a custom data type that is used for all trace_id fields in OTLP Protobuf messages.

func GenTestTraceID added in v1.45.0

func GenTestTraceID() *TraceID

func (TraceID) IsEmpty

func (tid TraceID) IsEmpty() bool

IsEmpty returns true if id contains at leas one non-zero byte.

func (TraceID) MarshalJSON added in v1.45.0

func (tid TraceID) MarshalJSON(dest *json.Stream)

MarshalJSON converts TraceID into a hex string.

func (TraceID) MarshalProto added in v1.45.0

func (tid TraceID) MarshalProto(buf []byte) int

MarshalProto converts trace ID into a binary representation. Called by Protobuf serialization.

func (TraceID) SizeProto added in v1.45.0

func (tid TraceID) SizeProto() int

SizeProto returns the size of the data to serialize in proto format.

func (*TraceID) UnmarshalJSON added in v1.45.0

func (tid *TraceID) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON decodes TraceID from hex string.

func (*TraceID) UnmarshalProto added in v1.45.0

func (tid *TraceID) UnmarshalProto(buf []byte) error

UnmarshalProto inflates this trace ID from binary representation. Called by Protobuf serialization.

type TraceStateWrapper added in v1.45.0

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

func GenTestTraceStateWrapper added in v1.45.0

func GenTestTraceStateWrapper() TraceStateWrapper

func NewTraceStateWrapper added in v1.45.0

func NewTraceStateWrapper(orig *string, state *State) TraceStateWrapper

type TracesData added in v1.45.0

type TracesData struct {
	ResourceSpans []*ResourceSpans
}

TracesData represents the traces data that can be stored in a persistent storage, OR can be embedded by other protocols that transfer OTLP traces data but do not implement the OTLP protocol.

func CopyTracesData added in v1.45.0

func CopyTracesData(dest, src *TracesData) *TracesData

func CopyTracesDataPtrSlice added in v1.45.0

func CopyTracesDataPtrSlice(dest, src []*TracesData) []*TracesData

func CopyTracesDataSlice added in v1.45.0

func CopyTracesDataSlice(dest, src []TracesData) []TracesData

func GenTestTracesData added in v1.45.0

func GenTestTracesData() *TracesData

func GenTestTracesDataPtrSlice added in v1.45.0

func GenTestTracesDataPtrSlice() []*TracesData

func GenTestTracesDataSlice added in v1.45.0

func GenTestTracesDataSlice() []TracesData

func NewTracesData added in v1.45.0

func NewTracesData() *TracesData

func TracesToProto added in v0.50.0

func TracesToProto(l TracesWrapper) TracesData

TracesToProto internal helper to convert Traces to protobuf representation.

func (*TracesData) MarshalJSON added in v1.45.0

func (orig *TracesData) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*TracesData) MarshalProto added in v1.45.0

func (orig *TracesData) MarshalProto(buf []byte) int

func (*TracesData) Reset added in v1.45.0

func (orig *TracesData) Reset()

func (*TracesData) SizeProto added in v1.45.0

func (orig *TracesData) SizeProto() int

func (*TracesData) UnmarshalJSON added in v1.45.0

func (orig *TracesData) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*TracesData) UnmarshalProto added in v1.45.0

func (orig *TracesData) UnmarshalProto(buf []byte) error

type TracesRequest added in v1.45.0

type TracesRequest struct {
	RequestContext *RequestContext
	TracesData     TracesData
	FormatVersion  uint32
}

func CopyTracesRequest added in v1.45.0

func CopyTracesRequest(dest, src *TracesRequest) *TracesRequest

func CopyTracesRequestPtrSlice added in v1.45.0

func CopyTracesRequestPtrSlice(dest, src []*TracesRequest) []*TracesRequest

func CopyTracesRequestSlice added in v1.45.0

func CopyTracesRequestSlice(dest, src []TracesRequest) []TracesRequest

func GenTestTracesRequest added in v1.45.0

func GenTestTracesRequest() *TracesRequest

func GenTestTracesRequestPtrSlice added in v1.45.0

func GenTestTracesRequestPtrSlice() []*TracesRequest

func GenTestTracesRequestSlice added in v1.45.0

func GenTestTracesRequestSlice() []TracesRequest

func NewTracesRequest added in v1.45.0

func NewTracesRequest() *TracesRequest

func (*TracesRequest) MarshalJSON added in v1.45.0

func (orig *TracesRequest) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*TracesRequest) MarshalProto added in v1.45.0

func (orig *TracesRequest) MarshalProto(buf []byte) int

func (*TracesRequest) Reset added in v1.45.0

func (orig *TracesRequest) Reset()

func (*TracesRequest) SizeProto added in v1.45.0

func (orig *TracesRequest) SizeProto() int

func (*TracesRequest) UnmarshalJSON added in v1.45.0

func (orig *TracesRequest) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*TracesRequest) UnmarshalProto added in v1.45.0

func (orig *TracesRequest) UnmarshalProto(buf []byte) error

type TracesWrapper added in v1.45.0

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

func GenTestTracesWrapper added in v1.45.0

func GenTestTracesWrapper() TracesWrapper

func NewTracesWrapper added in v1.45.0

func NewTracesWrapper(orig *ExportTraceServiceRequest, state *State) TracesWrapper

func TracesFromProto added in v0.50.0

func TracesFromProto(orig TracesData) TracesWrapper

TracesFromProto internal helper to convert protobuf representation to Traces. This function set exclusive state assuming that it's called only once per Traces.

type UDPAddr added in v1.45.0

type UDPAddr struct {
	Zone string
	IP   []byte
	Port int64
}

func CopyUDPAddr added in v1.45.0

func CopyUDPAddr(dest, src *UDPAddr) *UDPAddr

func CopyUDPAddrPtrSlice added in v1.45.0

func CopyUDPAddrPtrSlice(dest, src []*UDPAddr) []*UDPAddr

func CopyUDPAddrSlice added in v1.45.0

func CopyUDPAddrSlice(dest, src []UDPAddr) []UDPAddr

func GenTestUDPAddr added in v1.45.0

func GenTestUDPAddr() *UDPAddr

func GenTestUDPAddrPtrSlice added in v1.45.0

func GenTestUDPAddrPtrSlice() []*UDPAddr

func GenTestUDPAddrSlice added in v1.45.0

func GenTestUDPAddrSlice() []UDPAddr

func NewUDPAddr added in v1.45.0

func NewUDPAddr() *UDPAddr

func (*UDPAddr) MarshalJSON added in v1.45.0

func (orig *UDPAddr) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*UDPAddr) MarshalProto added in v1.45.0

func (orig *UDPAddr) MarshalProto(buf []byte) int

func (*UDPAddr) Reset added in v1.45.0

func (orig *UDPAddr) Reset()

func (*UDPAddr) SizeProto added in v1.45.0

func (orig *UDPAddr) SizeProto() int

func (*UDPAddr) UnmarshalJSON added in v1.45.0

func (orig *UDPAddr) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*UDPAddr) UnmarshalProto added in v1.45.0

func (orig *UDPAddr) UnmarshalProto(buf []byte) error

type UInt64SliceWrapper added in v1.45.0

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

func GenTestUInt64SliceWrapper added in v1.45.0

func GenTestUInt64SliceWrapper() UInt64SliceWrapper

func NewUInt64SliceWrapper added in v1.45.0

func NewUInt64SliceWrapper(orig *[]uint64, state *State) UInt64SliceWrapper

type UnixAddr added in v1.45.0

type UnixAddr struct {
	Name string
	Net  string
}

func CopyUnixAddr added in v1.45.0

func CopyUnixAddr(dest, src *UnixAddr) *UnixAddr

func CopyUnixAddrPtrSlice added in v1.45.0

func CopyUnixAddrPtrSlice(dest, src []*UnixAddr) []*UnixAddr

func CopyUnixAddrSlice added in v1.45.0

func CopyUnixAddrSlice(dest, src []UnixAddr) []UnixAddr

func GenTestUnixAddr added in v1.45.0

func GenTestUnixAddr() *UnixAddr

func GenTestUnixAddrPtrSlice added in v1.45.0

func GenTestUnixAddrPtrSlice() []*UnixAddr

func GenTestUnixAddrSlice added in v1.45.0

func GenTestUnixAddrSlice() []UnixAddr

func NewUnixAddr added in v1.45.0

func NewUnixAddr() *UnixAddr

func (*UnixAddr) MarshalJSON added in v1.45.0

func (orig *UnixAddr) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*UnixAddr) MarshalProto added in v1.45.0

func (orig *UnixAddr) MarshalProto(buf []byte) int

func (*UnixAddr) Reset added in v1.45.0

func (orig *UnixAddr) Reset()

func (*UnixAddr) SizeProto added in v1.45.0

func (orig *UnixAddr) SizeProto() int

func (*UnixAddr) UnmarshalJSON added in v1.45.0

func (orig *UnixAddr) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*UnixAddr) UnmarshalProto added in v1.45.0

func (orig *UnixAddr) UnmarshalProto(buf []byte) error

type ValueType

type ValueType struct {
	TypeStrindex int32
	UnitStrindex int32
}

ValueType describes the type and units of a value.

func CopyValueType added in v1.45.0

func CopyValueType(dest, src *ValueType) *ValueType

func CopyValueTypePtrSlice added in v1.45.0

func CopyValueTypePtrSlice(dest, src []*ValueType) []*ValueType

func CopyValueTypeSlice added in v1.45.0

func CopyValueTypeSlice(dest, src []ValueType) []ValueType

func GenTestValueType added in v1.45.0

func GenTestValueType() *ValueType

func GenTestValueTypePtrSlice added in v1.45.0

func GenTestValueTypePtrSlice() []*ValueType

func GenTestValueTypeSlice added in v1.45.0

func GenTestValueTypeSlice() []ValueType

func NewValueType added in v1.45.0

func NewValueType() *ValueType

func (*ValueType) MarshalJSON added in v1.45.0

func (orig *ValueType) MarshalJSON(dest *json.Stream)

MarshalJSON marshals all properties from the current struct to the destination stream.

func (*ValueType) MarshalProto added in v1.45.0

func (orig *ValueType) MarshalProto(buf []byte) int

func (*ValueType) Reset added in v1.45.0

func (orig *ValueType) Reset()

func (*ValueType) SizeProto added in v1.45.0

func (orig *ValueType) SizeProto() int

func (*ValueType) UnmarshalJSON added in v1.45.0

func (orig *ValueType) UnmarshalJSON(iter *json.Iterator)

UnmarshalJSON unmarshals all properties from the current struct from the source iterator.

func (*ValueType) UnmarshalProto added in v1.45.0

func (orig *ValueType) UnmarshalProto(buf []byte) error

type ValueWrapper added in v1.45.0

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

func GenTestValueWrapper added in v1.45.0

func GenTestValueWrapper() ValueWrapper

func NewValueWrapper added in v1.45.0

func NewValueWrapper(orig *AnyValue, state *State) ValueWrapper

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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