defaultpaths

package module
v0.82.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Overview

Package defaultpaths defines default paths used by the agent on each platform

Index

Constants

This section is empty.

Variables

View Source
var (

	// PyChecksPath holds the path to the python checks from integrations-core shipped with the agent
	PyChecksPath = filepath.Join(_here, "..", "..", "checks.d")
)

Functions

func GetDefaultCheckFlareDirectory

func GetDefaultCheckFlareDirectory() string

GetDefaultCheckFlareDirectory returns the path to the check flare directory

func GetDefaultConfFile

func GetDefaultConfFile() string

GetDefaultConfFile returns the default location of datadog.yaml

func GetDefaultConfPath added in v0.78.0

func GetDefaultConfPath() string

GetDefaultConfPath returns the path to the folder containing datadog.yaml

func GetDefaultDCALogFile

func GetDefaultDCALogFile() string

GetDefaultDCALogFile returns the path to the cluster-agent log file

func GetDefaultDDAgentBin

func GetDefaultDDAgentBin() string

GetDefaultDDAgentBin returns the default path to the core agent binary

func GetDefaultDataPlaneLogFile

func GetDefaultDataPlaneLogFile() string

GetDefaultDataPlaneLogFile returns the default log file used by the data-plane agent if not configured

func GetDefaultDogstatsDProtocolLogFile

func GetDefaultDogstatsDProtocolLogFile() string

GetDefaultDogstatsDProtocolLogFile returns the path to the DogStatsD protocol stats log file

func GetDefaultDogstatsDServiceLogFile

func GetDefaultDogstatsDServiceLogFile() string

GetDefaultDogstatsDServiceLogFile returns the path to the legacy dogstatsd log file location

func GetDefaultHostProfilerLogFile

func GetDefaultHostProfilerLogFile() string

GetDefaultHostProfilerLogFile returns the path to the host-profiler log file

func GetDefaultJMXFlareDirectory

func GetDefaultJMXFlareDirectory() string

GetDefaultJMXFlareDirectory returns the path to the JMX flare directory

func GetDefaultJmxLogFile

func GetDefaultJmxLogFile() string

GetDefaultJmxLogFile returns the path to the jmxfetch log file

func GetDefaultLogFile

func GetDefaultLogFile() string

GetDefaultLogFile returns the path to the agent log file

func GetDefaultLogPath

func GetDefaultLogPath() string

GetDefaultLogPath returns the path to the agent log directory

func GetDefaultOTelAgentLogFile

func GetDefaultOTelAgentLogFile() string

GetDefaultOTelAgentLogFile returns the path to the otel-agent log file

func GetDefaultPrivateActionRunnerLogFile

func GetDefaultPrivateActionRunnerLogFile() string

GetDefaultPrivateActionRunnerLogFile returns the path to the private-action-runner log file

func GetDefaultProcessAgentLogFile

func GetDefaultProcessAgentLogFile() string

GetDefaultProcessAgentLogFile returns the path to the process-agent log file

func GetDefaultPyChecksPath

func GetDefaultPyChecksPath() string

GetDefaultPyChecksPath returns the path to the python checks directory

func GetDefaultReceiverSocket

func GetDefaultReceiverSocket() string

GetDefaultReceiverSocket returns the path to the APM receiver Unix socket

func GetDefaultRunPath

func GetDefaultRunPath() string

GetDefaultRunPath returns the path to the run directory

func GetDefaultSecurityAgentLogFile

func GetDefaultSecurityAgentLogFile() string

GetDefaultSecurityAgentLogFile returns the path to the security-agent log file

func GetDefaultStatsdSocket

func GetDefaultStatsdSocket() string

GetDefaultStatsdSocket returns the path to the run directory

func GetDefaultStreamlogsLogFile

func GetDefaultStreamlogsLogFile() string

GetDefaultStreamlogsLogFile returns the path to the streamlogs log file

func GetDefaultSysProbeConfFile

func GetDefaultSysProbeConfFile() string

GetDefaultSysProbeConfFile returns the default location of system-probe.yaml

func GetDefaultSystemProbeAddress

func GetDefaultSystemProbeAddress() string

GetDefaultSystemProbeAddress returns the default unix socket path to be used for connecting to the system probe

func GetDefaultSystemProbeLogFile

func GetDefaultSystemProbeLogFile() string

GetDefaultSystemProbeLogFile returns the path to the system-probe log file

func GetDefaultTraceAgentLogFile

func GetDefaultTraceAgentLogFile() string

GetDefaultTraceAgentLogFile returns the path to the trace-agent log file

func GetDefaultUpdaterLogFile

func GetDefaultUpdaterLogFile() string

GetDefaultUpdaterLogFile returns the path to the updater log file

func GetDistPath

func GetDistPath() string

GetDistPath returns the fully qualified path to the 'dist' directory

func GetEmbeddedBinPath added in v0.78.0

func GetEmbeddedBinPath() string

GetEmbeddedBinPath returns the path of the embedded binary.

func GetInstallPath added in v0.69.0

func GetInstallPath() string

GetInstallPath returns the fully qualified path to the datadog-agent executable

Types

This section is empty.

Jump to

Keyboard shortcuts

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