Versions in this module Expand all Collapse all v0 v0.3.0 Nov 27, 2026 Changes in this version + var ErrNoBackend = errors.New("no tracing backend is configured") + var ErrNotFound = errors.New("trace not found") + var Group = endpoint.Register(endpoint.Define("telemetry", "Read telemetry through the controller", ...)) + type Deps struct + Traces TraceReader + type TraceInput struct + All bool + ID string + type TraceNode struct + Children []TraceNode + ClockSkew string + Detail string + Duration string + Name string + On string + Span TraceSpan + Status string + type TraceReader interface + Trace func(ctx context.Context, id string) (*traces.Trace, error) + type TraceResponse struct + Duration string + FailedSpans int + NATSCalls int + NATSTime string + Services []string + Spans []TraceNode + Started time.Time + TraceID string + func Get(ctx context.Context, d Deps, in TraceInput) (TraceResponse, error) + type TraceSpan struct + Attributes map[string]string + DurationMs float64 + Kind string + Name string + ParentSpanID string + Service string + SpanID string + StartTime time.Time + Status types.SpanStatus + StatusMessage string