Uh oh!
There was an error while loading. Please reload this page.
start_http_server with make_asgi_app? #1000
Answered
byLordKa0S
mecampbellsoup
asked this question in
Q&A
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi guys, Quick question and hopefully not a dumb one but, nevertheless:
An alternative is to install We have a FastAPI + uvicorn (ASGI) application and are looking to expose some Prometheus metrics for export. |
Answered by
LordKa0S
Jan 25, 2024
Replies: 1 comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
fromfastapiimportFastAPIimportprometheus_clientapp=FastAPI()
metrics_app=prometheus_client.make_asgi_app()
app.mount("/metrics", metrics_app)Originally posted by @pquentin in #512 (comment) |
0 replies
Answer selected bycsmarchbanks
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Originally posted by @pquentin in #512 (comment)