Skip to content

Added operation (aka command name) to structured logging #1758

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

Merged
merged 4 commits into from
Jul 8, 2025

Conversation

rozza
Copy link
Member

@rozza rozza commented Jul 3, 2025

@rozza rozza marked this pull request as ready for review July 7, 2025 09:29
@rozza rozza requested a review from a team as a code owner July 7, 2025 09:29
@rozza rozza requested review from nhachicha and removed request for a team July 7, 2025 09:29
Copy link
Contributor

@nhachicha nhachicha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one, this will simply naming the tracing span (in #1695) by re-using the OperationContext#getCommandName() 👍
Left a minor comments

@rozza rozza requested a review from nhachicha July 7, 2025 13:40
Copy link
Contributor

@nhachicha nhachicha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@rozza rozza merged commit 745a803 into mongodb:main Jul 8, 2025
54 checks passed
@rozza rozza deleted the JAVA-5197 branch July 8, 2025 11:14
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.

2 participants