logkey

package
v0.0.0-...-a7fd9b1 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 0 Imported by: 536

Documentation

Index

Constants

View Source
const (
	// ControllerType is the key used for controller type in structured logs
	ControllerType = "knative.dev/controller"

	// Key is the key (namespace/name) being reconciled.
	Key = "knative.dev/key"

	// TraceID is the key used to track an asynchronous or long running operation.
	TraceID = "knative.dev/traceid"

	// Namespace is the key used for namespace in structured logs
	Namespace = "knative.dev/namespace"

	// JSONConfig is the key used for JSON configurations (not to be confused by the Configuration object)
	JSONConfig = "knative.dev/jsonconfig"

	// Kind is the key used to represent kind of an object in logs
	Kind = "knative.dev/kind"

	// Name is the key used to represent name of an object in logs
	Name = "knative.dev/name"

	// Operation is the key used to represent an operation in logs
	Operation = "knative.dev/operation"

	// Resource is the key used to represent a resource in logs
	Resource = "knative.dev/resource"

	// SubResource is a generic key used to represent a sub-resource in logs
	SubResource = "knative.dev/subresource"

	// UserInfo is the key used to represent a user information in logs
	UserInfo = "knative.dev/userinfo"

	// Pod is the key used to represent a pod's name in logs
	Pod = "knative.dev/pod"

	// Deployment is the key used to represent a deployment's name in logs
	Deployment = "knative.dev/deployment"

	// KubernetesService is the key used to represent a Kubernetes service name in logs
	KubernetesService = "knative.dev/k8sservice"

	// Commit is the logging key used to represent the VCS revision that the
	// Knative component was built from
	Commit = "commit"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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