We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91ad16e commit a743225Copy full SHA for a743225
packages/service-library/src/servicelib/fastapi/monitoring.py
@@ -67,7 +67,7 @@ def initialize_prometheus_instrumentation(app: FastAPI) -> None:
67
68
69
def _startup(app: FastAPI) -> None:
70
- @app.get("/metrics")
+ @app.get("/metrics", include_in_schema=False)
71
async def metrics_endpoint(request: Request) -> Response:
72
"""
73
Exposes the Prometheus metrics endpoint.
0 commit comments