Uh oh!
There was an error while loading. Please reload this page.
Feat/observability - #35
Merged
Merged
Conversation
add photo management with Cloudinary integration - Created UserPhoto entity and corresponding repository. - Introduced PhotoType enum for categorizing photo types. - Developed services for managing company, local unit, model, and user photos, including upload and delete functionalities. - Implemented CloudinaryService for handling file uploads and deletions. - Added response DTOs for various photo types. - Enhanced EnergyBillService to support photo attachment and removal. - Updated CompanyService and LocalUnitService to include photo repository checks during deletions. - Configured application properties for Cloudinary settings and increased file upload limits.
|
EduardoRSilva5102
approved these changes
Aug 30, 2026
Uh oh!
There was an error while loading. Please reload this page.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Objetivo
Adicionar observabilidade à aplicação, permitindo acompanhar requisições, erros, tempo de resposta e traces distribuídos por meio de Micrometer e OpenTelemetry, com exportação dos dados via OTLP para o ambiente de observabilidade.
Alterações
traceIdnas requisições.traceIdno header da resposta HTTP.GlobalExceptionHandlertambém sejam registrados no trace.Endpoints afetados
Sem endpoints afetados.
A alteração é exclusivamente relacionada à observabilidade e atua de forma transversal sobre as requisições existentes.
Banco de Dados
Como testar
traceIdé retornado na resposta.GlobalExceptionHandlere verificar se o trace é marcado como erro.traceId.Evidências
traceIdpara correlação entre requisições e logs.GlobalExceptionHandler.Closes #