Skip to content

feat(devops): emit structured JSON logs (#38) - #84

Merged
MariaEduardaBatt merged 1 commit into
devfrom
feat/38
Jun 17, 2026
Merged

MariaEduardaBatt merged 1 commit into
devfrom
feat/38

Conversation

@MariaEduardaBatt

Copy link
Copy Markdown
Owner

Implementacao de logs JSON estruturados no backend conforme issue #38.

Criterios:

  • Backend emite linhas JSON estruturadas
  • Logs carregam request_id, user_id e duration_ms

Arquivos:

  • logging_config.py (novo) - JsonFormatter + RequestIdFilter
  • app.py - hooks before/after_request
  • routes/run_ws.py - logs com user_id, duration_ms
  • routes/compile.py - logs com user_id, duration_ms

Testes: 66 passed, 1 failed (pre-existente)

@MariaEduardaBatt MariaEduardaBatt linked an issue Jun 17, 2026 that may be closed by this pull request
4 tasks
@MariaEduardaBatt
MariaEduardaBatt merged commit 70f0ea8 into dev Jun 17, 2026
@MariaEduardaBatt
MariaEduardaBatt deleted the feat/38 branch June 17, 2026 02:15
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.

feat(devops): emit structured JSON logs

1 participant