title: Export Prometheus metrics using python code
body: <p>is any one tell me if there is python code to collect Prometheus metrics in Kubernetes cluster? I have 3 nodes connected with Kubernetes cluster, Prometheus already installed and all nodes are up and connected using Kubernetes cluster, I just want to know how I can export these metrics using python code? Thanks a lot </p>