Documentation ¶
Index ¶
- func ConvertMetadata(event *modelpb.APMEvent, resource pcommon.Resource)
- func ConvertSpan(event *modelpb.APMEvent, dest ptrace.Span)
- func ConvertSpanId(src string) pcommon.SpanID
- func ConvertSpanKind(src string) ptrace.SpanKind
- func ConvertTraceId(src string) pcommon.TraceID
- func ConvertTransaction(event *modelpb.APMEvent, dest ptrace.Span)
- func GetStartAndEndTimestamps(timestamp *timestamppb.Timestamp, duration *durationpb.Duration) (*pcommon.Timestamp, *pcommon.Timestamp)
- func PutLabelValue(attrs pcommon.Map, m map[string]*modelpb.LabelValue)
- func PutMap(attrs pcommon.Map, m map[string]interface{})
- func PutNumericLabelValue(attrs pcommon.Map, m map[string]*modelpb.NumericLabelValue)
- func PutOptionalBool(attrs pcommon.Map, key string, value *bool)
- func PutOptionalFloat[T float32 | float64](attrs pcommon.Map, key string, value *T)
- func PutOptionalInt[T Integer](attrs pcommon.Map, key string, value *T)
- func PutOptionalStr(attrs pcommon.Map, key string, value *string)
- func PutStr(attrs pcommon.Map, key string, value string)
- func PutStrArray(attrs pcommon.Map, key string, value []string)
- type Integer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertSpanId ¶
func ConvertSpanKind ¶
func ConvertTraceId ¶
func GetStartAndEndTimestamps ¶
func GetStartAndEndTimestamps(timestamp *timestamppb.Timestamp, duration *durationpb.Duration) (*pcommon.Timestamp, *pcommon.Timestamp)
func PutLabelValue ¶
func PutLabelValue(attrs pcommon.Map, m map[string]*modelpb.LabelValue)
func PutNumericLabelValue ¶
func PutNumericLabelValue(attrs pcommon.Map, m map[string]*modelpb.NumericLabelValue)
func PutOptionalFloat ¶
Types ¶
Source Files ¶
- agent.go
- apmevent.go
- client.go
- cloud.go
- container.go
- datastream.go
- destination.go
- device.go
- error.go
- event.go
- faas.go
- host.go
- http.go
- ip.go
- kubernetes.go
- log.go
- message.go
- network.go
- observer.go
- os.go
- process.go
- service.go
- session.go
- source.go
- span.go
- trace.go
- transaction.go
- url.go
- user.go
- useragent.go
- utils.go
Click to show internal directories.
Click to hide internal directories.