logkey

package
v0.0.0-...-42d1b00 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

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"

	// GitHubCommitID is the key used to represent the GitHub Commit ID where the
	// Knative component was built from in logs
	GitHubCommitID = "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