Documentation
¶
Overview ¶
Package tracing gives the root module its own instrumentation scope. Spans the root starts (the relay, the worker's background units, admin jobs) carry github.com/xraph/fabriq; spans core starts carry github.com/xraph/fabriq/core. Both use the global tracer provider forge.New installs. The span helpers (Detach, Fail, links) come from core/telemetry.
Index ¶
Constants ¶
View Source
const ScopeName = "github.com/xraph/fabriq"
ScopeName is the instrumentation scope of every span the root starts.
Variables ¶
This section is empty.
Functions ¶
func StartConsumer ¶
func StartConsumer(ctx context.Context, name, traceparent string, attrs ...attribute.KeyValue) (context.Context, trace.Span)
StartConsumer starts the span for one consumed message under the root's scope: a new root of kind Consumer, linked (not parented) to the producer context stored in traceparent.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.