Taffrail is a python package that automatically discovers metrics providers in a Kubernetes cluster and exposes them via a simple interface.
Taffrail Server lets you easily run Taffrail behind a RESTful API inside your Kubernetes cluster.
$ kubectl create -f kubernetes
The deployment will expose taffrail using a LoadBalancer type IP address.
You can check the status of the External IP using:
$ kubectl get svc/taffrail-service --watch
| Endpoint | Method | Description |
|---|---|---|
| / | GET | See a friendly status |
| /metrics | GET | Gets metrics from all sources |
| /metrics?source= | GET | Get metrics from a specific source |
| /sources | GET | Get all available metrics sources |