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

The detailed kubecost out-of-cluster API exporter.

Notifications You must be signed in to change notification settings

artemlive/kubecost_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 :)

About

The detailed kubecost out-of-cluster API exporter.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published