Skip to content

Conversation

kruskall
Copy link
Member

When proxying info requests to apm server we're loggin an error if the server is unreachable.
The ErrorHandler should also write a status code back to avoid returning a Status 200.
Add ModifyResponse to log a debug message with the body on unexpected responses and let the ErrorHandler proxy the status code back to the agent.
A StatusBadGateway is returned for generic errors.

When proxying info requests to apm server we're loggin an error if
the server is unreachable.
The ErrorHandler should also write a status code back to avoid
returning a Status 200.
Add ModifyResponse to log a debug message with the body on unexpected
responses and let the ErrorHandler proxy the status code back to the
agent.
A StatusBadGateway is returned for generic errors.
@github-actions github-actions bot added the aws-λ-extension AWS Lambda Extension label Nov 14, 2022
@ghost
Copy link

ghost commented Nov 14, 2022

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2022-12-05T01:26:08.656+0000

  • Duration: 8 min 5 sec

Test stats 🧪

Test Results
Failed 0
Passed 204
Skipped 2
Total 206

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

@kruskall
Copy link
Member Author

kruskall commented Dec 4, 2022

Sorry for the late reply. This has been updated!

@kruskall kruskall requested a review from axw December 4, 2022 13:14
Co-authored-by: Andrew Wilkins <[email protected]>
@kruskall kruskall enabled auto-merge (squash) December 5, 2022 01:17
@kruskall
Copy link
Member Author

kruskall commented Dec 5, 2022

/test

@kruskall kruskall merged commit b898bbe into elastic:main Dec 5, 2022
@kruskall kruskall deleted the fix/server-info-proxy branch January 12, 2023 00:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

aws-λ-extension AWS Lambda Extension

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants