Documentation ¶
Index ¶
Constants ¶
View Source
const ( // OdigosInjectInstrumentationLabel is the label used to enable the mutating webhook. OdigosInjectInstrumentationLabel = "odigos.io/inject-instrumentation" // OdigosCollectorRoleLabel is the label used to identify the role of the Odigos collector. OdigosCollectorRoleLabel = "odigos.io/collector-role" )
View Source
const ( OdigosClusterCollectorDeploymentName = "odigos-gateway" OdigosClusterCollectorConfigMapName = OdigosClusterCollectorDeploymentName OdigosClusterCollectorServiceName = OdigosClusterCollectorDeploymentName OdigosClusterCollectorCollectorGroupName = OdigosClusterCollectorDeploymentName OdigosClusterCollectorConfigMapKey = "collector-conf" // The cluster gateway collector runs as a deployment and the pod is exposed as a service. // Thus it cannot collide with other ports on the same node, and we can use an handy default port. OdigosClusterCollectorOwnTelemetryPortDefault = int32(8888) )
View Source
const ( OdigosNodeCollectorDaemonSetName = "odigos-data-collection" OdigosNodeCollectorConfigMapName = OdigosNodeCollectorDaemonSetName OdigosNodeCollectorCollectorGroupName = OdigosNodeCollectorDaemonSetName OdigosNodeCollectorOwnTelemetryPortDefault = int32(55682) OdigosNodeCollectorConfigMapKey = "conf" // this key is different than the cluster collector value. not sure why )
View Source
const ( OdigosEnvVarNamespace = "ODIGOS_WORKLOAD_NAMESPACE" OdigosEnvVarContainerName = "ODIGOS_CONTAINER_NAME" OdigosEnvVarPodName = "ODIGOS_POD_NAME" )
View Source
const (
OdigosDeploymentConfigMapName = "odigos-deployment"
)
Variables ¶
View Source
var ( // MinK8SVersionForInstallation is the minimum Kubernetes version required for Odigos installation // this value must be in sync with the one defined in the kubeVersion field in Chart.yaml MinK8SVersionForInstallation = version.MustParse("v1.20.15-0") )
Functions ¶
func OdigosInjectedEnvVars ¶ added in v1.0.120
func OdigosInjectedEnvVars() []string
Types ¶
type CollectorRole ¶ added in v1.0.91
type CollectorRole string
const ( CollectorsRoleClusterGateway CollectorRole = "CLUSTER_GATEWAY" CollectorsRoleNodeCollector CollectorRole = "NODE_COLLECTOR" )
Click to show internal directories.
Click to hide internal directories.