REFACTOR API gateway
This commit is contained in:
@@ -89,7 +89,7 @@ async def health_check():
|
||||
@app.get("/metrics")
|
||||
async def metrics():
|
||||
"""Prometheus metrics endpoint"""
|
||||
return metrics_collector.generate_latest()
|
||||
return metrics_collector.get_metrics()
|
||||
|
||||
if __name__ == "__main__":
|
||||
import uvicorn
|
||||
|
||||
Reference in New Issue
Block a user