From 4e6bf0049b33be670300aae5ebc26aacd75c1358 Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Thu, 19 Nov 2020 00:14:30 +0000 Subject: [PATCH] Update default graphite URL --- api/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/api/__init__.py b/api/__init__.py index cabcec3..2318c2b 100644 --- a/api/__init__.py +++ b/api/__init__.py @@ -8,7 +8,10 @@ app = Flask(__name__, static_folder="../build", static_url_path="/") -GRAPHITE_HOST = (os.environ.get("GRAPHITE_HOST") or "http://graphite:80") + "/render" +GRAPHITE_HOST = ( + os.environ.get("GRAPHITE_HOST") or + "http://graphite.default.svc.cluster.local:80" +) + "/render" TIME_FRAMES = {"day": "-24h", "week": "-1w", "month": "-1mon", "year": "-1y"}