Explore documentation
Better Stack collector
Better Stack collector is the easiest and recommended way of integrating Better Stack into your environment.
Leverage eBPF to instrument your Kubernetes or Docker clusters to gather logs, metrics, and OpenTelemetry traces without code changes.
Monitor and control your collectors remotely
Remotely monitor collector's throughput and adjust the collector configuration directly from the Better Stack dashboard to adjust sampling, compression, and batching as needed.
Have a legacy service? Use the Better Stack dashboard to increase sampling to save on ingesting costs and egress costs and only scale up when you need the telemetry
Databases auto-instrumented automatically
Collector automatically recognizes databases running in your cluster. Monitor the internals of your PostgreSQL, MySQL, Redis, Memcached or MongoDB out-of-box.
Transform wide events with VRL
Transform logs, spans or other wide events to redact personally identifiable information or simply discard useless events so that you don't get billed.
Getting started
Install via Docker
Deploy collector using Docker compose command:
curl -sSL https://raw.githubusercontent.com/BetterStackHQ/collector/main/docker-compose.yml | \
COLLECTOR_SECRET="your-collector-secret-here" HOSTNAME=$(hostname) \
docker compose -f - up -d
Install via Kubernetes Helm chart
Add collector Helm chart and install it:
helm repo add better-stack https://betterstackhq.github.io/collector-helm-chart
helm repo update
helm install better-stack-collector better-stack/collector \
--set collector.env.COLLECTOR_SECRET="your-collector-secret-here"
For advanced configuration options, see the values.yaml file.
Additional details
GitHub repository
Better Stack collector is open source. See the GitHub repository.