{"id":18800652,"url":"https://github.com/ceph/ceph-mixins","last_synced_at":"2026-01-03T22:30:13.340Z","repository":{"id":34387093,"uuid":"175224151","full_name":"ceph/ceph-mixins","owner":"ceph","description":"A set of Grafana dashboards and Prometheus alerts for Ceph.","archived":false,"fork":false,"pushed_at":"2023-03-29T19:30:29.000Z","size":169,"stargazers_count":20,"open_issues_count":10,"forks_count":15,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-12-29T19:06:17.200Z","etag":null,"topics":["ceph","ceph-grafana-dashboards","jsonnet","kubernetes-mix","prometheus-alerts","prometheus-mixins"],"latest_commit_sha":null,"homepage":"","language":"Jsonnet","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ceph.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-03-12T14:05:38.000Z","updated_at":"2024-09-27T02:45:57.000Z","dependencies_parsed_at":"2024-11-07T22:30:16.523Z","dependency_job_id":null,"html_url":"https://github.com/ceph/ceph-mixins","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceph%2Fceph-mixins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceph%2Fceph-mixins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceph%2Fceph-mixins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceph%2Fceph-mixins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ceph","download_url":"https://codeload.github.com/ceph/ceph-mixins/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239734448,"owners_count":19688255,"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","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":["ceph","ceph-grafana-dashboards","jsonnet","kubernetes-mix","prometheus-alerts","prometheus-mixins"],"created_at":"2024-11-07T22:19:32.501Z","updated_at":"2026-01-03T22:30:13.310Z","avatar_url":"https://github.com/ceph.png","language":"Jsonnet","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prometheus Monitoring Mixin for Ceph\n\nA set of Prometheus alerts for Ceph.\n\nThe scope of this project is to provide Ceph specific Prometheus rule files using Prometheus Mixins.\n\n## Prerequisites\n* Jsonnet [[Install Jsonnet]](https://github.com/google/jsonnet#building-jsonnet)\n\n   [Jsonnet](https://jsonnet.org/learning/getting_started.html) is a data templating language for app and tool developers.\n\n   The mixin project uses Jsonnet to provide reusable and configurable configs for Grafana Dashboards and Prometheus Alerts.\n* Jsonnet-bundler [[Install Jsonnet-bundler]](https://github.com/jsonnet-bundler/jsonnet-bundler#install)\n\n   [Jsonnet-bundler](https://github.com/jsonnet-bundler/jsonnet-bundler) is a package manager for jsonnet.\n* Promtool\n  1. [Download](https://golang.org/dl/) Go (\u003e=1.11) and [install](https://golang.org/doc/install) it on your system.\n  2. Setup the [GOPATH](http://www.g33knotes.org/2014/07/60-second-count-down-to-go.html) environment.\n  3. Run `$ go get -d github.com/prometheus/prometheus/cmd/promtool`  \n\n\n## How to use?\n### Manually generate configs and rules\nYou can clone this repository and manually generate Grafana Dashboard configs and Prometheus Rules files, and apply it according to your setup.\n\n```\n$ git clone https://github.com/ceph/ceph-mixins.git\n$ cd ceph-mixins\n```\n\n**To get dependencies**\n\n`$ jb install`\n\n\n**To generate Prometheus Alert file**\n\n`$ make prometheus_alert_rules.yaml`\n\n**To generate Prometheus Rule file**\n\n`$ make prometheus_rules.yaml`\n\nThe **prometheus_alert_rules.yaml** and **prometheus_rules.yaml** files then needs to be passed to your Prometheus Server.\n\n## Background\n* [Prometheus Monitoring Mixin design doc](https://docs.google.com/document/d/1A9xvzwqnFVSOZ5fD3blKODXfsat5fg6ZhnKu9LK3lB4/edit#)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fceph%2Fceph-mixins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fceph%2Fceph-mixins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fceph%2Fceph-mixins/lists"}