Epic: Observability Integration #6

Open
opened 2026-03-29 23:17:15 +02:00 by claude · 1 comment
Owner

Overview

Per-tenant cameleer3-server instances with ClickHouse for trace/metrics storage. MOAT feature gating by tier.

Architecture decision (2026-04-04): ClickHouse replaced OpenSearch in the cameleer3-server stack. Columnar OLAP database, better for time-series observability data, lighter to operate. See docs/superpowers/specs/2026-04-04-dual-deployment-architecture.md.

Data Stack

Component Role
cameleer3-server Receives agent data, processes traces
ClickHouse Trace/metrics storage (replaced OpenSearch)
PostgreSQL Platform metadata (tenants, licenses, audit)

MOAT Feature Gating by Tier

Feature Low Mid High Business
Topology Graph Yes Yes Yes Yes
Payload Lineage Limited Full Full Full
Cross-Service Correlation No Yes Yes Yes
Live Route Debugger No No Yes Yes
Exchange Replay No No Yes Yes

Multi-Tenancy

  • Docker: Single cameleer3-server instance, tenant_id partitioning in ClickHouse
  • K8s: Per-tenant cameleer3-server instances in tenant namespaces
  • API gateway routing via Traefik ForwardAuth (validates JWT, injects X-Tenant-Id)

Implemented In

  • Phase 4 (#28 — Observability Pipeline)
## Overview Per-tenant cameleer3-server instances with ClickHouse for trace/metrics storage. MOAT feature gating by tier. > **Architecture decision (2026-04-04):** ClickHouse replaced OpenSearch in the cameleer3-server stack. Columnar OLAP database, better for time-series observability data, lighter to operate. See `docs/superpowers/specs/2026-04-04-dual-deployment-architecture.md`. ## Data Stack | Component | Role | |-----------|------| | cameleer3-server | Receives agent data, processes traces | | **ClickHouse** | Trace/metrics storage (replaced OpenSearch) | | PostgreSQL | Platform metadata (tenants, licenses, audit) | ## MOAT Feature Gating by Tier | Feature | Low | Mid | High | Business | |---------|-----|-----|------|----------| | Topology Graph | Yes | Yes | Yes | Yes | | Payload Lineage | Limited | Full | Full | Full | | Cross-Service Correlation | No | Yes | Yes | Yes | | Live Route Debugger | No | No | Yes | Yes | | Exchange Replay | No | No | Yes | Yes | ## Multi-Tenancy - **Docker:** Single cameleer3-server instance, tenant_id partitioning in ClickHouse - **K8s:** Per-tenant cameleer3-server instances in tenant namespaces - API gateway routing via Traefik ForwardAuth (validates JWT, injects X-Tenant-Id) ## Implemented In - Phase 4 (#28 — Observability Pipeline)
claude added the epicobservability labels 2026-03-29 23:18:00 +02:00
Author
Owner

Status Update (2026-04-07)

Observability integration done:

  • cameleer3-server-ui served at /server/* via Traefik (strip-prefix + BASE_PATH)
  • Server SSO: Logto OIDC auto-login when clicking "View Dashboard" from platform
  • Server OIDC configured automatically by bootstrap (issuer, client, audience, roles)
  • Custom JWT injects roles claim for server role mapping
  • Two OIDC paths: platform org-scoped tokens (scope claim) and server-ui SSO (roles claim)
  • Agent status and observability status API hooks in platform frontend

Remaining:

  • Deep-link from platform app detail to server exchange view for that app
  • Observability data visible inline in platform (currently opens server-ui in new tab)
## Status Update (2026-04-07) ### Observability integration done: - cameleer3-server-ui served at `/server/*` via Traefik (strip-prefix + BASE_PATH) - Server SSO: Logto OIDC auto-login when clicking "View Dashboard" from platform - Server OIDC configured automatically by bootstrap (issuer, client, audience, roles) - Custom JWT injects `roles` claim for server role mapping - Two OIDC paths: platform org-scoped tokens (scope claim) and server-ui SSO (roles claim) - Agent status and observability status API hooks in platform frontend ### Remaining: - Deep-link from platform app detail to server exchange view for that app - Observability data visible inline in platform (currently opens server-ui in new tab)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cameleer/cameleer-saas#6