diff --git a/prom.py b/prom.py index 46317fd..f356a6c 100644 --- a/prom.py +++ b/prom.py @@ -22,7 +22,7 @@ PREFIX = os.getenv('PREFIX','bladetest_') ### FLASK ### app = Flask(__name__) -@app.route('/', methods=['GET']) +@app.route('/metrics', methods=['GET']) def parse_request(): # If somebody accesses us data = scraperMain.scraperMain(hostname, encname, sshkeypath) # Gather up, we're going to wait a few minutes on the data.