Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Latest commit

 

History

History
18 lines (13 loc) · 1.07 KB

README.md

File metadata and controls

18 lines (13 loc) · 1.07 KB

kubecost_exporter

This is the PoC version of kubecost-exporter. The kubecost is able to export out-of-cluster metrics to a prometheus, but there is no detailed information about labels and properties of exported objects. This exporter uses Asets API to export data from the cost-model to prometheus. Also I was told by the kubecost support team that they will deprecate the out-of-cluster costs export to a prometheus, so we decided to write our own exporter.

Screenshot 2021-12-06 at 17 10 40

As for now it doesn't support any filtering and can only export all assets data provided by the kubecost Assets API.


TODO list

  • Write tests!!
  • Context usage to cancel requests
  • Add the ability to handle user defined filters.
  • Add basic auth support for the KubeCost client api.
  • Refactor some parts of code marked with TODO labels. (and maybe something else)
  • Add something to this list :)