Developers

Follow one request across your services

See a sign-in, and the mail that request sends, in an observability tool you run.

A trace across Shellui: identity handles sign-in, email sends the message on that trace, and a task the request queues continues it.

trace

OTLP

  1. identity sign-in
  2. email send message
  3. worker task it queues

Send it to your backend

Identity, email, storage, hosting, and ai export traces and metrics over OTLP. Point OTEL_EXPORTER_OTLP_ENDPOINT at a collector you run. Leave it empty and export stays off.

Logs carry trace_id and span_id. They are not exported over OTLP. In the dev stack, open Jaeger at localhost:16686.

shellui-django OpenTelemetry docs

OTEL_SERVICE_NAME=shellui-identity
OTEL_EXPORTER_OTLP_ENDPOINT=https://your_collector_host:4318
OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf

Page on these signals

Set the alerts in the backend you run. Shellui does not host them.

Database and Redis calls with no parent span are dropped. The same calls inside a request stay, and so does outbound HTTP with no parent.

Sampling and metric names

Names start with shellui.auth. on identity and shellui.email. on email.

  • Job overdue

    shellui.auth.scheduled.job.overdue or shellui.email.scheduled.job.overdue stays 1. That covers a stopped beat, a stuck worker, or a missing cron line.

  • Failing runs

    Failed runs of shellui.auth.scheduled.job.runs or shellui.email.scheduled.job.runs keep increasing.

  • Scheduler Redis down

    shellui.auth.scheduler.redis.up or shellui.email.scheduler.redis.up is 0.

  • Email lane worker down

    shellui.email.lane.worker.up is 0.

  • Webhooks given up

    shellui.auth.scheduled.job.items or shellui.email.scheduled.job.items increases when kind is webhook_deliveries_given_up.