weicao
b7858c193e
fixed some code standard
2025-09-19 15:32:00 +08:00
weicao
f902edd49d
fixed: <= to <
2025-09-19 10:38:18 +08:00
weicao
98405934ce
feat(change code structure)
2025-09-19 10:29:10 +08:00
weicao
3a05ec5001
metrics: restructure starrocks routes, move database client, align APIs, Docker updates
2025-09-18 17:19:27 +08:00
weicao
35fbda6954
Refactor metrics service: rename files for better readability
...
- Rename starrocks_client.py -> database_client.py
- Rename daily_registered_users.py -> user_registration_models.py
- Rename daily_registration_service.py -> registration_analytics_service.py
- Rename daily_registration.py -> registration_metrics.py
- Rename site_settings.py -> app_settings.py
- Rename application.py -> app_factory.py
- Update all import statements and references
- Update README.md with new file structure
2025-09-15 16:31:20 +08:00
weicao
b490ced2f0
Clean up metrics service: remove unnecessary files, update Dockerfile, and add README
2025-09-15 15:22:52 +08:00
weicao
44f08eee68
Add metrics service with user registration API endpoints
...
- Add complete metrics microservice structure
- Implement StarRocks database integration
- Add user registration data query APIs:
- Daily registered users by date range
- Recent N days registration data
- Registration data by start date and days
- Registration summary statistics
- Add comprehensive error handling and logging
- Include test scripts and documentation
2025-09-11 17:35:20 +08:00