An open API service indexing awesome lists of open source software.

https://github.com/seqsense/datadog-agent-alpine

Small footprint datadog-agent based on Alpine Linux
https://github.com/seqsense/datadog-agent-alpine

alpine-linux datadog datadog-agent docker-image logging

Last synced: 5 months ago
JSON representation

Small footprint datadog-agent based on Alpine Linux

Awesome Lists containing this project

README

          

# datadog-agent-alpine
Small footprint datadog-agent based on Alpine Linux

## News

### 7.41.1
`system-probe` is no longer built for datadog-agent-alpine images.
Use official image if you use `system-probe`.

## Getting started
Availability of `process-agent`, `security-agent`, and `trace-agent` can be switched by the make arguments: `ENABLE_PROCESS_AGENT`, `ENABLE_SECURITY_AGENT`, `ENABLE_TRACE_AGENT` (set `1` to enable)

Installed integrations can be selected by `INTEGRATIONS_CORE` argument.
`btrfs`, `disk`, `ssh_check`, `statsd`, `system_core`, `system_swap` are enabled by default.

For example, following command will build the Alpine based image with `process-agent` and `trace-agent`.
```shell
make docker-build ENABLE_TRACE_AGENT=1
```

## Run
The image works basically same as the official datadog-agent image.
For some reason, this image requires `seccomp` or `apparmor` setting to use `journald` integration.
```yaml
# docker-compose.yml
security_opt:
- "apparmor:unconfined"
- "seccomp:unconfined"
```
```shell
docker run --security-opt=seccomp=unconfined --security-opt=apparmor=unconfined ...
```

## Docker images

Pre-built images with some combination of the features are available on GitHub Container Registry.

```shell
# Minimal image
docker pull ghcr.io/seqsense/datadog-agent:7-alpine

# Image including process-agent
docker pull ghcr.io/seqsense/datadog-agent:7-proc-alpine

# Image including process-agent and trace-agent
docker pull ghcr.io/seqsense/datadog-agent:7-proc-apm-alpine

# Image including process-agent, security-agent, and trace-agent
docker pull ghcr.io/seqsense/datadog-agent:7-all-alpine
```

## License
The scripts to build the images are licensed under the [Apache License, Version 2.0](LICENSE).

The Datadog agent user space components are licensed under the [Apache License, Version 2.0](https://github.com/DataDog/datadog-agent/blob/master/LICENSE).
See https://github.com/DataDog/datadog-agent/#license for the details.