package
Version:
v1.0.11864-cf9ad8b
Opens a new window with list of versions in this module.
Published: Oct 7, 2024
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Process struct {
ServiceName string `json:"service_name"`
Tags []Tag `json:"tags"`
}
type Span struct {
TraceID string `json:"traceID"`
SpanID string `json:"spanID"`
OperationName string `json:"operationName"`
References []struct {
RefType string `json:"refType"`
TraceID string `json:"traceID"`
SpanID string `json:"spanID"`
} `json:"references"`
StartTime int64 `json:"startTime"`
Duration int `json:"duration"`
Tags []Tag `json:"tags"`
Logs []any `json:"logs"`
ProcessID string `json:"processID"`
Warnings any `json:"warnings"`
}
type Tag struct {
Key string `json:"key"`
Type string `json:"type"`
Value any `json:"value"`
}
type Trace struct {
ID string `json:"id"`
Spans []Span `json:"spans"`
Processes map[string]Process `json:"processes"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.