feat(server): implement structured logging, metrics, and dockerignore
All checks were successful
CVE Scan & Docker Build / security-scan (push) Successful in 31s
CVE Scan & Docker Build / build-and-push (push) Successful in 54s

- Configure structured logging via environment variable
- Add Prometheus metrics for HTTP request tracking and health
- Secure /metrics endpoint with IP allowlisting
- Update .dockerignore to exclude build artifacts
This commit is contained in:
2026-04-11 17:51:32 +00:00
parent c22b402664
commit d107b492cf
7 changed files with 547 additions and 10 deletions

View File

@@ -17,6 +17,7 @@ dependencies = [
"requests>=2.32",
"jinja2>=3.1",
"wsproto>=1.2",
"prometheus-client>=0.20",
]
[project.optional-dependencies]