Prerequisites
- A Debian, Ubuntu, or RPM-based Linux host on amd64 or arm64, with systemd and
sudo. - The Squasher CLI, signed in with
squasher login. - An ingest key and the project ID. See Create an ingest key.
- For container metrics: Docker, with its socket at
/var/run/docker.sock.
Install the Collector
1
Preview the setup
The preview writes nothing and changes nothing on the host.Leave out
--containers if you do not need Docker metrics. --environment defaults to
production, and --interval-seconds defaults to 60.2
Render the install bundle
manifest.json, config.yaml, install.sh, and README.md. It
contains no key. The command does not overwrite a directory that exists.3
Install it
Review the files, then pass the key only to the install process:The installer writes the key to a file with mode
0600 and runs the Collector as the
squasher-collector user.4
Check it
verify returns healthy when CPU, memory, filesystem, optional Docker, and Collector health
metrics reached Squasher in the last 180 seconds. Otherwise it returns incomplete and names
the missing signal.What the Collector sends
The Collector does not read process command lines, environment variables, application logs, or
eBPF data. For application logs and traces, use an SDK or OpenTelemetry.
To see the data, select Infrastructure in the sidebar in Squasher.
Manage the Collector
Limits
- The service runs with
MemoryHigh=32M,MemoryMax=64M, andCPUQuota=10%. - Docker mode adds the Collector user to the Docker socket group.
- The CLI renders a Linux systemd install only. For Kubernetes, see Kubernetes.
Next steps
Docker
Collect container logs with an OpenTelemetry Collector.
Kubernetes
Collect pod logs and workload metrics with Helm.