diff video.py @ 25:bf860a23d0c1

deployment and metrics
author drewp@bigasterisk.com
date Thu, 29 Jun 2023 13:57:34 -0700
parents 9e56e86a6814
children 27a754f8e8f8
line wrap: on
line diff
--- a/video.py	Mon Apr 17 13:35:18 2023 -0700
+++ b/video.py	Thu Jun 29 13:57:34 2023 -0700
@@ -87,7 +87,7 @@
     )
 
     app.add_middleware(PrometheusMiddleware, app_name='video_api')
-    app.add_route("/metrics", handle_metrics)
+    app.add_route("/video/api/metrics", handle_metrics)
 
     app.state.processTask = asyncio.create_task(dl_queue.process())
     return app