Skip to content

Observability reference

A cloud-neutral reference for an agentic application with full OpenTelemetry. A browser UI, nine deterministic domain agents, idempotent writes, and traces, metrics and browser RUM through an OpenTelemetry Collector to any OTLP backend. Logs are JSON on stdout, carrying the trace ID.

Repository ci

What is in it

  • Trace hierarchy from browser.page_view through POST /events to one span per agent.
  • Collector with bounded batching, retry, queue and memory protection; export to Grafana/LGTM, Datadog, New Relic, Dynatrace, Elastic, Splunk or any OTLP system.
  • Docker Compose, a Kubernetes template, Terraform/OpenTofu and Terragrunt foundations, Prometheus alert examples.
  • Design docs: HLD, two ADRs, production readiness and cost model.

Run it

git clone https://github.com/debanjan0212/observability.git && cd observability
cp .env.example .env && docker compose up --build     # http://localhost:8000

Where it fits

The OpenTelemetry pattern here (one parent span per request, one child per agent, logs carrying trace_id) is the same one agent-harness-sdk, Argus and Themis use.