Skip to content

Add a S3 check to healthcheck endpoint#29

Merged
jonathansick merged 1 commit intomainfrom
s3-healthcheck
Sep 12, 2023
Merged

Add a S3 check to healthcheck endpoint#29
jonathansick merged 1 commit intomainfrom
s3-healthcheck

Conversation

@jonathansick
Copy link
Copy Markdown
Member

If the LTD_PROXY_S3_HEALTHCHECK_KEY env variable is enabled, the healthcheck endpoint will attempt to stream that object from the bucket. If it fails, the healthcheck will also fail.

This should automatically restart the service in cases where there are danging httpx connections that cause resources leaks and ultimately break the app.

This should also give early warning to S3 account/auth issues.

If the LTD_PROXY_S3_HEALTHCHECK_KEY env variable is enabled, the
healthcheck endpoint will attempt to stream that object from the bucket.
If it fails, the healthcheck will also fail.

This should automatically restart the service in cases where there are
danging httpx connections that cause resources leaks and ultimately
break the app.

This should also give early warning to S3 account/auth issues.
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.

1 participant