process-agent

command
v0.0.0-...-c4caace Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 51 Imported by: 0

README

Datadog Process Agent

Installation

See the Live Processes docs for installation instructions.

Development or running from source

Pre-requisites:

  • go >= 1.12
  • invoke

Check out the repo in your $GOPATH

cd $GOPATH/src/github.com/DataDog
git clone git@github.com:DataDog/datadog-agent.git
cd datadog-agent

Note that you must be in $GOPATH/src/github.com/DataDog/datadog-agent, NOT ~/dd/datadog-agent.

Pull down the latest dependencies via dep, and build the Process Agent:

inv -e deps
inv -e process-agent.build

You can now run the Agent on the command-line:

./bin/process-agent/process-agent -config $PATH_TO_PROCESS_CONFIG_FILE

Development

The easiest way to build and test is inside a Vagrant VM. You can provision the VM by running ./pkg/process/tools/dev_setup.sh and SSHing into the VM with vagrant ssh (vagrant must be installed.)

The VM will mount your local $GOPATH, so you can edit source code with your editor of choice.

For development on the system-probe, rake ebpf:nettop will run a small testing program which periodically prints statistics about TCP/UDP traffic inside the VM.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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