OpenCost Exporter is now in the Prometheus Community Helm Charts
Using OpenCost as a Prometheus metric exporter has long been a supported use case, but now you can get this from the standard Prometheus Community Helm Charts repository. OpenCost is the open source CNCF project for monitoring cloud and Kubernetes infrastructure costs. For users who want to export various cost metrics from OpenCost without setting up any other OpenCost dependencies, the Prometheus OpenCost Exporter makes it easy to get up and running with minimal steps. If you’re using Helm already, it’s as simple as
Add the Helm Chart Repository
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update
Install the Chart
helm install [RELEASE_NAME] prometheus-community/prometheus-opencost-exporter
And this will install the latest version of the Prometheus OpenCost Exporter (currently 1.107.1). The Prometheus OpenCost Exporter will be kept in sync with future releases of OpenCost going forward. If you want to change any of the default settings, you can provide your own values.yaml as necessary.
For detailed information on leveraging the OpenCost Exporter within Prometheus, check out the OpenCost Prometheus Exporter documentation and the list of available metrics. It’s easier than ever to get OpenCost deployed for your specific environment requirements, we look forward to solving even more use cases in the future! Join us in the OpenCost community and help build our open source community!