trace

package
v0.0.0-...-4375002 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

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

func ProtoToTraces(segment *agentV3.SegmentObject, pid int, containerId string) ptrace.Traces

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

func NewReceiver(nextConsumer consumer.Traces, set receiver.Settings) (*Receiver, error)

NewReceiver creates a new Receiver reference.

func (*Receiver) Collect

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 Response

type Response struct {
	Status string `json:"status"`
	Msg    string `json:"msg"`
}

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

Jump to

Keyboard shortcuts

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