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

Error visibility: Modifying error logs and logging more details about errors received from remote service #3337

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

pyek-bot
Copy link
Contributor

@pyek-bot pyek-bot commented Jan 7, 2025

Description

Certain error details are currently hidden under debug logs, this makes it harder to look at the exact error that occurred without having to reproduce it. Adding more logs to allow catching errors as and when they occur and adding more details to aid debuggability

Related Issues

Resolves #3311

Check List

  • Commits are signed per the DCO using --signoff.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

…details

Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com>
@pyek-bot pyek-bot temporarily deployed to ml-commons-cicd-env-require-approval January 7, 2025 00:36 — with GitHub Actions Inactive
@pyek-bot pyek-bot temporarily deployed to ml-commons-cicd-env-require-approval January 7, 2025 00:36 — with GitHub Actions Inactive
@pyek-bot pyek-bot marked this pull request as ready for review January 7, 2025 01:13
@pyek-bot
Copy link
Contributor Author

pyek-bot commented Jan 7, 2025

Please suggest backport version. My recommendation is to backport to 2.15 as that closely reflects the current version of this file and should be safe to introduce logs

@pyek-bot pyek-bot temporarily deployed to ml-commons-cicd-env-require-approval January 7, 2025 01:46 — with GitHub Actions Inactive
@dhrubo-os dhrubo-os merged commit 441af6e into opensearch-project:main Jan 9, 2025
9 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 9, 2025
…details (#3337)

Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com>
(cherry picked from commit 441af6e)
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 9, 2025
…details (#3337)

Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com>
(cherry picked from commit 441af6e)
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 9, 2025
…details (#3337)

Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com>
(cherry picked from commit 441af6e)
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 9, 2025
…details (#3337)

Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com>
(cherry picked from commit 441af6e)
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 9, 2025
…details (#3337)

Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com>
(cherry picked from commit 441af6e)
dhrubo-os pushed a commit that referenced this pull request Jan 9, 2025
…details (#3337) (#3359)

Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com>
(cherry picked from commit 441af6e)

Co-authored-by: Pavan Yekbote <mail2pavanyekbote@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Code improvement] MLSdkAsyncHttpResponseHandler should report Headers on Errors for extra context
5 participants