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

Add request logging for service bindings #1278

Merged
merged 3 commits into from
Oct 9, 2024

Conversation

KsaweryZietara
Copy link
Contributor

@KsaweryZietara KsaweryZietara commented Oct 8, 2024

Description

Changes proposed in this pull request:

  • add request logging for service bindings to check if context contains user_id.

Related issue(s)
See also #1203, #284 (comment)

@KsaweryZietara KsaweryZietara added the kind/enhancement Categorizes issue or PR as related to modifying or improving an existing feature label Oct 8, 2024
@KsaweryZietara KsaweryZietara self-assigned this Oct 8, 2024
@KsaweryZietara KsaweryZietara requested a review from a team as a code owner October 8, 2024 08:54
@kyma-bot kyma-bot added the cla: yes Indicates the PR's author has signed the CLA. label Oct 8, 2024
Copy link

github-actions bot commented Oct 8, 2024

Add one of following labels

- kind/feature -> Use it when you want to submit a new feature

- kind/enhancement -> Use it when you modify or improve an existing feature

- kind/bug -> Use it when you fix a bug

@kyma-gopher-bot kyma-gopher-bot enabled auto-merge (squash) October 8, 2024 08:54
@kyma-bot kyma-bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Oct 8, 2024
"user_agent": req.UserAgent(),
}).Info("Request details")

if req.Body != nil {
Copy link
Contributor

Choose a reason for hiding this comment

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

We already logged "Request details" - we can consider logging some message if the body is nil.
It can be inferred, but such explicitly put message would make analysis easier.

@kyma-gopher-bot kyma-gopher-bot merged commit 81c35e6 into kyma-project:main Oct 9, 2024
24 checks passed
@kyma-bot kyma-bot added the lgtm Looks good to me! label Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Indicates the PR's author has signed the CLA. kind/enhancement Categorizes issue or PR as related to modifying or improving an existing feature lgtm Looks good to me! size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants