diff --git a/oyster/templates/index.html b/oyster/templates/index.html index 0501831..c12dd2a 100644 --- a/oyster/templates/index.html +++ b/oyster/templates/index.html @@ -12,6 +12,7 @@ oyster
Queue Size
{{queue_size}}
Tracking
{{tracking}}
Need Update
{{need_update}}
+
Mongo Host
{{mongo_host}}
diff --git a/oyster/web.py b/oyster/web.py index 5483546..337ea0a 100644 --- a/oyster/web.py +++ b/oyster/web.py @@ -6,6 +6,7 @@ import functools import flask import pymongo.objectid +from oyster.conf import settings from oyster.client import get_configured_client @@ -50,6 +51,7 @@ def index(): 'tracking': client.db.tracked.count(), 'need_update': client.get_update_queue_size(), 'logs': client.db.logs.find().sort('$natural', -1).limit(20) + 'mongo_host': settings.MONGO_HOST, } return status