How nabaghan-opsec/coroot works
Coroot is an observability platform that collects telemetry and turns it into application maps, health assessments, traces, logs, profiles, deployment insights, and cost views. The main workflow runs from telemetry ingestion through application modeling and analysis to API-backed exploration in the web UI. The README documents several product capabilities whose implementation was not sampled; those branches are represented at their known source paths, with unverified connections dashed. The graph is based on the tree, README, and supplied excerpts; unsampled modules were not inspected.
Main entry points: api.go HTTP API · stats.go Health aggregation · application.go Domain model · queries.go Application modeling
Components 19
Collection and storage
- Telemetry ingestion
collector/collector.go - Metrics clients
prom/client.go - Analytics store
clickhouse/clickhouse.go - Query cache
cache/cache.go - Project database
db/db.go
Application analysis
- Application modeling
constructor/queries.go - Domain model
model/application.go - Inspections
auditor/auditor.go - Health aggregation
stats/stats.go
Product features
- Application map
api/views/application/application.go - Log exploration
api/views/logs/logs.go - Distributed tracing
api/views/tracing/tracing.go - Profiling
api/views/profiling/profiling.go - Deployment tracking
watchers/deployments.go - Incident notifications
notifications/incidents.go - Cost monitoring
cloud-pricing/manager.go
Other components
- Operator
Connections 19
- Operator → Web UI: explores insights
- Web UI → HTTP API: requests data
- Telemetry ingestion → Analytics store: stores telemetry
- Metrics clients → Analytics store: queries metrics
prom/client.go - Application modeling → Domain model: builds applications
constructor/queries.go - Inspections → Domain model: audits applications
- Health aggregation → Application modeling: uses modeling
stats/stats.go - Health aggregation → Inspections: uses inspections
stats/stats.go - Health aggregation → Cost monitoring: uses pricing
stats/stats.go - Health aggregation → Query cache: uses cache
stats/stats.go - HTTP API → Application map: serves views
- Application map → Domain model: renders map
api/views/application/application.go - HTTP API → Log exploration: serves logs
- HTTP API → Distributed tracing: serves traces
- HTTP API → Profiling: serves profiles
- Deployment tracking → Project database: tracks rollouts
- Incident notifications → Operator: sends alerts
- Cost monitoring → Domain model: prices resources
cloud-pricing/manager.go - HTTP API → Project database: reads project data