Skip to content

fix: Add instances log into API service #2391

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Matovidlo
Copy link
Contributor

Changes:

  • Reason: Logger middleware is not working properly with attribute context attributes.

Reason: Logger middleware is not working properly with attribute context
attributes.
@Matovidlo Matovidlo marked this pull request as ready for review July 8, 2025 14:06
@Copilot Copilot AI review requested due to automatic review settings July 8, 2025 14:06
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a deferred log statement to the InstancesIndex API method to record when the call completes.

  • Added a defer-based log in InstancesIndex to capture execution timing.
  • Ensures the log is emitted just before the tracing span ends.

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