{"id":22845562,"url":"https://github.com/idealista/prometheus_solr_exporter_role","last_synced_at":"2026-02-26T10:35:44.087Z","repository":{"id":37959112,"uuid":"192373055","full_name":"idealista/prometheus_solr_exporter_role","owner":"idealista","description":"Ansible role to install Prometheus metrics exporter for Apache Solr","archived":false,"fork":false,"pushed_at":"2025-01-15T13:00:01.000Z","size":145,"stargazers_count":0,"open_issues_count":1,"forks_count":2,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-10-31T10:39:22.652Z","etag":null,"topics":["apache-solr","prometheus-exporter","prometheus-metrics","solrcloud"],"latest_commit_sha":null,"homepage":null,"language":"YAML","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/idealista.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2019-06-17T15:30:26.000Z","updated_at":"2025-01-15T12:55:14.000Z","dependencies_parsed_at":"2025-04-14T07:12:51.613Z","dependency_job_id":"a3d998b1-7dd9-4d96-84c0-604c1566b839","html_url":"https://github.com/idealista/prometheus_solr_exporter_role","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/idealista/prometheus_solr_exporter_role","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fprometheus_solr_exporter_role","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fprometheus_solr_exporter_role/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fprometheus_solr_exporter_role/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fprometheus_solr_exporter_role/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/idealista","download_url":"https://codeload.github.com/idealista/prometheus_solr_exporter_role/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fprometheus_solr_exporter_role/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29856737,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T08:51:08.701Z","status":"ssl_error","status_checked_at":"2026-02-26T08:50:19.607Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["apache-solr","prometheus-exporter","prometheus-metrics","solrcloud"],"created_at":"2024-12-13T03:17:38.715Z","updated_at":"2026-02-26T10:35:44.059Z","avatar_url":"https://github.com/idealista.png","language":"YAML","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Logo](https://github.com/idealista/prometheus_solr_exporter_role/blob/master/logo.gif)\n\n[![Build Status](https://travis-ci.com/idealista/prometheus_solr_exporter_role.png)](https://travis-ci.com/idealista/prometheus_solr_exporter_role)\n[![Ansible Galaxy](https://img.shields.io/badge/galaxy-idealista.prometheus_solr_exporter__role-B62682.svg)](https://galaxy.ansible.com/idealista/prometheus_solr_exporter_role)\n\nSolr Prometheus exporter Ansible role\n=========\n\nThis role installs a Prometheus exporter for Solr\n\n- [Getting Started](#getting-started)\n\t- [Prerequisites](#prerequisites)\n\t- [Installing](#installing)\n- [Usage](#usage)\n- [Testing](#testing)\n- [Built With](#built-with)\n- [Versioning](#versioning)\n- [Authors](#authors)\n- [License](#license)\n- [Contributing](#contributing)\n\n## Getting started\n\nThis role installs a Prometheus exporter for Solr Standalone or Solr Cloud. \nIf you need to install Apache Solr use this other role [idealista/solrcloud-role](https://github.com/idealista/solrcloud-role)  \n\n### Prerequesites\n\nPython, Ansible, Molecule and Docker\n\n### Installing\n\nCreate or add to your roles dependency file (e.g requirements.yml):\n\n``` yml\n- src: idealista.prometheus_solr_exporter_role\n  version: 2.0.0\n  name: prometheus_solr_exporter\n```\n\nInstall the role with ansible-galaxy command:\n\n```\nansible-galaxy install -p roles -r requirements.yml -f\n```\n\nUse in a playbook:\n\n```\n- hosts: someserver\n  roles:\n    - role: prometheus_solr_exporter\n```\n\n## Usage\n\nVariables explanation:\n\n- `prometheus_solr_exporter_version` this is the solr prometheus exporter version to install\n- `prometheus_solr_exporter_installation_dir` this is a path location to install the exporter\n- `prometheus_solr_exporter_user` user owner of all files\n- `prometheus_solr_exporter_group` group owner of all files\n- `prometheus_solr_exporter_temp_dir` the path for a temporary directory\n- `prometheus_solr_exporter_port` listening port\n- `prometheus_solr_exporter_solr_mode` 'standalone' or 'cluster'\n- `prometheus_solr_exporter_threads` number of threads\n- `prometheus_solr_exporter_config_file` this is the config file path. Use it to override default config file\n- `prometheus_solr_exporter_service_location` this is a path location to move the service file\n- `prometheus_solr_exporter_service_name` service name\n- `prometheus_solr_exporter_service_file` the service template file.\n- `prometheus_solr_exporter_env_file` java environment template file\n- `prometheus_solr_exporter_env_location` this is a path location to move the java environment file\n- `prometheus_solr_exporter_xmx` java heap max size\n- `prometheus_solr_exporter_xms` java heap initial size\n- `prometheus_solr_exporter_java_opts` jvm extra options\n- `prometheus_solr_exporter_jmx_enabled` jmx enabled or disabled variable\n- `prometheus_solr_exporter_jmx_port` jmx remote port\n\nExcluding variables:\n\n- `prometheus_solr_exporter_zookeeper_host` if cluster mode, the zookeeper host. For ex, http://localhost:8983/solr\n- `prometheus_solr_exporter_solr_baseurl` if standalone mode, the solr url. For ex, localhost:2181/solr\n\n\n## Testing\n\nRun `pip install requirements-test.yml` before running tests\n\nLaunch tests:\n\n`molecule test`\n\n## Built With\n\n![Ansible](https://img.shields.io/badge/ansible-5.2.0-green.svg)\n\n## Versioning\n\nFor the versions available, see the [tags on this repository](https://github.com/idealista/prometheus_solr_exporter_role/tags).\n\nAdditionaly you can see what change in each version in the [CHANGELOG.md](CHANGELOG.md) file.\n\n## Authors\n\n* **Idealista** - *Work with* - [idealista](https://github.com/idealista)\n\nSee also the list of [contributors](https://github.com/idealista/prometheus_solr_exporter_role/contributors) who participated in this project.\n\n## License\n\n![Apache 2.0 License](https://img.shields.io/hexpm/l/plug.svg)\n\nThis project is licensed under the [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0) license - see the [LICENSE](LICENSE) file for details.\n\n## Contributing\n\nPlease read [CONTRIBUTING.md](.github/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidealista%2Fprometheus_solr_exporter_role","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fidealista%2Fprometheus_solr_exporter_role","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidealista%2Fprometheus_solr_exporter_role/lists"}