Commit Graph

382 Commits

Author SHA1 Message Date
semantic-release-bot
6d72fef8e7 chore(release): bump version to 1.7.1 and upload released assets [ci skip] 2025-09-19 08:51:58 +00:00
a33fcf9a04 Merge pull request 'dev' (#60) from dev into master
Reviewed-on: freeleaps/freeleaps-service-hub#60
2025-09-19 08:49:45 +00:00
77d0a9c6ec Merge pull request 'fix: bug fix' (#59) from feature/icecheng/metrics into dev
Reviewed-on: freeleaps/freeleaps-service-hub#59
2025-09-19 08:49:24 +00:00
icecheng
e919a1ed9b fix: bug fix 2025-09-19 16:48:43 +08:00
semantic-release-bot
143aafcd6f chore(release): bump version to 1.7.0 and upload released assets [ci skip] 2025-09-19 08:17:51 +00:00
16409e31bb Merge pull request 'merge dev to master(only metrics)' (#58) from dev into master
Reviewed-on: freeleaps/freeleaps-service-hub#58
2025-09-19 08:16:19 +00:00
812636a1ea Merge pull request 'feature/wc' (#57) from feature/wc into dev
Reviewed-on: freeleaps/freeleaps-service-hub#57
2025-09-19 08:06:49 +00:00
weicao
81628407df fixed: code standard and env file 2025-09-19 16:03:29 +08:00
weicao
62533859ba fixed: code standard and env file 2025-09-19 15:58:23 +08:00
weicao
a5911032e4 Merge remote-tracking branch 'origin/feature/wc' into feature/wc 2025-09-19 15:45:13 +08:00
weicao
b7858c193e fixed some code standard 2025-09-19 15:32:00 +08:00
weicao
aa6dc2feab Merge remote-tracking branch 'origin/dev' into feature/wc 2025-09-19 15:06:19 +08:00
39d7d2a0b4 Merge pull request 'feature/wc' (#54) from feature/wc into dev
Reviewed-on: freeleaps/freeleaps-service-hub#54
2025-09-19 04:53:43 +00:00
icecheng
121667d9d7 Merge branch 'dev' into feature/wc 2025-09-19 12:50:57 +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
97240e598a Merge remote-tracking branch 'origin/dev' into feature/wc 2025-09-19 10:20:06 +08:00
cea1b2cddd Merge pull request 'feature/icecheng/metrics' (#52) from feature/icecheng/metrics into dev
Reviewed-on: freeleaps/freeleaps-service-hub#52
2025-09-19 02:11:49 +00:00
806778a5b9 Merge pull request 'feature/wc' (#51) from feature/wc into feature/icecheng/metrics
Reviewed-on: freeleaps/freeleaps-service-hub#51
2025-09-18 09:53:05 +00:00
icecheng
ddbf509713 Merge branch 'feature/icecheng/metrics' into feature/wc
# Conflicts:
#	apps/metrics/common/config/app_settings.py
#	apps/metrics/webapi/main.py
#	apps/metrics/webapi/routes/metrics/__init__.py
#	apps/metrics/webapi/routes/metrics/registration_metrics.py
2025-09-18 17:46:12 +08:00
weicao
3a05ec5001 metrics: restructure starrocks routes, move database client, align APIs, Docker updates 2025-09-18 17:19:27 +08:00
icecheng
38ff0ae32a feat: update Dockerfile 2025-09-18 16:55:42 +08:00
semantic-release-bot
4a5bdb44e4 chore(release): bump version to 1.6.0 and upload released assets [ci skip] 2025-09-18 04:10:58 +00:00
6b0c454669 Merge pull request 'merge dev to master' (#50) from dev into master
Reviewed-on: freeleaps/freeleaps-service-hub#50
2025-09-18 04:09:31 +00:00
071694cefe Merge pull request 'tania_middleware' (#46) from tania_middleware into dev
Reviewed-on: freeleaps/freeleaps-service-hub#46
2025-09-18 01:41:31 +00:00
YuehuCao
f27080452c feat(log): log the failure na d sucess of interface 2025-09-17 17:57:37 +08:00
YuehuCao
9473c19141 fix(path): fix the skip path 2025-09-17 17:56:24 +08:00
be2acb5c87 Merge pull request 'fix(exclude): ban the exclusive mode' (#49) from tania_local into dev
Reviewed-on: freeleaps/freeleaps-service-hub#49
2025-09-17 05:48:56 +00:00
YuehuCao
9939a3f430 fix(exclude): ban the exclusive mode 2025-09-17 13:32:28 +08:00
icecheng
1baf9065dc feat: add design.md 2025-09-16 17:38:57 +08:00
icecheng
c963350fc9 feat: add promql for latency and reliability 2025-09-16 17:20:37 +08:00
icecheng
d008c1a8bc feat: add support for Prometheus-related metrics 2025-09-16 17:07:24 +08:00
icecheng
7027e8c3f7 refactor: refactor the metric project structure 2025-09-16 15:17:23 +08:00
3301aec1d5 Merge pull request 'tania_local' (#44) from tania_local into dev
Reviewed-on: freeleaps/freeleaps-service-hub#44
Reviewed-by: jingyao1991 <jingyao1991@noreply.gitea.freeleaps.mathmast.com>
2025-09-16 05:21:31 +00: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
YuehuCao
3a6e0e1ca1 feat(config): add auth endpoint to dockerfile 2025-09-12 17:02:17 +08:00
YuehuCao
6ecee2837e feat(name): rename 2025-09-12 16:10:31 +08:00
YuehuCao
6630d20c13 feat(rename): rename the api_key 2025-09-12 16:05:19 +08:00
YuehuCao
c5cfb5a424 feat(log): use str to ensure that class can be identified 2025-09-11 22:28:55 +08:00
YuehuCao
282d1bcd93 feat(integrate api): integrate external auth introspect api 2025-09-11 22:28:03 +08:00
YuehuCao
da75ba746c feat(register): register the middleware 2025-09-11 22:27:05 +08:00
YuehuCao
6256b3377d feat(middleware): add the middleware for auth service 2025-09-11 22:26:11 +08:00
YuehuCao
bf1e476c0b feat(config): add the AUTH_SERVICE_ENDPOINT 2025-09-11 22:24:56 +08:00
YuehuCao
1c70143f2d feat(doc): add new doc and register into mongodb 2025-09-11 22:23:46 +08:00
YuehuCao
cea505cbdd feat(config): add the AUTH_SERVICE_ENDPOINT to the .env file 2025-09-11 22:18:21 +08:00
weicao
79a1b62f68 Add .env configuration file for metrics service 2025-09-11 17:40:18 +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
YuehuCao
05aca96639 feat(template): add the new job notification template 2025-09-08 17:10:01 +08:00
semantic-release-bot
046f9ffdd2 chore(release): bump version to 1.5.0 and upload released assets [ci skip] 2025-09-05 01:58:56 +00:00