Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/haxxorsid/prometheus-client

A prometheus client implementation with direct instrumentation and a custom collector.
https://github.com/haxxorsid/prometheus-client

docker golang kubernetes prometheus sample-code

Last synced: 5 days ago
JSON representation

A prometheus client implementation with direct instrumentation and a custom collector.

Awesome Lists containing this project

README

        

## Prometheus-Client

### Steps to deploy
1. `docker build -t username/prometheus-client .`
2. `docker push username/prometheus-client:latest`
3. `kubectl create -f deployment.yml`
4. `kubectl create -f service.yml`
5. `kubectl port-forward service/prometheus-client-svc 5555:5555`
5. Open [localhost:5555/metrics](http://localhost:5555/metrics) in the browser