Discover Packages
github.com/assanoff/skit
internal
runspan
package
Version:
v0.14.0
Opens a new window with list of versions in this module.
Published: Nov 1, 2026
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package runspan records a run of periodic work — a worker tick, a cron run —
as the root span of its own trace.
End ends span: a run that did not finish panicked, a run with err failed.
Start opens the root span name. It lifts otel.Suppress: the sampler sees the
values of ctx even for a new root, and a run that asked for a span must not
lose it to a mark left on the context it was started from.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.