How to Create a Custom Prometheus Scrapeable Endpoint for testing in kubernetes
Copy these 2 files in your machine
$ ls -l
total 2
-rw-r--r-- 1 Dell 197121 382 Mar 21 13:23 Dockerfile
-rw-r--r-- 1 Dell 197121 605 Mar 21 13:22 prometheus-scrapping-app.py
Following is app.py
from flask import Flask, Response
from prometheus_clien...
devopsgurug.hashnode.dev3 min read