Developer-first API Analytics SDK — real-time observability for FastAPI & Django with zero external dependencies.
Privacy-friendly • Local-first • Open-source • Designed for modern API ecosystems.
| Version | Codename | Status | Release Target | Focus Area |
|---|---|---|---|---|
| v0.3 | Foundation | 🟢 Released | ✅ Released | Core SDK & Data Capture |
| v0.4 | Pulse | 🟢 Released | ✅ Current | Dashboard & Real-Time Metrics |
| v0.5 | Sentinel | ⚙️ Planned | Q1 2026 | Alerts & Health Monitoring |
| v0.6 | Archive | ⚙️ Planned | Q2 2026 | Export, Retention & Performance |
| v0.7 | Insight | 🧠 Concept | Q3 2026 | AI Insights & Anomaly Detection |
| v0.8 | CloudHub | ☁️ Concept | Q4 2026 | Multi-Project & Remote Mode |
| v0.9 | Nexus | 🧩 Concept | 2027 | Plugins & SDK Ecosystem |
| v1.0 | Horizon | 🔵 Future | 2027 | Production-Ready Platform |
“Plug-and-play SDK for API analytics — works instantly with FastAPI & Django.”
- Lightweight SDK with FastAPI and Django middleware.
- Automatic capture of:
- Request/Response metadata
- Status codes, latency, method, path
- Environment tags (
DEV,STAGE,PROD)
- Persistent local storage using DuckDB.
- CLI utilities:
devtrack init→ initialize analytics storedevtrack monitor→ basic live metrics view
- Configurable via
.envfile. - Privacy-first defaults (headers only, bodies disabled).
Establish a minimal yet complete analytics SDK that “just works” with zero configuration.
“Your live API observability dashboard — no external stack required.”
- Built-in Dashboard at
/__devtrack__/dashboard- Traffic Overview – requests over time
- Error Trends – failure rates & top failing routes
- Performance Metrics – p50/p95/p99 latency charts
- Request Logs – searchable & filterable table
- Auto-refresh (5–30 s) toggle.
- JSON Metrics APIs:
/metrics/traffic,/metrics/errors,/metrics/perf,/logs - Consumer Segmentation:
- Identify clients via headers, JWTs, IPs, or auth context
- No API key required
- Hashed identifiers for privacy.
- Async batching writer for minimal overhead.
- Dashboard built with React + Tailwind, bundled with FastAPI static files.
Provide a real-time, interactive analytics console running alongside your API.
“Don’t just see what’s happening — get alerted when things break.”
- Aggregation Engine
- Hourly/day-level summaries for traffic, latency, and errors.
- Alerts & Notifications
- Rules for error-rate and latency thresholds.
- Channels: Webhooks, Slack, Microsoft Teams.
- Health Checks / Uptime
- Synthetic pings every minute + uptime % in dashboard.
- Background Scheduler
- Async or Celery-based job orchestration.
- CLI Enhancements
devtrack alerts listdevtrack uptime run
Transform DevTrack from passive observability to proactive alerting.
“Your API data belongs to you — analyze it anywhere.”
- Data Export
- CSV/Parquet export via CLI:
devtrack export --format parquet --since 7d - Optional S3/GCS destinations.
- CSV/Parquet export via CLI:
- Retention Policies
- Auto-purge after configurable TTL (
30 ddefault). - CLI:
devtrack compact --ttl 30d.
- Auto-purge after configurable TTL (
- Schema Versioning
- Meta table + auto migration checks.
- Performance Optimizations
- Batched writes, async I/O, request sampling.
- Middleware overhead ≤ 1 ms target.
- Prometheus Bridge
/__devtrack__/metricsendpoint for Prometheus/Grafana.
Let developers own, export, and integrate DevTrack data freely.
“Understand why your API slows down — not just when.”
- Anomaly Detection
- Detect latency/error spikes with statistical models.
- AI-Powered Summaries
/insightsendpoint → narrative diagnostics.
- Endpoint Profiling
- Payload sizes, top slow endpoints, hourly heatmaps.
- Tag Correlation
- Filter metrics by
env,service, ortenant.
- Filter metrics by
- Dashboard Insights Tab
- Cards like “🔥 3 endpoints slowed down today.”
Move from metrics to intelligence — actionable performance insights.
“Monitor all your services in one place — locally or self-hosted.”
- Multi-Project Support
- Add
project_idto metrics; dashboard switcher.
- Add
- Remote DevTrack Hub (optional)
- Push summaries to a central self-hosted API.
- Authentication & RBAC
- JWT or token-based dashboard access.
- Team Collaboration
- Share dashboards via secure links.
Aggregate observability across teams and environments, vendor-free.
“Extend DevTrack across your tech stack.”
- Plugin System
@devtrack.plugindecorator for custom metrics (e.g., Redis latency).
- Cross-Language SDKs
- Node.js (Express) + Flask adapters.
- Visualization API
/__devtrack__/api/plugins/*for external widgets.
- Community Templates
- Ready-made dashboards for fintech, ML, and monitoring use-cases.
Turn DevTrack into a multi-language, extensible observability ecosystem.
“Open-source API analytics platform — fast, privacy-first, and extensible.”
- Polished UI + UX.
- Automated test suite.
- Full documentation + tutorials.
- Docker image for 1-line deployment.
- Self-hosted DevTrack Cloud edition (multi-app persistence).
- Public website & docs portal.
- Sample dashboard demo.
Ship a stable, enterprise-ready release that competes with modern observability platforms while staying 100 % open-source.
| Feature | Description |
|---|---|
| Service Map Visualization | Auto-map dependencies between endpoints |
| OpenTelemetry Correlation | Link DevTrack metrics with distributed traces |
| Custom Dashboards | User-defined SQL/JSON charts |
| AI Anomaly Reporter | Automated daily summaries |
| Webhooks Marketplace | Connectors for Notion, ClickUp, Discord, etc. |
| Version | Focus | Outcome |
|---|---|---|
| v0.3 | SDK Core | Reliable analytics foundation |
| v0.4 | Dashboard | Real-time visualization |
| v0.5 | Alerts + Health | Proactive monitoring |
| v0.6 | Data Ownership | Export & retention |
| v0.7 | Intelligence | AI-driven insights |
| v0.8 | Collaboration | Multi-project hub |
| v0.9 | Ecosystem | Plugins & multi-SDKs |
| v1.0 | Stability | Production-grade release |
Maintainer: Mahesh Solanke
Repository: github.com/mahesh-solanke/devtrack-sdk
License: MIT
Category: Developer Observability / API Analytics
“Monitor. Analyze. Improve — with zero setup.”