Skip to main content
This section is for the person who runs magpie-server for a team or for many customers. It shows how to turn on each part, with commands that were run on 2026-12-04 (macOS, the code of main). Every flag, with its default: Server reference, “Run it”. You need magpie-server on your PATH (Quickstart), and curl. The commands in these pages run in an empty folder.

The basics

  • One store is one folder. It holds every span, index and log. Back up the folder, and you back up the store (Backup).
  • One writer per folder. Only one process may write to a store at a time. A second one is refused. With many app instances, they all send to one server: that server is the writer.
  • A write is searchable after the next commit. The server commits every 0.5 s, and a commit takes some time too: 1.1 to 1.2 s in all on the test machine while other builds ran. The commands in these pages wait 2 s after a send.
  • Stop it with SIGINT or SIGTERM (Ctrl-C, kill, docker stop). The server waits for the requests in progress and closes the store. With the default --durability disk, a kill -9 loses no accepted write either (Durability).
  • Health check: GET /healthz answers ok. It needs no key.
  • Containers: from release 0.1.0 on, the image is ghcr.io/intojhanurag/magpie-server (amd64 and arm64; not published yet); the Dockerfile in the repo root builds it from the sources. The image runs as a user without rights and has a health check (GET /healthz). The Compose and Kubernetes files were not run here: Server reference, “Docker”.

In this section

API keys and TLS

Turn on keys. Turn on TLS. Use a proxy.

Tenants

One store per customer, from the API key.

Retention and deletes

Drop old spans. Delete a user’s data and purge.

Masking private data

Replace private data before it is stored.

Import and backup

Load old traces. Back up and restore a store.

S3

Keep the store in a bucket too. Read-only servers.

Durability and upgrades

What a write survives. The store version.

Errors, memory and threads

What each error means. How much memory and how many threads.
Also read Security and Limits before you open the server to other machines.