Commit Graph

201 Commits

Author SHA1 Message Date
Zhenyu Sun
590953f33c Merged PR 38: feat(probes): add metrics and probes APIs for application health checks
Provides metrics API and Probes APIs (readiness, liveness, startup):

- Metrics Endpoint: /api/_/metrics
- Readiness Probe Endpoint: /api/_/readyz
- Liveness Probe Endpoint: /api/_/livez
- Startup Probe Endpoint: /api/_/healthz

User can controls these APIs accessible or not through these environment variables:

- METRICS_ENABLED: defaults to False
- PROBES_ENABLED: defaults to True
2025-03-13 06:41:48 +00:00
zhenyus
962292cfe0 chore: enabled orm initialization when startup
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-12 16:10:47 +08:00
zhenyus
9754576d28 feat(probes): add metrics and probes APIs for application health checks
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-12 15:59:06 +08:00
semantic-release-bot
2043baf4ab chore(release): bump version to 1.0.0 and upload released assets [ci skip] 2025-03-06 17:56:23 +00:00
Zhenyu Sun
2f5c12d44b chore: reset semantic release state 2025-03-06 17:53:06 +00:00
Zhenyu Sun
d65f46f04c chore: reset semantic release state 2025-03-06 17:52:53 +00:00
Zhenyu Sun
ea9dcb22cb build(pip): bump content deps fastapi to 0.114.0 2025-03-06 17:52:29 +00:00
semantic-release-bot
3c34a01848 chore(release): bump version to 1.0.0 and upload released assets [ci skip] 2025-03-06 17:34:57 +00:00
Zhenyu Sun
cefe2227bf chore: reset semantic release state 2025-03-06 17:30:53 +00:00
Zhenyu Sun
bf6f92d6f0 chore: reset semantic release state 2025-03-06 17:30:45 +00:00
semantic-release-bot
b1b77a6a01 chore(release): bump version to 1.0.0 and upload released assets [ci skip] 2025-03-06 16:42:44 +00:00
Zhenyu Sun
2add60a5d0 chore: reset semantic releasing state 2025-03-06 09:18:55 +00:00
Zhenyu Sun
4447c46889 chore: reset semantic releasing state 2025-03-06 09:18:46 +00:00
semantic-release-bot
576463103b chore(release): bump version to 1.0.0 and upload released assets [ci skip] 2025-03-06 08:19:38 +00:00
Zhenyu Sun
66e3fb7dfa chore: reset semantic release 2025-03-06 08:16:24 +00:00
Zhenyu Sun
a38fe80bf1 chore: reset semantic release 2025-03-06 08:16:15 +00:00
semantic-release-bot
e1ffaa5251 chore(release): bump version to 1.0.0 and upload released assets [ci skip] 2025-03-06 07:35:39 +00:00
Zhenyu Sun
1a7f03dc8f chore: cleanup semantic releasing assets 2025-03-06 07:31:29 +00:00
Zhenyu Sun
54fc72a392 chore: cleanup semantic releasing assets 2025-03-06 07:31:20 +00:00
semantic-release-bot
4aa45cc2cb chore(release): bump version to 1.0.0 and upload released assets [ci skip] 2025-03-05 18:43:00 +00:00
Zhenyu Sun
13bd2396c4 Merged PR 28: Merge to master to trigger production ci 2025-03-05 18:27:17 +00:00
dongli
0f02181e33 Expose prometheus metrics for all apps 2025-03-02 17:08:08 -08:00
zhenyus
78c72179ec fix(rabbitmq): correct syntax for port and virtual host parameters in AsyncMQClient
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-02-24 02:20:01 +08:00
zhenyus
853d817933 feat(notification): add rabbitmq credentials relates notification services configs
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-02-24 02:05:25 +08:00
zhenyus
da584b8ffa build(docker): update CMD to use shell for environment variable expansion in Dockerfiles
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-02-22 22:30:37 +08:00
Zhenyu Sun
9b42dbfa7f build(dockerfile): update entrypoint for authentication 2025-02-22 13:37:47 +00:00
Zhenyu Sun
b0acad860e build(docker): update Dockerfile for notification 2025-02-22 13:00:05 +00:00
Zhenyu Sun
8f799c60ff build(docker): update Dockerfile for payment 2025-02-22 12:34:30 +00:00
Zhenyu Sun
3769af6e93 build(docker): update Dockerfile for notification 2025-02-22 12:34:08 +00:00
Zhenyu Sun
0a7c7429c3 Updated Dockerfile 2025-02-22 11:55:44 +00:00
Zhenyu Sun
f22a2eedf2 build(docker): remove useless scripts in Dockerfile 2025-02-22 11:55:16 +00:00
Zhenyu Sun
be910d4c95 build(docker): remove useless scripts in Dockerfile 2025-02-22 11:54:59 +00:00
Zhenyu Sun
de37fcddba build(docker): remove additional scripts 2025-02-22 11:40:23 +00:00
dongli
e13a05cb43 Add k8s configuration files for service-hub 2025-02-17 18:03:17 -08:00
Jet Li
6028b0a6f0 Create one-off photo_id backfill job 2025-02-07 08:13:59 +00:00
Jet Li
da369dc61b Remove useless variable 2025-02-03 09:13:20 +00:00
Jet Li
81f734c19a Add delete-file endpoint, add remove old documents logic in refresh sharepoint logic 2025-02-03 09:11:48 +00:00
Jet Li
9aa8ee3afd Merge branch 'master' of https://dev.azure.com/freeleaps/freeleaps-service-hub/_git/freeleaps-service-hub 2025-02-01 10:24:55 +00:00
Jet Li
8ab64be6a1 Fix the typo used in the authentication log 2025-02-01 10:24:19 +00:00
Jet Li
4f917a9a81 Fix the typo used in the authentication log 2025-02-01 07:14:17 +00:00
Jet Li
43671d684d Fix the last missing piece of extra_filed typo 2025-02-01 07:11:32 +00:00
Jet Li
13171f16b7 Fix authentication log config 2025-02-01 07:02:11 +00:00
Jet Li
59e3c27b3f Fix notification log config 2025-02-01 06:27:51 +00:00
Jet Li
be0725a955 Update payment log config 2025-02-01 06:22:46 +00:00
Jet Li
a33869b7fe Update central storage log config 2025-02-01 05:59:00 +00:00
Jet Li
8cae70a21f Comment out the cleanup_document_job 2025-02-01 05:42:02 +00:00
Jet Li
55e19f3f11 Commt on the change, file clean-up process needed. 2025-01-31 09:14:49 +00:00
Jet Li
20919277d2 Fix the duplicated logging issue 2025-01-31 08:47:58 +00:00
Jet Li
669a5303cd Add one-time document clean-up job 2025-01-31 07:03:27 +00:00
Jet Li
c49ae956f1 Fix bug in refresh_selected 2025-01-31 06:34:32 +00:00