defaultpaths

package module
v0.72.2 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2025 License: Apache-2.0 Imports: 2 Imported by: 2

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 = "/etc/datadog-agent"
	// LogFile points to the log file that will be used if not configured
	LogFile = "/var/log/datadog/agent.log"
	// DCALogFile points to the log file that will be used if not configured
	DCALogFile = "/var/log/datadog/cluster-agent.log"
	// JmxLogFile points to the jmx fetch log file that will be used if not configured
	JmxLogFile = "/var/log/datadog/jmxfetch.log"
	// CheckFlareDirectory a flare friendly location for checks to be written
	CheckFlareDirectory = "/var/log/datadog/checks/"
	// JMXFlareDirectory a flare friendly location for jmx command logs to be written
	JMXFlareDirectory = "/var/log/datadog/jmxinfo/"
	// DogstatsDLogFile points to the dogstatsd stats log file that will be used if not configured
	DogstatsDLogFile = "/var/log/datadog/dogstatsd_info/dogstatsd-stats.log"
	// StreamlogsLogFile points to the stream logs log file that will be used if not configured
	StreamlogsLogFile = "/var/log/datadog/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.

Jump to

Keyboard shortcuts

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