From 84feed0011d3b2476e779f5f2fd3e6af130c49c5 Mon Sep 17 00:00:00 2001 From: Samuel Clay Date: Wed, 11 Aug 2021 19:17:51 -0400 Subject: [PATCH] Using localhost --- flask_monitor/db_monitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flask_monitor/db_monitor.py b/flask_monitor/db_monitor.py index 57f806117..20e2f2918 100644 --- a/flask_monitor/db_monitor.py +++ b/flask_monitor/db_monitor.py @@ -209,7 +209,7 @@ def db_check_redis_pubsub(): @app.route("/db_check/elasticsearch") def db_check_elasticsearch(): try: - conn = elasticsearch.Elasticsearch('db-elasticsearch.node.nyc1.consul') + conn = elasticsearch.Elasticsearch(settings.SERVER_NAME) except: abort(503)