Versions in this module Expand all Collapse all v0 v0.0.2 Oct 10, 2023 v0.0.1 Jun 22, 2023 Changes in this version + type Trace struct + Context context.Context + Span trace.Span + func NewTraceWithContext(c context.Context) *Trace + func (t *Trace) AddEvent(event string, attributes map[string]string) + func (t *Trace) Close() + func (t *Trace) FailIf(err error) error + func (t *Trace) Failedf(format string, args ...any) + func (t *Trace) GetTraceID() string + func (t *Trace) RecordError(err error, attributes map[string]string) + func (t *Trace) SetHTTPHeaders(request *http.Request) + func (t *Trace) SetTag(key, value string) + func (t *Trace) StartNewSpan() *Trace + func (t *Trace) StartNewSpanWithName(spanName string) *Trace + func (t *Trace) StartNewSpanf(format string, args ...any) *Trace