69b75932f7
Merge branch 'dev' into Nicolas_service_hub
2025-09-26 02:23:14 +00:00
58446292ef
Merge pull request 'feature/icecheng/metric-fix' ( #74 ) from feature/icecheng/metric-fix into dev
...
Reviewed-on: freeleaps/freeleaps-service-hub#74
2025-09-26 02:20:35 +00:00
Nicolas
5d6abb0aa2
fix: remove problematic ModuleLogger dependencies from startup events
...
- Remove ModuleLogger dependencies from notification and payment services startup
- Fix startup blocking issues caused by circular database dependencies
- Simplify freeleaps_app.py startup flows for both services
- Service startup now completes without database connection dependency
2025-09-26 10:07:07 +08:00
icecheng
8ee447a9fb
feat: update prometheus query logic, use utc timezone and update promql
2025-09-25 22:12:32 +08:00
icecheng
eae0255766
feat: add starrock connect pool
2025-09-25 18:25:51 +08:00
Nicolas
8eb9dcfb0f
chore(docker): update Python version to 3.12 in Dockerfiles; enhance logging in content, devops, notification, and payment services
2025-09-25 09:55:35 +08:00
9471563004
Merge branch 'dev' into Nicolas_service_hub
2025-09-24 04:13:09 +00:00
bae09037a3
Merge pull request '1d and 1m' ( #68 ) from feature/wc into dev
...
Reviewed-on: freeleaps/freeleaps-service-hub#68
2025-09-23 13:55:45 +00:00
weicao
5b521c4ec4
1d and 1m
2025-09-23 16:23:59 +08:00
3cba9e4762
Merge pull request 'tania_middleware' ( #55 ) from tania_middleware into dev
...
Reviewed-on: freeleaps/freeleaps-service-hub#55
2025-09-23 05:20:28 +00:00
YuehuCao
769e32a6e3
refactor(comment): use new comment type
2025-09-23 13:18:35 +08:00
YuehuCao
794536c372
feat(log): delete some logs and unused methond, raise the http error
2025-09-23 13:08:54 +08:00
YuehuCao
98f2ce4871
refactor(name): rename the middleware
2025-09-23 13:07:11 +08:00
Nicolas
5f8b6ed575
The log format of the central storage has been adjusted so that it can actively write corresponding logs to the log files.
...
Simultaneously upgraded the mirror versions of authentication and central storage.
2025-09-23 10:08:39 +08:00
Nicolas
24fe043fc3
Set up the logging environment for authentication
2025-09-22 18:02:39 +08:00
icecheng
afb90e55e6
feat: enable metrics
2025-09-22 16:48:07 +08:00
icecheng
459e56c7bf
feat: enable metrics
2025-09-22 15:38:34 +08:00
weicao
6fc505ebb2
dru-mru
2025-09-22 14:36:56 +08:00
weicao
a1a7624637
some change
2025-09-22 14:34:44 +08:00
weicao
7882f77bef
chinese
2025-09-22 13:34:38 +08:00
YuehuCao
e9e863053d
feat(cache): add the cache volume
2025-09-22 11:01:34 +08:00
YuehuCao
dc1ebf2481
feat(cache): use new defined database
2025-09-22 10:58:40 +08:00
YuehuCao
f3a5f6321a
refactor(cache): cache the tenant database and recall
2025-09-22 10:57:41 +08:00
weicao
83b9fdbf9e
fixed the date format issue and add monthly registered users metric
2025-09-21 15:04:40 +08: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
b7858c193e
fixed some code standard
2025-09-19 15:32:00 +08:00
YuehuCao
065c082aa7
feat(guide): guide to use tenant middleware
2025-09-19 12:15:05 +08:00
YuehuCao
9dc8811886
refactor(database): move the initialization of database into tenant middleware
2025-09-19 12:14:16 +08:00
YuehuCao
e726d7e7d5
feat(name): use new name
2025-09-19 12:13:12 +08:00
YuehuCao
115b54ad58
refactor(name): rename the tenant DB connection middleware
2025-09-19 12:11:51 +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
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
YuehuCao
60fedf5215
merge the dev branch
2025-09-18 15:56:42 +08:00
YuehuCao
1ba9a614a0
feat(config): add configs regarding the tenant middleware
2025-09-18 15:54:57 +08:00
YuehuCao
a2fc3c8a7e
feat(tenant-middleware): add tenant middleware to switch tenant's database
2025-09-18 15:53:03 +08: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
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
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