Documentation ¶
Index ¶
Constants ¶
View Source
const ( OtelSpanType = "otel" InstanaSpanKindServer = "server" InstanaSpanKindClient = "client" InstanaSpanKindProducer = "producer" InstanaSpanKindConsumer = "consumer" InstanaSpanKindInternal = "internal" InstanaDataError = "error" InstanaDataErrorDetail = "error_detail" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OTelSpanData ¶
type OTelSpanData struct { Kind string `json:"kind"` HasTraceParent bool `json:"tp,omitempty"` ServiceName string `json:"service"` Operation string `json:"operation"` TraceState string `json:"trace_state,omitempty"` Tags map[string]string `json:"tags,omitempty"` Resource map[string]string `json:"resource,omitempty"` }
type Span ¶
type Span struct { TraceReference SpanID string `json:"s"` LongTraceID string `json:"lt,omitempty"` Timestamp uint64 `json:"ts"` Duration uint64 `json:"d"` Name string `json:"n"` From *FromS `json:"f"` Batch *BatchInfo `json:"b,omitempty"` Ec int `json:"ec,omitempty"` Synthetic bool `json:"sy,omitempty"` CorrelationType string `json:"crtp,omitempty"` CorrelationID string `json:"crid,omitempty"` ForeignTrace bool `json:"tp,omitempty"` Ancestor *TraceReference `json:"ia,omitempty"` Data OTelSpanData `json:"data,omitempty"` }
type TraceReference ¶
Click to show internal directories.
Click to hide internal directories.