Documentation
¶
Overview ¶
Package observability defines the tracing abstraction (Tracer, spans, and attributes) used to instrument workflow execution; the opentelemetry subpackage provides an OpenTelemetry implementation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attribute ¶
Attribute is a key-value pair recorded on workflow telemetry spans or events.
func BoolAttribute ¶
BoolAttribute creates a bool telemetry attribute.
func StringAttribute ¶
StringAttribute creates a string telemetry attribute.
type Span ¶
type Span interface {
End()
AddEvent(name string, attrs ...Attribute)
SetAttributes(attrs ...Attribute)
RecordError(err error)
SetError(message string)
}
Span records workflow telemetry span data.
type SpanOptions ¶
SpanOptions configures a telemetry span start operation.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package opentelemetry implements the workflow observability Tracer using OpenTelemetry, emitting spans for workflow and executor activity.
|
Package opentelemetry implements the workflow observability Tracer using OpenTelemetry, emitting spans for workflow and executor activity. |
Click to show internal directories.
Click to hide internal directories.