tracing

package
v1.28.5 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2026 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	IDTokenEnv     = "KANIKO_TELEMETRY_ID_TOKEN"
	IDTokenFileEnv = "KANIKO_TELEMETRY_ID_TOKEN_FILE"
)
View Source
const BuildIDEnv = "KANIKO_TELEMETRY_BUILD_ID"
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.

View Source
const TokenExchangeEndpointEnv = "KANIKO_TELEMETRY_TOKEN_EXCHANGE_ENDPOINT"

Variables

This section is empty.

Functions

func Init

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

func SetPlan added in v1.28.4

func SetPlan(plan string)

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