Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultErrorHandler ¶
type DefaultErrorHandler struct {
// contains filtered or unexported fields
}
func (DefaultErrorHandler) Handle ¶
func (eh DefaultErrorHandler) Handle(err error)
type ErrorHandler ¶
type ErrorHandler interface {
Handle(err error)
}
type Exporter ¶
type Exporter struct {
// contains filtered or unexported fields
}
func NewExporter ¶
func (Exporter) ExportSpan ¶
type Option ¶
type Option func(*config)
func WithErrorHandler ¶
func WithErrorHandler(errorHandler ErrorHandler) Option
type Span ¶
type Span struct { ID string `json:"span_id"` TraceID string `json:"trace_id"` ParentID string `json:"parent_id,omitempty"` OperationName string `json:"operation_name"` StartTime time.Time `json:"start_time"` FinishTime time.Time `json:"finish_time"` Attributes map[string]string `json:"attributes,omitempty"` }
Click to show internal directories.
Click to hide internal directories.