Metrics
Each SmithDB component exposes application metrics at the fixed/metrics path on its HTTP port. Configure your monitoring stack to discover the pods by adding scrape annotations to each component:
Sample Prometheus configuration
Sample Prometheus configuration
smithdb.migration.deployment.annotations.With smithdb.topology: unified, annotate the unified pod and scrape port 8060 only:Histograms and export sets
Collect histograms with their buckets. Without the buckets, you cannot calculate percentiles, such as the p95 query latency. The Helm chart sets each SmithDB component to export thecritical set of metrics. This set includes all SmithDB metrics that the recommended alerts use. To export all metrics, set SMITHDB_<COMPONENT>__METRICS__MODE=all in smithdb.commonEnv or in the extraEnv of one component. Do not set the same variable in both places, because the chart then fails to render.
LangSmith ingestion metrics
The LangSmith ingestion pipeline sends all runs to SmithDB, and SmithDB problems often show there first. Collect these metrics together with the SmithDB metrics:
Both services expose these metrics at
/metrics. For the other LangSmith services, see Export LangSmith telemetry.
The dashboard collection examples do not collect all of these metrics. Add the missing metrics to your collection configuration.
Infrastructure metrics
Monitor the PostgreSQL metastore, Redis, Kubernetes, and cloud services with your existing infrastructure monitoring. For managed Redis and PostgreSQL, use the metrics of your cloud provider.Logs and traces
SmithDB uses the chart-level OpenTelemetry tracing configuration described in Export LangSmith telemetry to your observability backend, with one difference: SmithDB exports over OTLP gRPC only. Setconfig.observability.tracing.exporter to grpc. With http, SmithDB export stays disabled and SmithDB logs remain console-only. The chart adds SmithDB pod and container names as OpenTelemetry resource attributes automatically.
To customize SmithDB log filtering, set RUST_LOG for all SmithDB workloads through smithdb.commonEnv:
Connect these docs to your agent of choice via MCP for real-time answers.

