utils

package
v1.23.1 Latest Latest
Warning

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

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

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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