Skip to main content

OpenCost Exporter is now in the Prometheus Community Helm Charts

· 2 min read
Matt Ray

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
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.

Prometheus Query

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!

Documentation Distributed under CC BY 4.0.  The Linux Foundation® (TLF) has registered trademarks and uses trademarks. For a list of TLF trademarks, see: Trademark Usage.