Smart Analytics
Business intelligence and analytics platform.
Features
- π Real-time Dashboards β Live metrics and KPIs
- π Custom Reports β Build custom analytics
- π Multi-source β Connect databases, APIs, CSV
- π± Responsive β Works on all devices
- π Alerts β Threshold-based notifications
Data Sources
| Source | Type | Status |
|--------|------|--------|
| PostgreSQL | Database | β |
| MySQL | Database | β |
| MongoDB | Database | β |
| REST API | API | β |
| CSV/Excel | File | β |
| Google Analytics | Service | β |
Usage
Create Dashboard
# Create from template
hermes analytics create --template ecommerce
# Create custom
hermes analytics create --name "Sales Dashboard" \
--metrics revenue,orders,conversion \
--period 30d
Generate Reports
# Weekly report
hermes analytics report --type weekly
# Custom report
hermes analytics report \
--metrics revenue,users \
--group-by region \
--format pdf
Real-time Monitoring
# Start live dashboard
hermes analytics live --port 3001
# Monitor specific metrics
hermes analytics watch --metric api_response_time
Visualization Types
- π Bar/Line/Area Charts
- π₯§ Pie/Donut Charts
- π Sparklines
- πΊοΈ Geographic Maps
- π Data Tables
- π― Gauge Charts
Alert Configuration
# analytics-alerts.yml
alerts:
- name: "High Error Rate"
metric: error_rate
condition: "> 5%"
notify: [telegram, email]
- name: "Low Conversion"
metric: conversion_rate
condition: "< 2%"
notify: [slack]
Pitfalls
- Data Volume β Large datasets may need pagination
- Real-time Costs β Live queries can be expensive
- Cache Strategy β Balance freshness vs performance