renaming
This commit is contained in:
parent
08f2746afc
commit
9aff168f0d
@ -38,7 +38,7 @@ def set_up_probing_webserver():
|
|||||||
return resp
|
return resp
|
||||||
|
|
||||||
@app.route("/prometheus", methods=["GET"])
|
@app.route("/prometheus", methods=["GET"])
|
||||||
def get_analysis_prometheus():
|
def get_analysis_prometheus_endpoint():
|
||||||
prom_endpoint = f"{CONFIG.rabbitmq.callback.analysis_endpoint}/prometheus"
|
prom_endpoint = f"{CONFIG.rabbitmq.callback.analysis_endpoint}/prometheus"
|
||||||
metric = requests.get(prom_endpoint)
|
metric = requests.get(prom_endpoint)
|
||||||
return metric.text
|
return metric.text
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user