Documentation
¶
Overview ¶
Package tracing creates OpenTelemetry spans for job work and inserts.
Index ¶
Constants ¶
View Source
const ( AttrJobID = attribute.Key("foreman.job.id") AttrKind = attribute.Key("foreman.job.kind") AttrQueue = attribute.Key("foreman.queue") AttrAttempt = attribute.Key("foreman.job.attempt") AttrCount = attribute.Key("foreman.job.count") )
View Source
const InstrumentationName = "github.com/thnhdatle/foreman"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Tracer ¶
type Tracer struct {
// contains filtered or unexported fields
}
Tracer creates Foreman spans.
func (*Tracer) StartInsert ¶
Click to show internal directories.
Click to hide internal directories.