tracing

package
v1.28.3 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Package tracing exports kaniko build traces over OTLP, opt-in via KANIKO_TELEMETRY_ENDPOINT.

Index

Constants

View Source
const EndpointEnv = "KANIKO_TELEMETRY_ENDPOINT"

enables tracing when set to an OTLP-HTTP collector URL.

View Source
const OmitDockerfileEnv = "KANIKO_TELEMETRY_OMIT_DOCKERFILE"

whether to keep the Dockerfile source out of the trace.

Variables

This section is empty.

Functions

func Init

func Init(ctx context.Context, opts *config.KanikoOptions)

func Shutdown

func Shutdown(err error)

Shutdown ends the root span with the outcome and flushes. Idempotent. A killed process leaves the root span unended, which the backend marks crashed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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