{"id":26059764,"url":"https://github.com/orange-cloudfoundry/prometheus-addons-boshrelease","last_synced_at":"2025-04-11T06:50:57.576Z","repository":{"id":55040549,"uuid":"148497643","full_name":"orange-cloudfoundry/prometheus-addons-boshrelease","owner":"orange-cloudfoundry","description":"percona mongodb exporter in a bosh release","archived":false,"fork":false,"pushed_at":"2021-01-13T16:02:55.000Z","size":292,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T04:41:34.023Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/orange-cloudfoundry.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}},"created_at":"2018-09-12T14:58:17.000Z","updated_at":"2020-12-17T08:44:18.000Z","dependencies_parsed_at":"2022-08-14T09:50:44.569Z","dependency_job_id":null,"html_url":"https://github.com/orange-cloudfoundry/prometheus-addons-boshrelease","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orange-cloudfoundry%2Fprometheus-addons-boshrelease","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orange-cloudfoundry%2Fprometheus-addons-boshrelease/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orange-cloudfoundry%2Fprometheus-addons-boshrelease/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orange-cloudfoundry%2Fprometheus-addons-boshrelease/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orange-cloudfoundry","download_url":"https://codeload.github.com/orange-cloudfoundry/prometheus-addons-boshrelease/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248358548,"owners_count":21090401,"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":[],"created_at":"2025-03-08T13:28:21.551Z","updated_at":"2025-04-11T06:50:57.541Z","avatar_url":"https://github.com/orange-cloudfoundry.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prometheus-addons-boshrelease\n\n\n\n## Features\n\nThis is a bosh release providing the following tools from \n\n* grafana's dashboards\n\n  a set of [Grafana](https://grafana.com/) dashboards for database and system monitoring using Prometheus datasource based on [percona](https://www.percona.com/) dashboard and updated to fit bosh deployment and work without PMM need\n\n  *source: https://github.com/percona/grafana-dashboards*\n\n* mongodb_exporter (**v0.7.0**) :\n\n  A MongoDB exporter for [prometheus](https://prometheus.io/)\n\n  *source: https://github.com/percona/mongodb_exporter.git*\n\n* Alertmanager alerts files \n\n  *source: https://github.com/orange-cloudfoundry/mongodb_prometheus-dashboards_alerts-boshrelease*\n\n  * **Note that alerting is actually only related to replicaset deployment and does not warn on any sharding specific metric**\n\nThe release is actually focused on [mongodb](https://www.mongodb.com), but is still subject to evolve if there is any need. \n\n\n\n## Upload the last release\n\n* get and upload the last release from github\n\n  ```shell\n  wget https://github.com/jraverdy-orange/prometheus-addons-boshrelease/releases/download/v2.1.1/prometheus-addons-v2.1.1.tgz\n  \n  bosh upload-release prometheus-addons-v2.1.1.tgz\n  ```\n\n  \n\n* get the sources from github to recover needed opsfiles, which are necessary on both prometheus and mongodb deployments\n\n  ```shell\n  git clone https://github.com/jraverdy-orange/prometheus-addons-boshrelease.git\n  ```\n\n  \n\n## Adding the dashboards and alerts to grafana and alertmanager\n\nThe release provides the needed opsfile to include the attached dashboards\n\njust add the following to the prometheus-boshrelease deployment command:\n\n```shell\nbosh deploy ... \n...\n-o prometheus-addons-boshrelease/opsfiles/use-mongodb-dashboards-alerts.yml \n```\n\n\n\n## Including the exporter to the mongodb deployment\n\nThe release provide to opsfiles considering if we use TLS or not for mongodb connection\n\n**You should have to modify provided opsfiles to fit your instances group name**\n\n```\npath: /instance_groups/name=mongo/jobs/name=mongodb_exporter?\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forange-cloudfoundry%2Fprometheus-addons-boshrelease","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forange-cloudfoundry%2Fprometheus-addons-boshrelease","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forange-cloudfoundry%2Fprometheus-addons-boshrelease/lists"}