Run cetra
cetra is one binary, cetra, that serves the web UI, the API, OTLP ingestion and MCP.
Methods
Section titled “Methods”| Method | Best for | Guide |
|---|---|---|
Binary (install.sh) |
a laptop, a VM, systemd | Install |
| Docker image | anything that runs containers | Install |
| docker-compose | one server, optionally with a local S3 (Garage) | docker-compose |
| Helm chart | Kubernetes | Kubernetes |
| Port | Serves |
|---|---|
| 8080 | the UI, the API, OTLP/HTTP at /v1/traces, MCP at /mcp, /healthz and /readyz |
| 4317 | OTLP/gRPC |
| 4318 | OTLP/HTTP and /v1/agent-context (the standard OTLP port) |
cetra accepts /v1/logs and /v1/metrics and drops them: it stores traces only.
First start
Section titled “First start”On the first start, cetra logs a setup link: setup required: open http://localhost:8080/setup?token=…. Open it to create the first admin, organization and project.
To skip the setup page, set these variables for the first start:
| Variable | Sets |
|---|---|
CETRA_INIT_ADMIN_EMAIL |
the admin’s email |
CETRA_INIT_ADMIN_PASSWORD |
the admin’s password |
CETRA_INIT_ORG |
the organization name |
CETRA_INIT_PROJECT |
the project name |
CETRA_INIT_SECRET_KEY |
optional: the project’s first API key (sk-cetra- and 32 letters or digits) |
Where data lives
Section titled “Where data lives”cetra keeps its data in one directory: ./cetra-data by default, or the one you set in CETRA_DATA_DIR. In the Docker image it is the volume at /data.
One process owns a data directory. Run exactly one cetra instance per data directory.