File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
fastdeploy/entrypoints/openai Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change 5858from fastdeploy .entrypoints .openai .utils import UVICORN_CONFIG , make_arg_parser
5959from fastdeploy .envs import environment_variables
6060from fastdeploy .metrics .metrics import get_filtered_metrics
61- from fastdeploy .metrics .metrics_middleware import PrometheusMiddleware
6261from fastdeploy .metrics .trace_util import (
6362 fd_start_span ,
6463 inject_to_metadata ,
@@ -255,9 +254,6 @@ async def lifespan(app: FastAPI):
255254if tokens := [key for key in (args .api_key or env_tokens ) if key ]:
256255 app .add_middleware (AuthenticationMiddleware , tokens )
257256
258- # add middleware for http metrics
259- app .add_middleware (PrometheusMiddleware )
260-
261257
262258@asynccontextmanager
263259async def connection_manager ():
You can’t perform that action at this time.
0 commit comments