{"repo":"adinhodovic/opencost-mixin","free":true,"listed":false,"github":"https://github.com/adinhodovic/opencost-mixin","clone":"git clone https://github.com/adinhodovic/opencost-mixin.git","description":"Monitoring mixin for Kubernetes cost monitoring. A set of Grafana dashboards and Prometheus rules for OpenCost.","language":"Jsonnet","stars":28,"topics":["cost-optimization","grafana-dashboard","kubernetes","kubernetes-mixins","kubernetes-monitoring","mixins","opencost","prometheus"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"Prometheus Monitoring Mixin for OpenCost A set of Grafana dashboards and Prometheus alerts for OpenCost. How to use This mixin is designed to be vendored into the repo with your infrastructure config. To do this, use jsonnet-bundler: You then have three options for deploying your dashboards 1. Generate the config files and deploy them yourself 2. Use jsonnet to deploy this mixin along with Prometheus and Grafana 3. Use prometheus-operator to deploy this mixin Or import the dashboard using json in ./dashboards out , alternatively import them from the Grafana.com dashboard page. Generate config files You can manually generate the alerts, dashboards and rules files, but first you must install some tools: Then, grab the mixin and its dependencies: Finally, build the mixin: The prometheus alerts.yaml file then need to passed to your Prometheus server, and the files in dashboards out need to be imported into you Grafana server. The exact details will depending on how you deploy your monitoring stack. Configuration This mixin has its configuration in the config.libsonnet file. You can disable the alerts for cost alerts and anomalies by setting the enabled field to false . The mixin has all components enabled by default and all the dashboards are generated in the dashboards out directory. You can import them into Grafana. Alerts The mixin follows the monitoring-mixins guidelines for alerts.","default_branch":null,"files":null,"tree":[],"storefront":"/r/adinhodovic","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/adinhodovic/opencost-mixin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}