Skip to content

Commit

Permalink
Add cluster agent binary and basic functionality for cloud foundry (#…
Browse files Browse the repository at this point in the history
…4935)

Co-Authored-By: Cedric Lamoriniere <cedric.lamoriniere@datadoghq.com>
Co-Authored-By: Ahmed Mezghani <38987709+ahmed-mez@users.noreply.github.com>
Co-Authored-By: Kaylyn <kaylyn.sigler@datadoghq.com>
  • Loading branch information
4 people authored Mar 10, 2020
1 parent 3bef5ab commit 16b8631
Show file tree
Hide file tree
Showing 29 changed files with 2,786 additions and 153 deletions.
6 changes: 6 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
/cmd/agent/install*.sh @DataDog/agent-platform
/cmd/agent/version.h @DataDog/agent-platform
/cmd/cluster-agent/ @DataDog/container-integrations
/cmd/cluster-agent/commands/ @DataDog/container-integrations @DataDog/integration-tools-and-libraries
/cmd/cluster-agent-cloudfoundry/ @DataDog/integrations-tools-and-libraries
/cmd/process-agent/ @DataDog/processes
/cmd/system-probe/ @DataDog/networks

Expand Down Expand Up @@ -55,6 +57,8 @@
/pkg/trace/ @DataDog/apm-agent
/pkg/autodiscovery/ @DataDog/container-integrations @DataDog/agent-core
/pkg/autodiscovery/listeners/ @DataDog/container-integrations
/pkg/autodiscovery/listeners/cloudfoundry*.go @DataDog/integrations-tools-and-libraries
/pkg/autodiscovery/providers/cloudfoundry*.go @DataDog/integrations-tools-and-libraries
/pkg/clusteragent/ @DataDog/container-integrations
/pkg/collector/corechecks/cluster/ @DataDog/container-integrations
/pkg/collector/corechecks/containers/ @DataDog/container-integrations
Expand All @@ -67,6 +71,7 @@
/pkg/collector/corechecks/systemd/ @DataDog/agent-integrations
/pkg/config/config_template.yaml @DataDog/agent-all @DataDog/baklava
/pkg/tagger/ @DataDog/container-integrations
/pkg/util/cloudfoundry/ @DataDog/integrations-tools-and-libraries
/pkg/util/clusteragent/ @DataDog/container-integrations
/pkg/util/containers/ @DataDog/container-integrations
/pkg/util/docker/ @DataDog/container-integrations @DataDog/processes
Expand All @@ -89,6 +94,7 @@

/tasks/ @DataDog/agent-platform
/tasks/agent.py @DataDog/agent-core
/tasks/cluster_agent_cloudfoundry.py @DataDog/integrations-tools-and-libraries
/tasks/process-agent.py @DataDog/processes
/tasks/system-probe.py @DataDog/networks
/tasks/trace.py @DataDog/apm-agent
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ agentmsg.h
datadog.yaml
system-probe.yaml
dogstatsd.yaml
cloudfoundry.yaml
Dockerfiles/cluster-agent/datadog-cluster.yaml
Dockerfiles/cluster-agent/dist

Expand Down
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ run:
skip-files:
- cmd/agent/app/reloadcheck.go # ignore unused command for now
- cmd/agent/app/listchecks.go # ignore unused command for now
- pkg/util/cloudfoundry/bbscache_test.go # implements interface from imported package whose method names fail linting
skip-dirs:
# ignore test helper
- pkg/util/testutil
Expand Down
73 changes: 73 additions & 0 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -271,3 +271,11 @@
[[constraint]]
name = "github.com/miekg/dns"
version = "1.1.27"

[[constraint]]
name = "code.cloudfoundry.org/bbs"
revision = "d0518a556b8f5320812b7d26d20ef0a71f058d44"

[[constraint]]
name = "github.com/bhmj/jsonslice"
revision = "882a55fa931cb1034965bd34d2366b6b5fb012ae"
8 changes: 8 additions & 0 deletions LICENSE-3rdparty.csv
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,14 @@ core,github.com/tinylib/msgp,MIT
core,sigs.k8s.io/structured-merge-diff,Apache-2.0
core,sigs.k8s.io/controller-runtime,Apache-2.0
core,github.com/grpc-ecosystem/go-grpc-prometheus,Apache-2.0
core,github.com/vito/go-sse,Apache-2.0
core,code.cloudfoundry.org/cfhttp,Apache-2.0
core,github.com/bhmj/jsonslice,MIT
core,code.cloudfoundry.org/lager,Apache-2.0
core,code.cloudfoundry.org/bbs,Apache-2.0
core,github.com/tedsuo/rata,MIT
core,github.com/bmizerany/pat,MIT
core,code.cloudfoundry.org/tlsconfig,Apache-2.0
process,github.com/DataDog/gopsutil,BSD-3-Clause
network,github.com/iovisor/gobpf,Apache-2.0
network,github.com/florianl/go-conntrack,MIT
Expand Down
Loading

0 comments on commit 16b8631

Please sign in to comment.