{"id":22845464,"url":"https://github.com/idealista/prometheus_server_role","last_synced_at":"2025-04-28T16:44:08.977Z","repository":{"id":47704630,"uuid":"84816082","full_name":"idealista/prometheus_server_role","owner":"idealista","description":"Ansible role to install a Prometheus server","archived":false,"fork":false,"pushed_at":"2023-05-04T15:11:56.000Z","size":192,"stargazers_count":5,"open_issues_count":6,"forks_count":4,"subscribers_count":25,"default_branch":"master","last_synced_at":"2025-03-30T11:24:35.656Z","etag":null,"topics":["ansible","debian","prometheus"],"latest_commit_sha":null,"homepage":"","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}},"created_at":"2017-03-13T10:55:47.000Z","updated_at":"2023-05-04T15:08:41.000Z","dependencies_parsed_at":"2022-08-23T01:31:23.238Z","dependency_job_id":null,"html_url":"https://github.com/idealista/prometheus_server_role","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fprometheus_server_role","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fprometheus_server_role/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fprometheus_server_role/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fprometheus_server_role/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/idealista","download_url":"https://codeload.github.com/idealista/prometheus_server_role/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251347868,"owners_count":21575171,"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":["ansible","debian","prometheus"],"created_at":"2024-12-13T03:17:20.370Z","updated_at":"2025-04-28T16:44:08.961Z","avatar_url":"https://github.com/idealista.png","language":"YAML","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Logo](https://raw.githubusercontent.com/idealista/prometheus_server_role/master/logo.gif)\n\n[![Build Status](https://travis-ci.com/idealista/prometheus_server_role.png)](https://travis-ci.com/idealista/prometheus_server_role)\n\n# Prometheus Server Ansible role\n\nThis ansible role installs a Prometheus server in a debian environment. The server is installed using the sources.\n\n- [Getting Started](#getting-started)\n\t- [Prerequisities](#prerequisities)\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\nThese instructions will get you a copy of the role for your ansible playbook. Once launched, it will install an [Prometheus](https://prometheus.io/) server in a Debian system.\n\n### Prerequisities\n\nAnsible 2.9.x.x version installed.\nInventory destination should be a Debian environment.\n\nFor testing purposes, [Molecule](https://molecule.readthedocs.io/) with [Docker](https://www.docker.com/) as driver.\nTake a look at the [Pipfile](Pipfile) file to check the dependencies that need to be installed to successfully run this component.\n\n### Installing\n\nCreate or add to your roles dependency file (e.g requirements.yml):\n\n```\n- src: idealista.prometheus_server_role\n  version: 1.10.2\n  name: prometheus\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---\n- hosts: someserver\n  roles:\n    - role: prometheus\n```\n\n## Usage\n\nLook to the [defaults](defaults/main.yml) properties file to see the possible configuration properties.\n\n:warning: The Prometheus rules support templating but custom jinja delimiters are used to avoid conflicts with the Go templates used by Prometheus. Those custom delimiters are defined in the following variables and can be overrided: \n```\nprometheus_rule_templates_variable_start: \"\u003c\u003c\"\nprometheus_rule_templates_variable_end: \"\u003e\u003e\"\nprometheus_rule_templates_block_start: \"\u003c%\"\nprometheus_rule_templates_block_end: \"%\u003e\"\n```\n\n## Testing\n\n```\npipenv shell\npipenv sync\nmolecule test\n```\n\nSee [molecule.yml](https://github.com/idealista/prometheus_server_role/blob/master/molecule.yml) to check possible testing platforms\n\n## Built With\n\n![Ansible](https://img.shields.io/badge/ansible-2.9.21-green.svg)\n![Molecule](https://img.shields.io/badge/molecule-3.0.8-green.svg)\n\n## Versioning\n\nFor the versions available, see the [tags on this repository](https://github.com/idealista/prometheus_server_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_server_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_server_role","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fidealista%2Fprometheus_server_role","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidealista%2Fprometheus_server_role/lists"}