We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I need an healthcheck endpoint to deploy my scrapyrt on ecs but couldn't find any.
The text was updated successfully, but these errors were encountered:
Adding a healthceck ressource :
class HealthCheck(ServiceResource): isLeaf = True allowedMethods = ['GET'] def render_GET(self, *args, **kwargs): return {'status': 'ok'}
would certainly solve the issue
Sorry, something went wrong.
This is a matter of adding your code sample here in resources https://github.com/scrapinghub/scrapyrt/blob/master/scrapyrt/resources.py and then adding it in config https://github.com/scrapinghub/scrapyrt/blob/master/scrapyrt/conf/default_settings.py#L23
To check health it would be good to perform some command, e.g. scrapy list, to be sure project is healthy.
No branches or pull requests
I need an healthcheck endpoint to deploy my scrapyrt on ecs but couldn't find any.
The text was updated successfully, but these errors were encountered: