docker build -t username/prometheus-client .
docker push username/prometheus-client:latest
kubectl create -f deployment.yml
kubectl create -f service.yml
kubectl port-forward service/prometheus-client-svc 5555:5555
- Open localhost:5555/metrics in the browser
haxxorsid/prometheus-client
A prometheus client implementation with direct instrumentation and a custom collector.
Go