Versions in this module Expand all Collapse all v2 v2.6.3 Nov 15, 2024 Changes in this version + type Agent struct + Name string + Version string + func (v *Agent) MarshalFastJSON(w *fastjson.Writer) error + type AggregateDuration struct + Count int + Sum DurationSum + func (v *AggregateDuration) MarshalFastJSON(w *fastjson.Writer) error + type Cloud struct + Account *CloudAccount + AvailabilityZone string + Instance *CloudInstance + Machine *CloudMachine + Project *CloudProject + Provider string + Region string + func (v *Cloud) MarshalFastJSON(w *fastjson.Writer) error + type CloudAccount struct + ID string + Name string + func (v *CloudAccount) MarshalFastJSON(w *fastjson.Writer) error + type CloudInstance struct + ID string + Name string + func (v *CloudInstance) MarshalFastJSON(w *fastjson.Writer) error + type CloudMachine struct + Type string + func (v *CloudMachine) MarshalFastJSON(w *fastjson.Writer) error + type CloudProject struct + ID string + Name string + func (v *CloudProject) MarshalFastJSON(w *fastjson.Writer) error + type CompositeSpan struct + CompressionStrategy string + Count int + Sum float64 + func (v *CompositeSpan) MarshalFastJSON(w *fastjson.Writer) error + type Container struct + ID string + func (v *Container) MarshalFastJSON(w *fastjson.Writer) error + type Context struct + Custom IfaceMap + Request *Request + Response *Response + Service *Service + Tags IfaceMap + User *User + func (v *Context) MarshalFastJSON(w *fastjson.Writer) error + type Cookies []*http.Cookie + func (c *Cookies) UnmarshalJSON(data []byte) error + func (c Cookies) MarshalFastJSON(w *fastjson.Writer) error + type DatabaseSpanContext struct + Instance string + RowsAffected *int64 + Statement string + Type string + User string + func (v *DatabaseSpanContext) MarshalFastJSON(w *fastjson.Writer) error + type DestinationCloudSpanContext struct + Region string + func (v *DestinationCloudSpanContext) MarshalFastJSON(w *fastjson.Writer) error + type DestinationServiceSpanContext struct + Name string + Resource string + Type string + func (v *DestinationServiceSpanContext) MarshalFastJSON(w *fastjson.Writer) error + type DestinationSpanContext struct + Address string + Cloud *DestinationCloudSpanContext + Port int + Service *DestinationServiceSpanContext + func (v *DestinationSpanContext) MarshalFastJSON(w *fastjson.Writer) error + type DroppedSpansStats struct + DestinationServiceResource string + Duration AggregateDuration + Outcome string + ServiceTargetName string + ServiceTargetType string + func (v *DroppedSpansStats) MarshalFastJSON(w *fastjson.Writer) error + type DurationSum struct + Us int64 + func (v *DurationSum) MarshalFastJSON(w *fastjson.Writer) error + type Error struct + Context *Context + Culprit string + Exception Exception + ID TraceID + Log Log + ParentID SpanID + Timestamp Time + TraceID TraceID + Transaction ErrorTransaction + TransactionID SpanID + func (v *Error) MarshalFastJSON(w *fastjson.Writer) error + type ErrorTransaction struct + Name string + Sampled *bool + Type string + func (v *ErrorTransaction) MarshalFastJSON(w *fastjson.Writer) error + type Exception struct + Attributes map[string]interface{} + Cause []Exception + Code ExceptionCode + Handled bool + Message string + Module string + Stacktrace []StacktraceFrame + Type string + func (v *Exception) MarshalFastJSON(w *fastjson.Writer) error + type ExceptionCode struct + Number float64 + String string + func (c *ExceptionCode) MarshalFastJSON(w *fastjson.Writer) error + func (c *ExceptionCode) UnmarshalJSON(data []byte) error + type FAAS struct + Coldstart bool + Execution string + ID string + Name string + Trigger *FAASTrigger + Version string + func (v *FAAS) MarshalFastJSON(w *fastjson.Writer) error + type FAASTrigger struct + RequestID string + Type string + func (v *FAASTrigger) MarshalFastJSON(w *fastjson.Writer) error + type Framework struct + Name string + Version string + func (v *Framework) MarshalFastJSON(w *fastjson.Writer) error + type HTTPSpanContext struct + StatusCode int + URL *url.URL + func (v *HTTPSpanContext) MarshalFastJSON(w *fastjson.Writer) error + func (v *HTTPSpanContext) UnmarshalJSON(data []byte) error + type Header struct + Key string + Values []string + func (*Header) MarshalFastJSON(w *fastjson.Writer) error + type Headers []Header + func (hs *Headers) UnmarshalJSON(data []byte) error + func (hs Headers) MarshalFastJSON(w *fastjson.Writer) error + type IfaceMap []IfaceMapItem + func (m *IfaceMap) UnmarshalJSON(data []byte) error + func (m IfaceMap) MarshalFastJSON(w *fastjson.Writer) (firstErr error) + type IfaceMapItem struct + Key string + Value interface{} + func (*IfaceMapItem) MarshalFastJSON(*fastjson.Writer) error + type Kubernetes struct + Namespace string + Node *KubernetesNode + Pod *KubernetesPod + func (v *Kubernetes) MarshalFastJSON(w *fastjson.Writer) error + type KubernetesNode struct + Name string + func (v *KubernetesNode) MarshalFastJSON(w *fastjson.Writer) error + type KubernetesPod struct + Name string + UID string + func (v *KubernetesPod) MarshalFastJSON(w *fastjson.Writer) error + type Language struct + Name string + Version string + func (v *Language) MarshalFastJSON(w *fastjson.Writer) error + type Log struct + Level string + LoggerName string + Message string + ParamMessage string + Stacktrace []StacktraceFrame + func (v *Log) MarshalFastJSON(w *fastjson.Writer) error + type MessageQueueSpanContext struct + Name string + func (v *MessageQueueSpanContext) MarshalFastJSON(w *fastjson.Writer) error + type MessageSpanContext struct + Queue *MessageQueueSpanContext + func (v *MessageSpanContext) MarshalFastJSON(w *fastjson.Writer) error + type Metric struct + Counts []uint64 + Type string + Value float64 + Values []float64 + func (v *Metric) MarshalFastJSON(w *fastjson.Writer) error + type Metrics struct + FAAS *FAAS + Labels StringMap + Samples map[string]Metric + Span MetricsSpan + Timestamp Time + Transaction MetricsTransaction + func (v *Metrics) MarshalFastJSON(w *fastjson.Writer) error + type MetricsSpan struct + Subtype string + Type string + func (v *MetricsSpan) MarshalFastJSON(w *fastjson.Writer) error + type MetricsTransaction struct + Name string + Type string + func (v *MetricsTransaction) MarshalFastJSON(w *fastjson.Writer) error + type OTel struct + Attributes map[string]interface{} + SpanKind string + func (v *OTel) MarshalFastJSON(w *fastjson.Writer) error + type Process struct + Argv []string + Pid int + Ppid *int + Title string + func (v *Process) MarshalFastJSON(w *fastjson.Writer) error + type Request struct + Body *RequestBody + Cookies Cookies + Env map[string]string + HTTPVersion string + Headers Headers + Method string + Socket *RequestSocket + URL URL + func (v *Request) MarshalFastJSON(w *fastjson.Writer) error + type RequestBody struct + Form url.Values + Raw string + func (b *RequestBody) MarshalFastJSON(w *fastjson.Writer) error + func (b *RequestBody) UnmarshalJSON(data []byte) error + type RequestSocket struct + Encrypted bool + RemoteAddress string + func (v *RequestSocket) MarshalFastJSON(w *fastjson.Writer) error + type Response struct + Finished *bool + Headers Headers + HeadersSent *bool + StatusCode int + func (v *Response) MarshalFastJSON(w *fastjson.Writer) error + type Runtime struct + Name string + Version string + func (v *Runtime) MarshalFastJSON(w *fastjson.Writer) error + type Service struct + Agent *Agent + Environment string + Framework *Framework + Language *Language + Name string + Node *ServiceNode + Runtime *Runtime + Version string + func (v *Service) MarshalFastJSON(w *fastjson.Writer) error + type ServiceNode struct + ConfiguredName string + func (v *ServiceNode) MarshalFastJSON(w *fastjson.Writer) error + type ServiceSpanContext struct + Target *ServiceTargetSpanContext + func (v *ServiceSpanContext) MarshalFastJSON(w *fastjson.Writer) error + type ServiceTargetSpanContext struct + Name string + Type string + func (v *ServiceTargetSpanContext) MarshalFastJSON(w *fastjson.Writer) error + type Span struct + Action string + Composite *CompositeSpan + Context *SpanContext + Duration float64 + ID SpanID + Links []SpanLink + Name string + OTel *OTel + Outcome string + ParentID SpanID + SampleRate *float64 + Stacktrace []StacktraceFrame + Subtype string + Timestamp Time + TraceID TraceID + TransactionID SpanID + Type string + func (v *Span) MarshalFastJSON(w *fastjson.Writer) error + type SpanContext struct + Database *DatabaseSpanContext + Destination *DestinationSpanContext + HTTP *HTTPSpanContext + Message *MessageSpanContext + Service *ServiceSpanContext + Tags IfaceMap + func (v *SpanContext) MarshalFastJSON(w *fastjson.Writer) error + type SpanCount struct + Dropped int + Started int + func (v *SpanCount) MarshalFastJSON(w *fastjson.Writer) error + type SpanID [8]byte + func (id *SpanID) MarshalFastJSON(w *fastjson.Writer) error + func (id *SpanID) UnmarshalJSON(data []byte) error + type SpanLink struct + SpanID SpanID + TraceID TraceID + func (v *SpanLink) MarshalFastJSON(w *fastjson.Writer) error + type StacktraceFrame struct + AbsolutePath string + Classname string + Column *int + ContextLine string + File string + Function string + LibraryFrame bool + Line int + Module string + PostContext []string + PreContext []string + Vars map[string]interface{} + func (v *StacktraceFrame) MarshalFastJSON(w *fastjson.Writer) error + type StringMap []StringMapItem + func (m *StringMap) UnmarshalJSON(data []byte) error + func (m StringMap) MarshalFastJSON(w *fastjson.Writer) (firstErr error) + type StringMapItem struct + Key string + Value string + func (*StringMapItem) MarshalFastJSON(*fastjson.Writer) error + type System struct + Architecture string + Container *Container + Hostname string + Kubernetes *Kubernetes + Platform string + func (v *System) MarshalFastJSON(w *fastjson.Writer) error + type Time time.Time + func (t *Time) UnmarshalJSON(data []byte) error + func (t Time) MarshalFastJSON(w *fastjson.Writer) error + type TraceID [16]byte + func (id *TraceID) MarshalFastJSON(w *fastjson.Writer) error + func (id *TraceID) UnmarshalJSON(data []byte) error + type Transaction struct + Context *Context + DroppedSpansStats []DroppedSpansStats + Duration float64 + FAAS *FAAS + ID SpanID + Links []SpanLink + Name string + OTel *OTel + Outcome string + ParentID SpanID + Result string + SampleRate *float64 + Sampled *bool + SpanCount SpanCount + Timestamp Time + TraceID TraceID + Type string + func (v *Transaction) MarshalFastJSON(w *fastjson.Writer) error + type URL struct + Full string + Hash string + Hostname string + Path string + Port string + Protocol string + Search string + func (v *URL) MarshalFastJSON(w *fastjson.Writer) error + type User struct + Email string + ID string + Username string + func (v *User) MarshalFastJSON(w *fastjson.Writer) error