Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProcessProvider ¶
func NewProcessProvider(cfg *internal.Config, set *settings.Settings) (*sdktrace.TracerProvider, error)
NewProcessProvider constructs a process-scoped TracerProvider for the runner. Spans emitted via op.Start during a job execution are attributed to this provider and exported as OTLP JSON to the runner traces ingest endpoint.
Process scope (one provider per runner process) is intentional and mirrors how slog.NewOTELProvider creates a per-job log provider: traces correlate across the full process lifetime via runner_id, while logs correlate per log_stream_id. The two share only the Resource builder.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.