# 1) Create an instance with default scaffold (configs, tables, etc.)depths init# 2) Start the uvicorn server for the default instance (binds 0.0.0.0:4318 by default)depths start
Depths is by design multi-tenant at a project level. We define an instance as a particularly configured
logger. Under an instance, you can store telemetry for multiple projects, just that each of them will share the same
configuration for the ingestion server.After start, the server exposes:
GET /healthz (liveness + minimal metrics)
POST /v1/traces (OTLP/HTTP JSON or protobuf)
POST /v1/logs
POST /v1/metrics
GET /api/spans, GET /api/logs, GET /api/metrics/points, GET /api/metrics/hist (simple read APIs)
Option A: point an OTel SDK or Collector at Depths
Set your exporter endpoint to the server:To update that command for Mintlify’s tabbed code blocks, you need to use the platform-specific syntax for setting an environment variable.Here is the correct Mintlify <CodeGroup> component:
export OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318# or use the signal-specific endpoints if you prefer:# http://localhost:4318/v1/traces# http://localhost:4318/v1/logs# http://localhost:4318/v1/metrics
First, we can check the health of the server using status command.
This command provides a comprehensive single-pane snapshot of the telemetry ingestion server.
depths status
We can also take a peak at the most recent rows in our telemetry tables, persisted locally.