process-agent

command
v0.0.0-...-3dd6856 Latest Latest
Warning

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

Go to latest
Published: May 20, 2019 License: Apache-2.0 Imports: 27 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.11.5
  • 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

Pull down the latest dependencies via dep:

inv -e deps
inv -e build

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

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

If you modify any of the .proto files you must rebuild the *.pb.go files with

inv process-agent.protobuf

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 network-tracer, 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.

Jump to

Keyboard shortcuts

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