otelcol

package
v0.109.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2026 License: MIT Imports: 14 Imported by: 0

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
	AttrHatchetRetryCount    = "hatchet.retry_count"     // Retry count from SDK
)

Variables

This section is empty.

Functions

This section is empty.

Types

type OTelCollector

OTelCollector is the standard OTLP TraceService, which the engine serves for OTel SDK compatibility.

func NewOTelCollector

func NewOTelCollector(fs ...OTelCollectorOpt) (OTelCollector, error)

type OTelCollectorOpt

type OTelCollectorOpt func(*OTelCollectorOpts)

func WithAnalytics added in v0.83.13

func WithAnalytics(a analytics.Analytics) OTelCollectorOpt

func WithLogger

func WithLogger(l *zerolog.Logger) OTelCollectorOpt

func WithMaxBatchSize added in v0.82.0

func WithMaxBatchSize(n int) OTelCollectorOpt

func WithO11yUsage added in v0.105.20

func WithO11yUsage(agg *o11yusage.Aggregator) OTelCollectorOpt

type OTelCollectorOpts

type OTelCollectorOpts struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL