Skip to main content
AI Vision connects execution records, space authorization and diagnosis tasks. Knowing which service owns each step helps explain why a working web page may still show no data. This chapter is for developers deploying, maintaining, or studying the implementation. For first-time use, complete the Agent tutorial or SDK tutorial, then return with a concrete question.

Query and storage boundaries

Platform queries and storage boundariesPlatform queries and storage boundaries

Platform queries and storage boundaries

Select the diagram to open the full-size SVG in a new tab. Arrows show calls or read/write direction. See Data flow and identity for ingestion and Diagnosis architecture for result writes. SigNoz is a deployment dependency whose service source is outside this monorepo. Its interfaces here are described from deployment configuration and caller code.

Three databases do not imply three clusters

The default deployment initializes the logical databases aivision, agentlens and signoz. They can share one OceanBase instance; separate boxes distinguish their responsibilities. Docker can also use OceanBase seekdb for these three logical databases, with the same service responsibilities and data flow. See Docker deployment for the selection and support boundaries.
  • aivision: users, spaces, Agents, ingestion configuration and other platform state.
  • agentlens: Diagnosers, Datasets, Jobs, Tasks, leader leases, heartbeats and terminal statistics.
  • signoz: raw telemetry, DiagnosisRecords and terminal TaskStats used by analytical queries.
Django uses the SigNoz HTTP API for observation queries. AgentLens reads traces, diagnosis records and statistics directly from telemetry tables over the OceanBase MySQL protocol. It writes results through Antcollector using OTLP. The platform database does not store raw traces.

Deployment changes the entry point

The deployment overview compares Docker CLI, product Compose and fixed Kubernetes deployment. All three retain the same five application roles—frontend, backend, diagnosis, ingest-gateway and data-backend—plus the database engine. These role names do not rename existing resources or change storage ownership. Docker supports managed or external CE / seekdb; fixed Kubernetes supports only OB Operator-managed CE. Fixed Kubernetes uses one Ingress for Web and OTLP HTTP, routing each path to its service. See Kubernetes deployment for public addresses and TLS, and initialization and readiness for the distinction between starting processes and completing product setup. aiv is a client for deployment, onboarding and queries. It does not add a persistent query service.

Follow the symptom

Match your deployed version, data source, and public addresses before using these service boundaries to narrow an investigation.