mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
PrometheusAuthMiddleware
This commit is contained in:
parent
f16c531002
commit
c7523818b4
2 changed files with 41 additions and 0 deletions
|
@ -249,6 +249,7 @@ from litellm.proxy.management_endpoints.ui_sso import (
|
|||
)
|
||||
from litellm.proxy.management_endpoints.ui_sso import router as ui_sso_router
|
||||
from litellm.proxy.management_helpers.audit_logs import create_audit_log_for_update
|
||||
from litellm.proxy.middleware.prometheus_auth_middleware import PrometheusAuthMiddleware
|
||||
from litellm.proxy.openai_files_endpoints.files_endpoints import (
|
||||
router as openai_files_router,
|
||||
)
|
||||
|
@ -745,6 +746,7 @@ app.add_middleware(
|
|||
allow_headers=["*"],
|
||||
)
|
||||
|
||||
app.add_middleware(PrometheusAuthMiddleware)
|
||||
|
||||
from typing import Dict
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue