Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/prometheus/client_python
/ simple_client.py
File
simple_client.py
tools/simple_client.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# A simple client that serves random gauges.
2
# usage: uvicorn tools.simple_client:app --reload
3
4
from
fastapi
import
FastAPI
Callers
nothing calls this directly
Calls
3
make_asgi_app
Function · 0.90
CustomCollector
Class · 0.70
register
Method · 0.45
Tested by
no test coverage detected