Documentation
¶
Overview ¶
Package defaultpaths defines default paths used by the agent on each platform
Index ¶
Constants ¶
View Source
const ( // ConfPath points to the folder containing datadog.yaml ConfPath = "/opt/datadog-agent/etc" // LogFile points to the log file that will be used if not configured LogFile = "/opt/datadog-agent/logs/agent.log" // DCALogFile points to the log file that will be used if not configured DCALogFile = "/opt/datadog-agent/logs/cluster-agent.log" //JmxLogFile points to the jmx fetch log file that will be used if not configured JmxLogFile = "/opt/datadog-agent/logs/jmxfetch.log" // CheckFlareDirectory a flare friendly location for checks to be written CheckFlareDirectory = "/opt/datadog-agent/logs/checks/" // JMXFlareDirectory a flare friendly location for jmx command logs to be written JMXFlareDirectory = "/opt/datadog-agent/logs/jmxinfo/" // DogstatsDLogFile points to the dogstatsd stats log file that will be used if not configured DogstatsDLogFile = "/opt/datadog-agent/logs/dogstatsd_info/dogstatsd-stats.log" // StreamlogsLogFile points to the stream logs log file that will be used if not configured StreamlogsLogFile = "/opt/datadog-agent/logs/streamlogs_info/streamlogs.log" )
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 GetDistPath ¶
func GetDistPath() string
GetDistPath returns the fully qualified path to the 'dist' directory
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.
Click to show internal directories.
Click to hide internal directories.