I work on a docker project with several containers and I wanna use python Prometheus library to monitor some metrics in the containers, expose each container’s metrics on a local port inside the docker-network and collect them in another container called Prometheus_exporter. For this purpose, I’ve defined several Prometheus metrics on my FastAPI and I wanna expose them on an
Tag: prometheus
Get cpu, memory, disk data using Python script from node exporter metrics
Currently I am developing a python flask application. I need to get cpu, memory, disk data of the machine. I suppose to get those data using node-exporter using Python scripts. Currently I am working with dummy data. Here are the instructions provided: Select two simple metrics Send http call to node exporter and save coutput to a file or keep