{"id":14965345,"url":"https://github.com/saltstack-formulas/prometheus-formula","last_synced_at":"2025-04-07T10:25:51.249Z","repository":{"id":36326304,"uuid":"183253118","full_name":"saltstack-formulas/prometheus-formula","owner":"saltstack-formulas","description":"Manage a Prometheus installation","archived":false,"fork":false,"pushed_at":"2025-01-06T23:10:19.000Z","size":549,"stargazers_count":29,"open_issues_count":13,"forks_count":50,"subscribers_count":35,"default_branch":"master","last_synced_at":"2025-03-31T08:12:10.068Z","etag":null,"topics":["prometheus","saltstack"],"latest_commit_sha":null,"homepage":"","language":"SaltStack","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/saltstack-formulas.png","metadata":{"files":{"readme":"docs/README.rst","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-24T15:07:46.000Z","updated_at":"2025-02-22T07:45:07.000Z","dependencies_parsed_at":"2024-12-24T10:20:05.552Z","dependency_job_id":"7ddb5ed1-6a11-41c5-a41b-83e4503025c7","html_url":"https://github.com/saltstack-formulas/prometheus-formula","commit_stats":{"total_commits":281,"total_committers":15,"mean_commits":"18.733333333333334","dds":"0.48398576512455516","last_synced_commit":"d5cfeb0d804460dc20a6f72407f2de43add10d13"},"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saltstack-formulas%2Fprometheus-formula","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saltstack-formulas%2Fprometheus-formula/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saltstack-formulas%2Fprometheus-formula/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saltstack-formulas%2Fprometheus-formula/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saltstack-formulas","download_url":"https://codeload.github.com/saltstack-formulas/prometheus-formula/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247633914,"owners_count":20970415,"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":["prometheus","saltstack"],"created_at":"2024-09-24T13:34:37.186Z","updated_at":"2025-04-07T10:25:51.206Z","avatar_url":"https://github.com/saltstack-formulas.png","language":"SaltStack","funding_links":[],"categories":[],"sub_categories":[],"readme":"prometheus-formula\n==================\n\nFormula to manage Prometheus on GNU/Linux and MacOS.\n\n|img_travis| |img_sr|\n\n.. |img_travis| image:: https://travis-ci.com/saltstack-formulas/prometheus-formula.svg?branch=master\n   :alt: Travis CI Build Status\n   :scale: 100%\n   :target: https://travis-ci.com/saltstack-formulas/prometheus-formula\n.. |img_sr| image:: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg\n   :alt: Semantic Release\n   :scale: 100%\n   :target: https://github.com/semantic-release/semantic-release\n\n\n.. contents:: **Table of Contents**\n   :depth: 1\n\nGeneral notes\n-------------\n\nSee the full `SaltStack Formulas installation and usage instructions\n\u003chttps://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html\u003e`_.  If you are interested in writing or contributing to formulas, please pay attention to the `Writing Formula Section\n\u003chttps://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html#writing-formulas\u003e`_. If you want to use this formula, please pay attention to the ``FORMULA`` file and/or ``git tag``, which contains the currently released version. This formula is versioned according to `Semantic Versioning \u003chttp://semver.org/\u003e`_.  See `Formula Versioning Section \u003chttps://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html#versioning\u003e`_ for more details.\n\nSpecial notes\n-------------\n\nNone.\n\nContributing to this repo\n-------------------------\n\n**Commit message formatting is significant!!**\n\nPlease see `How to contribute \u003chttps://github.com/saltstack-formulas/.github/blob/master/CONTRIBUTING.rst\u003e`_ for more details.\n\nAvailable metastates\n--------------------\n\n.. contents::\n   :local:\n\n``prometheus``\n^^^^^^^^^^^^^^\n\n*Meta-state (This is a state that includes other states)*.\n\nThis installs from prometheus solution.\n\n\n``prometheus.archive``\n^^^^^^^^^^^^^^^^^^^^^^\n\nThis state will install prometheus components on MacOS and GNU/Linux from archive.\n\n``prometheus.clientlibs``\n^^^^^^^^^^^^^^^^^^^^^^^^^\n\nThis state will install prometheus client libraries on MacOS and GNU/Linux from archive.\n\n``prometheus.package``\n^^^^^^^^^^^^^^^^^^^^^^\n\nThis state will install prometheus component packages from GNU/Linux.\n\n``prometheus.config``\n^^^^^^^^^^^^^^^^^^^^^\n\nThis state will apply prometheus service configuration (files).\n\n``prometheus.service``\n^^^^^^^^^^^^^^^^^^^^^^\n\nThis state will start prometheus component services.\n\n``prometheus.exporters``\n^^^^^^^^^^^^^^^^^^^^^^^^\n\nThis state will apply prometheus exporters configuration.\n\n``prometheus.exporters.clean``\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nThis state will remove prometheus exporters configuration.\n\n``prometheus.service.clean``\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nThis state will stop prometheus component services.\n\n``prometheus.config.clean``\n^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nThis state will remove prometheus service configuration (files).\n\n``prometheus.package.clean``\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nThis state will uninstall prometheus component packages from GNU/Linux.\n\n``prometheus.clientlibs.clean``\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nThis state will uninstall prometheus client libraries.\n\n``prometheus.archive.clean``\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nThis state will remove prometheus component archive (directories).\n\n\nTesting\n-------\n\nLinux testing is done with ``kitchen-salt``.\n\nRequirements\n^^^^^^^^^^^^\n\n* Ruby\n* Docker\n\n.. code-block:: bash\n\n   $ gem install bundler\n   $ bundle install\n   $ bin/kitchen test [platform]\n\nWhere ``[platform]`` is the platform name defined in ``kitchen.yml``,\ne.g. ``debian-9-2019-2-py3``.\n\n``bin/kitchen converge``\n^^^^^^^^^^^^^^^^^^^^^^^^\n\nCreates the docker instance and runs the ``prometheus`` main state, ready for testing.\n\n``bin/kitchen verify``\n^^^^^^^^^^^^^^^^^^^^^^\n\nRuns the ``inspec`` tests on the actual instance.\n\n``bin/kitchen destroy``\n^^^^^^^^^^^^^^^^^^^^^^^\n\nRemoves the docker instance.\n\n``bin/kitchen test``\n^^^^^^^^^^^^^^^^^^^^\n\nRuns all of the stages above in one go: i.e. ``destroy`` + ``converge`` + ``verify`` + ``destroy``.\n\n``bin/kitchen login``\n^^^^^^^^^^^^^^^^^^^^^\n\nGives you SSH access to the instance for manual testing.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaltstack-formulas%2Fprometheus-formula","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaltstack-formulas%2Fprometheus-formula","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaltstack-formulas%2Fprometheus-formula/lists"}