Documentation
¶
Index ¶
Constants ¶
View Source
const ( StatusOK = "OK" StatusError = "Error" StatusUnset = "Unset" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceInfo ¶
type Span ¶
type Span struct {
SpanID string `json:"spanId"`
ParentSpanID *string `json:"parentSpanId,omitempty"`
Name string `json:"name"`
Kind string `json:"kind"`
StartTime time.Time `json:"startTime"`
EndTime time.Time `json:"endTime"`
Attributes map[string]string `json:"attributes"`
Status SpanStatus `json:"status"`
}
func (*Span) SetStatusFromHTTPCode ¶
SetStatusFromHTTPCode updates the span's status based on the HTTP response code.
type SpanStatus ¶
Click to show internal directories.
Click to hide internal directories.