How balaji-kvb/telemetryscope works
TelemetryScope is a cloud-native telemetry collection, log analytics, and operational investigation platform. Its main path accepts structured events through ingestion, validates and normalizes them, forwards them to processing for fingerprinting, persistence, and alert evaluation, then serves stored telemetry and operational views to the dashboard. The README also describes demo workload controls, deployment correlation, infrastructure visibility, and optional alert webhooks. Source excerpts verify key service calls; some broader UI and integration relationships are documented but not shown in sampled code.
Main entry points: App.jsx React Dashboard · app.py Processing Endpoint · api.js Dashboard API Client · database.py Event Persistence
Components 23
Telemetry Capture
- Ingestion API
services/ingestion-service/routes/ingestion.py - Payload Validation
services/ingestion-service/validators/payload.py - Ingestion Service
services/ingestion-service/app.py
Processing & Alerts
- Processing Endpoint
services/processing-service/app.py - Error Fingerprinting
services/processing-service/fingerprint.py - Event Persistence
services/processing-service/processors/database.py - Alert Evaluation
services/processing-service/processors/alerts.py - PostgreSQL
database/init/002_initial_schema.sql
Query & Investigation
- Query & Control API
services/query-service/app.py - Analytics Queries
services/query-service/queries/database.py - React Dashboard
frontend/src/App.jsx - Dashboard API Client
frontend/src/services/api.js - Overview & Timeline
frontend/src/pages/Overview.jsx - Live Log Search
frontend/src/pages/LiveLogs.jsx - Error Investigation
frontend/src/pages/Errors.jsx - Alert Console
frontend/src/pages/Alerts.jsx - Service Catalog
frontend/src/pages/Services.jsx
Operations & Demo
- Demo Workload
demo-workload/app.py - Load Controls
frontend/src/pages/LoadTest.jsx - Infrastructure View
frontend/src/pages/Infrastructure.jsx - Prometheus & Grafana
monitoring/prometheus/prometheus.yml
Other components
- Telemetry Producers
- External Alert Target
Connections 26
- Telemetry Producers → Ingestion API: submits events
README.md - Ingestion API → Payload Validation: validates payload
services/ingestion-service/routes/ingestion.py - Ingestion API → Processing Endpoint: forwards events
services/ingestion-service/routes/ingestion.py - Processing Endpoint → Error Fingerprinting: computes fingerprint
services/processing-service/app.py - Processing Endpoint → Event Persistence: persists event
services/processing-service/app.py - Processing Endpoint → Alert Evaluation: evaluates alerts
services/processing-service/app.py - Processing Endpoint → Event Persistence: updates error group
services/processing-service/app.py - Event Persistence → PostgreSQL: writes telemetry
services/processing-service/processors/database.py - Alert Evaluation → Event Persistence: inserts alert
services/processing-service/processors/alerts.py - Alert Evaluation → External Alert Target: notifies optionally
README.md - Query & Control API → Analytics Queries: runs queries
services/query-service/app.py - Analytics Queries → PostgreSQL: reads telemetry
services/query-service/queries/database.py - React Dashboard → Dashboard API Client: uses API client
- Dashboard API Client → Query & Control API: requests REST data
README.md - React Dashboard → Overview & Timeline: routes to
frontend/src/App.jsx - React Dashboard → Live Log Search: routes to
frontend/src/App.jsx - React Dashboard → Error Investigation: routes to
frontend/src/App.jsx - React Dashboard → Alert Console: routes to
frontend/src/App.jsx - React Dashboard → Service Catalog: routes to
frontend/src/App.jsx - React Dashboard → Load Controls: routes to
frontend/src/App.jsx - React Dashboard → Infrastructure View: routes to
frontend/src/App.jsx - Load Controls → Dashboard API Client: calls controls
frontend/src/pages/LoadTest.jsx - Dashboard API Client → Demo Workload: triggers demo
README.md - Prometheus & Grafana → Ingestion Service: scrapes metrics
- Prometheus & Grafana → Processing Endpoint: scrapes metrics
- Prometheus & Grafana → Query & Control API: scrapes metrics