elotl / kip

Virtual-kubelet provider running pods in cloud instances
Apache License 2.0
223 stars 14 forks source link

Expose node metrics from Kip in prometheus metrics format #93

Open ldx opened 4 years ago

ldx commented 4 years ago

Right now we only expose metrics in the old stats summary API. However, to integrate with Prometheus, kubelets use /metrics and the Prometheus metrics format.

We could expose metrics that are relevant and specific to Kip, for example data on what type of instances were scheduled and how long they ran (making it easier to expose cost information).

ldx commented 4 years ago

See https://github.com/virtual-kubelet/virtual-kubelet/issues/418 for a related discussion on prom metrics in VK.