{"id":13563680,"url":"https://github.com/rchakode/kube-opex-analytics","last_synced_at":"2025-07-21T21:05:10.717Z","repository":{"id":39544707,"uuid":"165441156","full_name":"rchakode/kube-opex-analytics","owner":"rchakode","description":"🎨 Kubernetes Usage Analytics and Accounting for Cost Allocation and Capacity Planning - Hourly Trends, Daily and Monthly Accounting - Prometheus Exporter - Built-in \u0026 Grafana Dashboards.","archived":false,"fork":false,"pushed_at":"2024-03-31T12:54:04.000Z","size":15030,"stargazers_count":444,"open_issues_count":4,"forks_count":54,"subscribers_count":14,"default_branch":"main","last_synced_at":"2024-05-10T10:32:33.584Z","etag":null,"topics":["analytics","capacity-planning","cost-allocation","dashboard","grafana-dashboard","kubernetes","monitoring","prometheus-exporter"],"latest_commit_sha":null,"homepage":"https://krossboard.app/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rchakode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-12T22:14:46.000Z","updated_at":"2024-08-01T13:19:41.859Z","dependencies_parsed_at":"2024-01-10T08:04:06.478Z","dependency_job_id":"d8c5988a-5f10-41e5-8a94-d2483e6e49f1","html_url":"https://github.com/rchakode/kube-opex-analytics","commit_stats":null,"previous_names":[],"tags_count":52,"template":false,"template_full_name":null,"purl":"pkg:github/rchakode/kube-opex-analytics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rchakode%2Fkube-opex-analytics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rchakode%2Fkube-opex-analytics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rchakode%2Fkube-opex-analytics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rchakode%2Fkube-opex-analytics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rchakode","download_url":"https://codeload.github.com/rchakode/kube-opex-analytics/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rchakode%2Fkube-opex-analytics/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266379282,"owners_count":23920157,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["analytics","capacity-planning","cost-allocation","dashboard","grafana-dashboard","kubernetes","monitoring","prometheus-exporter"],"created_at":"2024-08-01T13:01:22.187Z","updated_at":"2025-07-21T21:05:10.676Z","avatar_url":"https://github.com/rchakode.png","language":"Python","funding_links":[],"categories":["JavaScript","Cost allocation","Tools"],"sub_categories":["Open Source Tools"],"readme":"![logo-thumbnail](screenshots/thumbnail-header.png)\n\n![Apache License](https://img.shields.io/github/license/rchakode/kube-opex-analytics.svg?label=License\u0026style=for-the-badge)\n[![Calendar Versioning](https://img.shields.io/badge/calver-YY.MM.MICRO-bb8fce.svg?style=for-the-badge)](http://calver.org)\n![Docker pulls](https://img.shields.io/docker/pulls/rchakode/kube-opex-analytics.svg?label=Docker%20Pulls\u0026style=for-the-badge)\n\n---\n\n- [Overview](#overview)\n- [Getting Started](#getting-started)\n- [Design Fundamentals](#design-fundamentals)\n- [License](#license)\n- [Support \u0026 Contributions](#support--contributions)\n\n# Overview\n`kube-opex-analytics` (literally *Kubernetes Opex Analytics*) is a Kubernetes usage accounting and analytics tool to help organizations track the resources being consumed by their Kubernetes clusters over time (hourly, daily, monthly). The purpose of `kube-opex-analytics` is to help prevent overpaying. Indeed, it provides insightful usage analytics metrics and charts, that engineering and financial teams can use as key indicators to take appropriate cost optimization decisions.\n\nKey features:\n\n* **Hourly consumption trends, daily and monthly accounting per namespace.** This feature provides analytics metrics _tracking both actual usage and requested capacities_ over time. Metrics are namespaced-based, collected every 5 minutes, consolidated on a hourly basis for trends, from which daily and monthly accounting is processed.\n* **Accounting of non-allocatable capacities.** At node and cluster levels, `kube-opex-analytics` tracks and consolidates the share of non-allocatable capacities and highlights them against usable capacities (i.e. capacities used by actual application workloads). In contrary to usable capacities, non-allocatable capacities are dedicated to Kubernetes operations (OS, kubelets, etc).\n* **Cluster usage accounting and capacity planning.** This feature makes it easy to account and visualize capacities consumed on a cluster, globally, instantly and over time.\n* **Usage/requests efficiency.** Based on hourly-consolidated trends, this functionality helps know how efficient resource requests set on Kubernetes workloads are, compared against the actual resource usage over time.\n* **Cost allocation and charge back analytics:** automatic processing and visualization of resource usage accounting per namespace on daily and monthly periods.\n* **Insightful and extensible visualization.** `kube-opex-analytics` enables built-in analytics dashboards, as well as a native Prometheus exporter that exposes its analytics metrics for third-party visualization tools like Grafana.\n\n\n![kube-opex-analytics-overview](screenshots/kube-opex-analytics-demo.gif)\n\nRead the [design fundamentals](./docs/design-fundamentals.md) documentation to learn more concepts and implementation decisions.\n\n\u003e **Multi-cluster Integration:** `kube-opex-analytics` tracks the usage for a single Kubernetes cluster. For a centralized multi-Kubernetes usage analytics, use our [Krossboard Kubernetes Operator](https://github.com/2-alchemists/krossboard-kubernetes-operator) product. Watch a [demo video](https://youtu.be/lfkUIREDYDY).\n\n# Getting Started\n* [Installation on Kubernetes and OpenShift](./docs/installation-on-kubernetes-and-openshift.md)\n* [Installation on Docker](./docs/installation-on-docker.md)\n* [Built-in dashboards and charts](./docs/built-in-dashboards-and-charts.md)\n* [Prometheus Exporter and Grafana Dashboards](./docs/prometheus-exporter-grafana-dashboard.md)\n* [Configuration Settings](./docs/configuration-settings.md)\n\n# Design Fundamentals\nCheckout the [Design Fundamentals](./docs/design-fundamentals.md) documentation to learn more about `kube-opex-analytics`, it introduces concepts and implementation decisions.\n\n# License\n`kube-opex-analytics` (code and documentation) is licensed under the terms of Apache License 2.0; read the [LICENSE](./LICENSE). Besides, it's bound to third-party libraries each with its specific license terms; read the [NOTICE](./NOTICE) for additional information.\n\n# Support \u0026 Contributions\nWe encourage feedback and always make our best to handle any troubles you may encounter when using `kube-opex-analytics`.\n\nUse this [link to submit issues or improvement ideas](https://github.com/rchakode/kube-opex-analytics/issues).\n\nTo contribute bug patches or new features, please submit a [Pull Request](https://github.com/rchakode/kube-opex-analytics/pulls).\n\nContributions are accepted subject that the code and documentation be released under the terms of Apache 2.0 License.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frchakode%2Fkube-opex-analytics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frchakode%2Fkube-opex-analytics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frchakode%2Fkube-opex-analytics/lists"}