Datadog Process Agent
Branch: master
Clone or download
shang-wang Merge pull request #253 from DataDog/shang/pid-cid-mapping
[proc] connection payload includes container ID for processes
Latest commit 136b7a2 Feb 20, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci add a CI step to check for formatting, braces should be attached to p… Dec 7, 2018
checks [proc] rename variables Feb 19, 2019
cmd Merge pull request #250 from DataDog/sunhay/debugging-mem-usage Feb 13, 2019
config [fix] default max tracked connections was set to 0 in the agent confi… Jan 30, 2019
ebpf Fix non-linux_bpf build tag Feb 13, 2019
model Add containerForPid mapping to connections message Feb 15, 2019
net Updated tests for UDS fix Feb 13, 2019
packaging Update Dockerfile-nettop go version to 1.11.2 Jan 10, 2019
proto Add containerForPid mapping to connections message Feb 15, 2019
statsd Add internal instrumentation for aliveness and counts Sep 8, 2017
tools Add incoming/outgoing connection direction indicator based on trackin… Jan 15, 2019
util Fixing ECS values with nil containers take 2 (#179) Sep 6, 2018
.gitignore Add incoming/outgoing connection direction indicator based on trackin… Jan 15, 2019
.gitlab-ci.yml Adds windows support to process agent (#96) Jan 25, 2018
Gopkg.lock [network-tracer] bump iovisor/gobpf version and configure map sizes o… Jan 25, 2019
Gopkg.toml [network-tracer] bump iovisor/gobpf version and configure map sizes o… Jan 25, 2019
LICENSE Update licensing information (#19) Jul 23, 2017
LICENSE-3rdparty.csv Add LICENSE file for 3rd party imports (#20) Jul 24, 2017
NOTICE Update licensing information (#19) Jul 23, 2017
README.md Add incoming/outgoing connection direction indicator based on trackin… Jan 15, 2019
Rakefile Merge remote-tracking branch 'origin/master' into leeavital/use_compi… Jan 24, 2019
appveyor.yml Adds windows support to process agent (#96) Jan 25, 2018
gorake.rb [proc] bump windows version to 6.10.0 Feb 15, 2019

README.md

Datadog Process Agent

CircleCI

Installation

See the Live Processes docs for installation instructions.

Development or running from source

Pre-requisites:

  • go >= 1.10.1
  • rake

Check out the repo in your $GOPATH

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

Pull down the latest dependencies via dep:

rake deps
rake install

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

process-agent -config $PATH_TO_PROCESS_CONFIG_FILE

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

rake protobuf

Contributing

In order for your contributions you will be required to sign a CLA. When a PR is opened a bot will prompt you to sign the CLA. Once signed you will be set for all contributions going forward.

Development

The easiest way to build and test is inside a Vagrant VM. You can provision the VM by running ./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.