Skip to content
Discussion options

You must be logged in to vote
fromfastapiimportFastAPIimportprometheus_clientapp=FastAPI()
metrics_app=prometheus_client.make_asgi_app()
app.mount("/metrics", metrics_app)

Originally posted by @pquentin in #512 (comment)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected bycsmarchbanks
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
@mecampbellsoup@LordKa0S
Converted from issue

This discussion was converted from issue #987 on January 25, 2024 17:01.