prometheus / client_python

Prometheus instrumentation library for Python applications
Apache License 2.0
3.96k stars 798 forks source link

Missing docker container, Kubernetes support as an exporter #964

Open macetw opened 1 year ago

macetw commented 1 year ago

This could be a very powerful toolset if it were dockerized and available for use on docker-hub (and resultingly in Kubernetes). Highly suggest moving forward to implement this for a docker context, with (perhaps) a daemonset example to set this up for a given cluster. FYI, the daemonset will need a mount set for it, and it will need support for the other PR, where the root-dir would need to be modified.

https://github.com/prometheus-community/node-exporter-textfile-collector-scripts/pull/178

csmarchbanks commented 1 year ago

I am not sure I understand this issue. This is a library to be used by exporters or applications that want to expose metrics. The exporters or applications could have Docker images, but I do not believe the client should.