Documentation ¶
Index ¶
Constants ¶
View Source
const ( AttributeRefType = "refType" AttributeParentService = "parent.service" AttributeParentInstance = "parent.service.instance" AttributeParentEndpoint = "parent.endpoint" AttributeSkywalkingSpanID = "sw8.span_id" AttributeSkywalkingTraceID = "sw8.trace_id" AttributeSkywalkingSegmentID = "sw8.segment_id" AttributeSkywalkingComponmentID = "sw8.componment_id" AttributeSkywalkingParentSpanID = "sw8.parent_span_id" AttributeSkywalkingParentSegmentID = "sw8.parent_segment_id" AttributeNetworkAddressUsedAtPeer = "network.AddressUsedAtPeer" )
View Source
const ( ComponentUndertow int32 = 84 ComponentSpringMVC int32 = 14 OperateNameUndertow = "UndertowDispatch" )
Variables ¶
This section is empty.
Functions ¶
func ProtoToTraces ¶
ProtoToTraces converts multiple skywalking proto batches to internal traces
func ResponseWithJSON ¶
func ResponseWithJSON(rsp http.ResponseWriter, response *Response, code int)
Types ¶
type Receiver ¶
type Receiver struct { FillProcExtension fillproc.FillProc agent.UnimplementedTraceSegmentReportServiceServer // contains filtered or unexported fields }
func NewReceiver ¶
NewReceiver creates a new Receiver reference.
func (*Receiver) Collect ¶
func (r *Receiver) Collect(stream agent.TraceSegmentReportService_CollectServer) error
Collect implements the service Collect traces func.
func (*Receiver) CollectInSync ¶
func (r *Receiver) CollectInSync(ctx context.Context, segments *agent.SegmentCollection) (*common.Commands, error)
CollectInSync implements the service CollectInSync traces func.
func (*Receiver) HTTPHandler ¶
func (r *Receiver) HTTPHandler(rsp http.ResponseWriter, req *http.Request)
type UndertowCache ¶
type UndertowCache struct {
// contains filtered or unexported fields
}
func (*UndertowCache) CheckUndertow ¶
func (c *UndertowCache) CheckUndertow(segment *agent.SegmentObject, ptd *ptrace.Traces) *ptrace.Traces
Click to show internal directories.
Click to hide internal directories.