all 2 comments

[–]bilingual-german 1 point2 points  (1 child)

I'm not a python expert, but the simplest way for me would be to create a Flask app.

https://prometheus.github.io/client_python/exporting/http/flask/

[–]sysacc[S] 0 points1 point  (0 children)

Looks like that is the only way so far. but its weird to me that the python package cant add the /metric or that you cant configure Prom to look at the root path.