consts

package
v1.0.128 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 1 Imported by: 29

Documentation

Index

Constants

View Source
const (
	CurrentNamespaceEnvVar       = "CURRENT_NS"
	DefaultOdigosNamespace       = "odigos-system"
	OdigosConfigurationName      = "odigos-config"
	OdigosConfigurationFileName  = "config.yaml"
	OTLPPort                     = 4317
	OTLPHttpPort                 = 4318
	PprofOdigosPort              = 6060
	OdigosInstrumentationLabel   = "odigos-instrumentation"
	InstrumentationEnabled       = "enabled"
	InstrumentationDisabled      = "disabled"
	OdigosReportedNameAnnotation = "odigos.io/reported-name"

	// Used to store the original value of the environment variable in the pod manifest.
	// This is used to restore the original value when an instrumentation is removed
	// or odigos is uninstalled.
	// Should only be used for environment variables that are modified by odigos.
	ManifestEnvOriginalValAnnotation = "odigos.io/manifest-env-original-val"
	// Used to label instrumentation instances by the corresponding
	// instrumented app for better query performance.
	InstrumentedAppNameLabel = "instrumented-app"
)

Variables

View Source
var (
	SystemNamespaces  = []string{DefaultOdigosNamespace, "kube-system", "local-path-storage", "istio-system", "linkerd", "kube-node-lease"}
	IgnoredContainers = []string{"istio-proxy", "vault-agent", "filebeat", "linkerd-proxy", "fluentd", "akeyless-init"}
)
View Source
var (
	PodsNotFoundErr = errors.New("could not find a ready pod")
)

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