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

chore(runtime): Add logging for /server_info endpoint #5208

Merged
merged 2 commits into from
Nov 22, 2024

Conversation

xingyaoww
Copy link
Collaborator

@xingyaoww xingyaoww commented Nov 22, 2024

Added INFO level logging when the /server_info endpoint is called to improve observability of server status requests.

This allow us to better debug cases where runtime dies - so we can know better if it is caused by OOM or something else.


To run this PR locally, use the following command:

docker run -it --rm   -p 3000:3000   -v /var/run/docker.sock:/var/run/docker.sock   --add-host host.docker.internal:host-gateway   -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:f8c994d-nikolaik   --name openhands-app-f8c994d   docker.all-hands.dev/all-hands-ai/openhands:f8c994d

@xingyaoww xingyaoww changed the title Add logging for /server_info endpoint chore(runtime): Add logging for /server_info endpoint Nov 22, 2024
@xingyaoww xingyaoww requested a review from rbren November 22, 2024 19:22
@xingyaoww xingyaoww enabled auto-merge (squash) November 22, 2024 19:23
@xingyaoww xingyaoww merged commit 1021e0c into main Nov 22, 2024
13 checks passed
@xingyaoww xingyaoww deleted the add-server-info-logging branch November 22, 2024 19:42
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.

3 participants