diff --git a/app/status/views/healthcheck.py b/app/status/views/healthcheck.py index ad4024335..89a37f58e 100644 --- a/app/status/views/healthcheck.py +++ b/app/status/views/healthcheck.py @@ -7,7 +7,7 @@ from app.status import status @status.route('/_status', methods=['GET']) def show_status(): - if request.args.get('elb', None): + if request.args.get('elb', None) or request.args.get('simple', None): return jsonify(status="ok"), 200 else: try: diff --git a/manifest.yml.j2 b/manifest.yml.j2 index ccf758095..17ee33f37 100644 --- a/manifest.yml.j2 +++ b/manifest.yml.j2 @@ -25,6 +25,9 @@ applications: - route: {{ route }} {%- endfor %} + health-check-type: http + health-check-http-endpoint: '/_status?simple=true' + services: - logit-ssl-syslog-drain