Documentation
¶
Index ¶
Constants ¶
View Source
const ( // keep these in sync with attributes sent from the sdks AttrHatchetTaskRunID = "hatchet.step_run_id" // Task run external ID from SDK AttrHatchetWorkflowRunID = "hatchet.workflow_run_id" // Workflow run ID from SDK )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OTelCollector ¶
type OTelCollector interface {
collectortracev1.TraceServiceServer
}
func NewOTelCollector ¶
func NewOTelCollector(fs ...OTelCollectorOpt) (OTelCollector, error)
type OTelCollectorOpt ¶
type OTelCollectorOpt func(*OTelCollectorOpts)
func WithLogger ¶
func WithLogger(l *zerolog.Logger) OTelCollectorOpt
func WithRepository ¶
func WithRepository(r repository.Repository) OTelCollectorOpt
type OTelCollectorOpts ¶
type OTelCollectorOpts struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.