utils

package
v1.23.1-rc.1 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const EnableADPAnnotation = "agent.datadoghq.com/adp-enabled"
View Source
const EnableFineGrainedKubeletAuthz = "agent.datadoghq.com/fine-grained-kubelet-authorization-enabled"
View Source
const EnableHostProfilerAnnotion = "agent.datadoghq.com/host-profiler-enabled"
View Source
const HostProfilerConfigDataAnnotion = "agent.datadoghq.com/host-profiler-configdata"
View Source
const HostProfilerConfigMapNameAnnotion = "agent.datadoghq.com/host-profiler-configmap-name"

Config map item must be `host-profiler-config.yaml`

View Source
const ProcessConfigRunInCoreAgentMinVersion = "7.60.0-0"

Variables

This section is empty.

Functions

func HasAgentDataPlaneAnnotation added in v1.11.0

func HasAgentDataPlaneAnnotation(dda metav1.Object) bool

HasAgentDataPlaneAnnotation returns true if the Agent Data Plane is enabled via the dedicated `agent.datadoghq.com/adp-enabled` annotation

func HasFineGrainedKubeletAuthz added in v1.20.0

func HasFineGrainedKubeletAuthz(dda metav1.Object) bool

HasFineGrainedKubeletAuthz returns true if the feature is enabled via the dedicated `agent.datadoghq.com/fine-grained-kubelet-authorization-enabled` annotation

func HasHostProfilerAnnotation added in v1.23.0

func HasHostProfilerAnnotation(dda metav1.Object) bool

HasHostProfilerAnnotation returns true if the Host Profiler is enabled via the dedicated `agent.datadoghq.com/host-profiler` annotation

func HasHostProfilerConfigAnnotion added in v1.23.0

func HasHostProfilerConfigAnnotion(dda metav1.Object, annotationName string) (string, bool)

HasHostProfilerConfigAnnotion returns true if the Host Profiler has a config annotation, and returns the config.

func ShouldRunProcessChecksInCoreAgent added in v1.21.0

func ShouldRunProcessChecksInCoreAgent(ddaSpec *v2alpha1.DatadogAgentSpec) bool

ShouldRunProcessChecksInCoreAgent determines whether allow process checks to run in core agent based on environment variables and the agent version.

Types

This section is empty.

Jump to

Keyboard shortcuts

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