Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize: Add micrometer for request tracking and sql logging. #155

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

c5ms
Copy link
Contributor

@c5ms c5ms commented Dec 7, 2024

Why

Currently we have the sql output by hibernate config org.hibernate.SQL

  1. It has not layout align to the other logs.
  2. We should not output the sql based on the persistence framework like hibernate but we can based on some infrastructure like datasource or micrometer since they are very basic technic nowadays.

What

  1. add micrometer-tracing-bridge-brave for request tracking
  2. add datasource-micrometer-spring-boot sql logging.
  3. add spring-boot-starter-actuator for spring boot debugging.

@c5ms c5ms marked this pull request as draft December 7, 2024 10:00
@orende orende requested review from orende and mackapappa December 13, 2024 16:54
… dev/springboot3_micrometer

# Conflicts:
#	pom.xml
@c5ms c5ms marked this pull request as ready for review December 13, 2024 21:52
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.

1 participant