Skip to content

Add observability baseline and auth load benchmarks#49

Merged
gabedalmolin merged 4 commits intomainfrom
feat/observability-and-benchmarks
Mar 11, 2026
Merged

Add observability baseline and auth load benchmarks#49
gabedalmolin merged 4 commits intomainfrom
feat/observability-and-benchmarks

Conversation

@gabedalmolin
Copy link
Copy Markdown
Owner

@gabedalmolin gabedalmolin commented Mar 11, 2026

Summary

Add an operational observability baseline and reproducible auth lifecycle benchmarks so the repository exposes delivery proof beyond correctness alone.

Closes #42
Closes #43
Advances #41

What changed

  • add a Prometheus-compatible /metrics endpoint and auth lifecycle counters for login, refresh, replay detection, rate-limit hits, and readiness failures
  • add local Prometheus and Grafana assets, an observability guide, and a dashboard definition for the auth service
  • add reproducible k6 auth lifecycle scenarios, a benchmark compose override, a committed summary JSON artifact, and a benchmark report
  • fix the runtime entrypoint mismatch in package.json and Dockerfile so the compiled server path matches the build output
  • refresh the README and benchmark documentation with operational proof links and the latest recorded baseline

Validation

  • npm run lint
  • npm run typecheck
  • npm run build
  • npm test
  • npm run prisma:migrate:deploy
  • npm run test:integration
  • docker compose -f deploy/observability/docker-compose.yml config
  • docker compose -f docker-compose.yml -f docker-compose.benchmark.yml config
  • docker compose -f docker-compose.yml -f docker-compose.benchmark.yml up --build --abort-on-container-exit --exit-code-from k6 k6

Risks/Notes

@gabedalmolin gabedalmolin merged commit 3b47ccf into main Mar 11, 2026
5 checks passed
@gabedalmolin gabedalmolin deleted the feat/observability-and-benchmarks branch March 11, 2026 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expose operational telemetry for the auth service Benchmark the auth lifecycle under load

1 participant